Seems my (Ubuntu 16.04) running on (Ubuntu 16.04) Linux host as a virtual maschine with dynamic file size for vdi runs out of space, maybe see:

root@ubuntu:/home/dirk# df -h
Dateisystem                 Größe Benutzt Verf. Verw% Eingehängt auf
udev                         2,9G       0  2,9G    0% /dev
tmpfs                        597M     31M  567M    6% /run
/dev/mapper/ubuntu--vg-root  5,4G    5,1G     0  100% /
tmpfs                        3,0G    4,0K  3,0G    1% /dev/shm
tmpfs                        5,0M       0  5,0M    0% /run/lock
tmpfs                        3,0G       0  3,0G    0% /sys/fs/cgroup
/dev/sda1                    472M     58M  390M   13% /boot
tmpfs                        597M       0  597M    0% /run/user/1004
tmpfs                        597M       0  597M    0% /run/user/1000
/home/dirk/.Private          5,4G    5,1G     0  100% /home/dirk

On the host is enough free space that vdi can expand, maybe see:

dirk@ubuntu:/media/dirk/59b80d1c-3259-4cf7-b56e-0b24d55f1111$ df -h
Dateisystem                 Größe Benutzt Verf. Verw% Eingehängt auf
udev                          16G       0   16G    0% /dev
tmpfs                        3,2G    218M  3,0G    7% /run
/dev/mapper/ubuntu--vg-root   85G     16G   66G   20% /
tmpfs                         16G    268K   16G    1% /dev/shm
tmpfs                        5,0M    4,0K  5,0M    1% /run/lock
tmpfs                         16G       0   16G    0% /sys/fs/cgroup
/dev/sda2                    473M    219M  231M   49% /boot
/dev/sda1                    511M    3,4M  508M    1% /boot/efi
tmpfs                        4,8G       0  4,8G    0% /var/cache/unifi-video
tmpfs                        3,2G     60K  3,2G    1% /run/user/1000
/home/dirk/.Private           85G     16G   66G   20% /home/dirk
/dev/md0                     917G    359G  512G   42% /media/dirk/59b80d1c-3259-4cf7-b56e-0b24d55f1111
/dev/sdd1                     55G    2,0G   51G    4% /media/dirk/aa14e361-6aff-4d42-8a7b-78c8fba2c759

I am wondering if LVM has quit his service to fit the vm dynamic to the physical drive? How further to investigate this isse I (my server) ran in?

  • maybe askubuntu.com/questions/32499/… will help you – Yoran Jansen May 13 '18 at 9:53
  • I like to understand it. The link seems to show how to convert a physical into virtual. – Dirk Lehmann May 13 '18 at 9:56
  • Or other way around the link shows how to convert virtual to physical. I prefere to use my virtual further and to fix the guest or host that the pysical free disk space is used by the vm. – Dirk Lehmann May 13 '18 at 9:59
  • So you want to grow your vm? I am not sure what you mean, sorry. – Yoran Jansen May 13 '18 at 15:54
  • Maybe try this, askubuntu.com/questions/32499/… , and go to the first answer. That one is confirmed by the asker – Yoran Jansen May 13 '18 at 15:55
  1. Delete all snapshots of the vm running out of diskspace that you just have on current state and one vdi file

  2. Resize the vdi from initial size to a size you like and can with

VBoxManage modifymedium /home/user/vm/server.vdi --resize x (where x is the desired new total space in megabytes)

  1. Boot VM with GParted ISO-Image and fit logical volumen of the vm to the new size.

  2. Boot VM Ubuntu OS and do

sudo lvresize -L xx.xxG /dev/ubuntu-tt-vg/root


sudo resize2fs /dev/ubuntu-tt-vg/root xxxxxxx (where x are the number of blocks)

(might be that the path looks other than /dev/ubuntu-tt-vg/root for example /dev/mapper/ubuntu--vg-root, figure that therefor out with fdisk -l)

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.