Hello.
I have an ESXi with a single VM. I have allocated 200 GB disk to this VM. This space is now almost full (95%). So, I wanted to extend it.
I tried to extend it via vSphere. I clicked on the VM properties and then I changed the disk size from 200 GB to 1.5 TO (total space available is 1.8 TO), then clicked on "OK".
The operation began but remained long in the state "in execution". Communication with the VM is then lost. We could not do anything on the VM from vSphere (nether reboot it, nether disconnect power, nor...). So, I restarted the ESXi.
After restarting the ESXi, I went into the VM properties and there I realized that the size of the VM back to its original size (200 GB), by against the available space is only around 500 Go, as if the space I previously reserved for the VM was used but not yet assigned to the VM.
Can you tell me Please what to do in order to recover this lost space and reallocate it to my VM.
Other info:
• ESXi and vSphere Version: 6.0.0 (ESXI standalone free version)
• Number of VMs on ESXi: 1
• Version of Virtual Machine: 8
• Physical machine hard disk Size: 2 TO (2* 2 To, RAID 1)
I’m logged to the ESXi via SSH and run the ls command. Below the result. We see that the disk size increased fromm 200Go to 1.5 To.
[root@ESXI-TEAM:~] ls -lh /vmfs/volumes/LOCAL-DS/ENZ-local/
total 1572872208
-rw------- 1 root root 1.5T Apr2215:38 ENZ-local-flat.vmdk
-rw------- 1 root root 8.5K Apr2215:38 ENZ-local.nvram
-rw------- 1 root root 554 Apr2210:36 ENZ-local.vmdk
-rw-r--r-- 1 root root 0 Nov1919:45 ENZ-local.vmsd
-rwxr-xr-x 1 root root 2.8K Apr2215:38 ENZ-local.vmx
-rw------- 1 root root 3.2K Feb 810:36 ENZ-local.vmxf
-rw-r--r-- 1 root root 216.5K Nov1920:16 vmware-1.log
-rw-r--r-- 1 root root 192.4K Nov2009:53 vmware-2.log
-rw-r--r-- 1 root root 135.4K Dec1011:59 vmware-3.log
-rw-r--r-- 1 root root 165.2K Feb 810:06 vmware-4.log
-rw-r--r-- 1 root root 159.0K Feb 810:09 vmware-5.log
-rw-r--r-- 1 root root 217.1K Apr2209:24 vmware-6.log
-rw-r--r-- 1 root root 205.7K Apr2215:38 vmware.log
However the "fdisk -l" command on the VM sends me the following result (the disk size has not changed).
# fdisk -l
Disk/dev/sda:214.7 GB,214748364800 bytes
255 heads,63 sectors/track,26108 cylinders
Units= cylinders of 16065*512=8225280 bytes
Sector size (logical/physical):512 bytes /512 bytes
I/O size (minimum/optimal):512 bytes /512 bytes
Disk identifier:0x0004f4ff
DeviceBoot Start End Blocks Id System
/dev/sda1 25623 26109 3905536 82 Linux swap /Solaris
/dev/sda2 1 22173 178097152 83 Linux
/dev/sda3 22173 23389 9765888 83 Linux
/dev/sda4 23389 25623 17942528 83 Linux
Partition table entries are notin disk order
- When I try to do an extension of the disqk space (even just for 1 Go), I have the error: "Insufficiant disk space on the Data Bank".
Bellow some screenshots