The virtaualmin server is install on esxi ( virtual ) and i extend the storage from 250GB to 400Gb but on virtualmin still 250GB how can i change it? anyone can help me?



Howdy -- how did you extend the storage, is that something you did from within VMware?

If you log into your server over SSH, what does this command show:

df -h

If you only extended the size of the virtual HDD in ESXi, the installed operating system will not be aware of that, as in the filesystems will still have their original size, even though they see a "suddenly" larger HDD now.

You need to change the sizes of the partitions and filesystems of your installation as well, which is not a trivial process and needs some expertise and careful planning.


Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 237G 131G 95G 58% / /dev/sda1 99M 42M 52M 45% /boot tmpfs 3.9G 0 3.9G 0% /dev/shm

Any easy way to migration with the new installation of virtualmin and move all the data to the new server? i try to restore from backup and i get some error. any other way?

Thanks in advance

If you are using LVM there (as the df command suggests), you could grow your root file system as follows :

  1. Login to Virtualmin on the VM, and go to Webmin -> Hardware -> Partitions on Local Disks
  2. Add a new partition to SCSI disk A that uses up all the new empty space that was created by enlarging the disk.
  3. Then go to Hardware -> Logical Volume Management, and add a new physical volume. The device for this physical volume will be the new partition you added in step 2, most likely partition number 3.
  4. Still in the Logical Volume Management module, click on the VolGroup00-LogVol00 logical volume and increase its size by 150 GB. This should also resize the root filesystem automatically.

Hi Jamie

i following the steps very thanks. i click on logical volume then to VolGroup00 but no any button to increase the size maybe i do something wrong?

hi, i successfully extend my virtualmin storage. Here is how i do that

first i run on VirtualBox so i need to resize physical disk size to 25GB from 15GB do as guide here https://www.howtogeek.com/124622/how-to-enlarge-a-virtual-machines-disk-... first shut down virtual machine then on windows i run these comand i resize disk size to 25GB 25220 is space in MB cd C:\Program Files\Oracle\VirtualBox

VBoxManage modifymedium disk “C:\QUYNHANSVR\QUYNHAN_SVR\QUYNHAN_SVR.vdi” --resize 25220

then i bootup virtual machine with root access run fdisk -l

root@quynhanmobile:~# fdisk -l


Device     Start      End  Sectors  Size Type

/dev/sda1   2048     4095     2048    1M BIOS boot

/dev/sda2   4096 52734375 52730280 25.1G Linux filesystem

you need to see which partition is need to resize, in this case we will resize /dev/sda2


resize2fs /dev/sda2 25000M

resize2fs /dev/sda2


check your virtualmin server on dashboard and enjoy it