Last day I received some critical tasks on production to increase Virtual Machine Hard disk VMDK size, on around 200 vms. For 99.99% I have my own VMWare PowerCLI scripts repository to automate my tasks to complete it before time. While running script I was getting errors, To further troubleshoot I tried to increase the disk size using vSphere web client, --> Virtual Machine Edit Settings. Expanding vmdk that is larger than 2Tb was still failing and getting same error as below.
A specified parameter was not correct.
Hot-extend was invoked with size (8323596288 sectors) >= 2TB. Hot-extend beyond or equal to 2TB is not supported.
The disk extend operation failed: One of the parameters supplied in invalid
Same error can be seen on VM tasks and events as in error stack. There is a great KB article no 2058287 in VMware docs, which is very helpful to resolve the issue. But what I found is (When virtual machine is powered on) Hot extending virtual disk bigger than 2 TB is not supported on ESXi hosts 6.0 and 5.5, You must be using ESXi 6.5.
Get downtime on VM, shut it down and extend it as per requirement.
Below are the few points if you want to go with large size VMDK (Virtual Machine virtual disks)
- For large capacity virtual disks, An ESXi 5.5 or later host version is required. You can clone or storage vMotion/migrate (SvMotion) greater than 2 TB to only ESXi 5.5.x and 6.x host.
- Virtual Machine vmdk disks must be on VMFS-5 Datastores, The maximum supported VMDK size on VMFS-5 datastore can be increased to 62 TB, However the maximum supported VMDK size on VMFS-3 is still 2 TB.
- If VMFS disk are on NFS drive, the maximum supported size is the little smaller than 62 TB and 1% less than the maximum file size supported by the NFS file system.
- To support larger virtual hard disks than 2 TB, VM guest operating system must support it and for using larger disk make sure you use GUID partition table (GPT) partitioning scheme, while initializing and formatting disks.
- If virtual machine has configured in FT (Fault Tolerance), disk expansion is not supported.
- vSAN 5.5 is not supported but vSAN 6.x supports 62 TB.
- Virtual Machine with BusLogic parallel drive controllers are not supported.
- Make sure Virtual Machine Hardware version is to at least 5.5 version (VM hardware version 10)
- Virtual Machine should not have any snapshots if you want to extend disk. Supported tested article RESOLVED : ADDING VIRTUAL HARD DISK GRAYED OUT ON VIRTUAL MACHINE
- You cannot relocate RDMs larger than 2 TB to datastores other than VMFS-5 or, to hosts older than ESXi 5.5.
- Make sure you have adequate space on datastore. And for further more troubleshooting you can use vmkfstools to troubleshoot.
Source VMWare article - 2058287
VMWARE VCENTER 6.5 UPGRADATION ERROR
RESOLVED : ADDING VIRTUAL HARD DISK GRAYED OUT ON VIRTUAL MACHINE
ESXI VIB SOFTWARE INSTALLATION ERROR
vSphere ESXi security best practices: Time configuration - (NTP) Network Time Protocol
This post first appeared on Tales From Real IT System Administrators World And Non-production Environment, please read the originial post: here