Hello, I downloaded VM image from this tutorial https://www.howtoforge.com/tutorial...-9-stretch-apache-bind-dovecot-ispconfig-3-1/ and updated everything to the latest version. I realized again that VM image was created on 30GB virtual disk and I thought that I had well documented how-to process from my same issue but on Ubuntu https://www.howtoforge.com/communit...ase-vm-storage-on-esxi-6-5.78214/#post-370182 It turns out there are some changes and it does not work on Debian 9. Once booted in Gparted live http://prntscr.com/kd7vx8 it did not show lvm partition like it did in Ubuntu https://prnt.sc/i3sahz and df -h was showing /dev/sda1 as / Code: root@debian9:~# df -h Filesystem Size Used Avail Use% Mounted on udev 990M 0 990M 0% /dev tmpfs 200M 5.8M 195M 3% /run /dev/sda1 28G 3.3G 23G 13% / tmpfs 1000M 0 1000M 0% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 1000M 0 1000M 0% /sys/fs/cgroup tmpfs 200M 0 200M 0% /run/user/0 root@debian9:~# I had to install lvm2 Code: root@debian9:~# lvextend -l +100%FREE /dev/sda1 -bash: lvextend: command not found root@debian9:~# apt-get install lvm2 Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: libarchive13 Use 'apt autoremove' to remove it. The following additional packages will be installed: dmeventd libdevmapper-event1.02.1 liblvm2app2.2 liblvm2cmd2.02 Suggested packages: thin-provisioning-tools The following NEW packages will be installed: dmeventd libdevmapper-event1.02.1 liblvm2app2.2 liblvm2cmd2.02 lvm2 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 2,271 kB of archives. After this operation, 5,900 kB of additional disk space will be used. Do you want to continue? [Y/n] After installing it I was getting this error: Code: root@debian9:~# lvextend -l +100%FREE /dev/sda1 "/dev/sda1": Invalid path for Logical Volume. Run `lvextend --help' for more information. root@debian9:~# What am I doing wrong? TIA
Ok, so I was able to expend boot portion using only Gparted. Did I miss anything? Below are screenshots outlining steps I've taken in case someone runs into same issue. http://prntscr.com/kdndvp http://prntscr.com/kdne2e http://prntscr.com/kdnfnq http://prntscr.com/kdnfts http://prntscr.com/kdn31g http://prntscr.com/kdn38l http://prntscr.com/kdn42q http://prntscr.com/kdn4e9 http://prntscr.com/kdn4th http://prntscr.com/kdn638 http://prntscr.com/kdn6ao http://prntscr.com/kdn6gy http://prntscr.com/kdn6o3 http://prntscr.com/kdn6vm
I haven't done that resizing for quite some time, so I can't tell you the exact steps in detail. If it shows the right size now, then it should be ok.
Thanks for the reply! Yes, it does show correct size and that is good enough enough for me. Maybe sometime down the road it would be benefit to have tutorial on how to resize it because all VM images here have the same size and I cannot imagine 30GB on a server is enough. Just an idea!