We have an HP DL380G5 server with P400 RAID controller, running VMware ESXi v5.5 Hypervisor. Originally it had (5) 146GB SAS drives connected, as a single RAID 5 array (with 541GB usable). I plugged in 3 additional 146GB SAS drives. The goal is to increase the size of the datastore (there is only 1 datastore, called "datastore1"). After doing some research, I increased the size of the array as follows:
cli controller slot=1 logicaldrive 1 modify size=max forced
and when displaying the "new" size:
cli controller slot=1 show config
logicaldrive 1 (956.9 GB, RAID 5, OK)
I believe this is all good......at least up to this point. The problem is that (so I'm told) I now need to expand the actual datastore (as it is still showing as 541.75 GB), and I obviously don't know how to properly do it.
When I look at the partition table:
partedUtil getptbl /vmfs/devices/disks/vml.00
It returns the ending sector as 1146734896 (which it also shows the ending sector of the "vmfs" partition to be. I believe this number is incorrect. I believe it is the OLD ending sector. I believe the number SHOULD be 1720099632, as I have another identical server (that has had 8 of the same drives.....from its original installation), and it shows 1720099632 as the ending sector.
I'm told that I need to use the following to resize the datastore partition, however, I don't want to type in this command until I know that the actual partition has the sectors that I'm pointing it to:
/partedUtil resize "/vmfs/devices/disks/vml.0
3 10229760 1720099632
Then, so I'm told, I need to also do the following:
vmkfstools --growfs /vmfs/devices/disks/vml.00
and I really don't understand that one, as it appears that the 2 items are actually the same.