# No Space in Device for server in a VM using Hyper-V in windows

**URL:** <https://forum.aotu.ai/t/no-space-in-device-for-server-in-a-vm-using-hyper-v-in-windows/198>\
**Category:** Questions\
**Created:** [July 9, 2021, 5:17pm UTC](https://forum.aotu.ai/t/no-space-in-device-for-server-in-a-vm-using-hyper-v-in-windows/198 "2021-07-09T17:17:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex.thiel](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.aotu.ai/alex.thiel/32/48_2.png) [@alex.thiel](https://forum.aotu.ai/u/alex.thiel)\
**Post date:** [July 9, 2021, 5:17pm UTC](https://forum.aotu.ai/t/no-space-in-device-for-server-in-a-vm-using-hyper-v-in-windows/198/1 "2021-07-09T17:17:17Z")

</div>

This message was copied from this [github issue](https://github.com/aotuai/brainframe-qt/issues/172).

* * *

**@AbdelsalamHaa on Github:**

I faced this issue when I’m trying to install the server side into VM created by Hyper-V  
The error message is attached below

`failed to register layer: Error processing tar file(exit status 1): write /usr/local/lib/python3.6/dist-packages/tensorflow_core/include/google/protobuf/util/internal/expecting_objectwriter.h: no space left on device`

I adjust the hard disk maximum size to be 50 Gb , but it seems like it has to do something with a volume is full. It is a new created VM so nothing is added besides the requirement for the server side.

Any idea or suggestion how to solve that, thank you

---

<div class="post-metadata">

**Author:** ![alex.thiel](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.aotu.ai/alex.thiel/32/48_2.png) [@alex.thiel](https://forum.aotu.ai/u/alex.thiel)\
**Post date:** [July 9, 2021, 5:29pm UTC](https://forum.aotu.ai/t/no-space-in-device-for-server-in-a-vm-using-hyper-v-in-windows/198/2 "2021-07-09T17:29:22Z")

</div>

Hi @AbdelsalamHaa,

It sounds to me like you resized the VM _after_ creating the system. That means that hile the virtual disk has space, the partition stil needs to be resized to fill the new space.

I recommend looking at [this post](http://linguist.is/2020/08/12/expand-ubuntu-disk-after-hyper-v-quick-create/) which shows some of the necesary commands to get Linux to expand it’s partition to fill the new space.

An alternative option is to re-create the VM, but with a larger volume from the very beginning.
