root@esx02 Web# vmkfstools -X 2048M /vmfs/volumes/DS4200_LUN_01/Web/Web_1.vmdk
Failed to extend disk : One of the parameters supplied is invalid (1).
What am I missing?
Looks like it did not understand 2048M. I had entered 20G and it took it.
2048MB = 2.048 GB
If you wanted it to be 20GB, need to add another 0 in there. If you do it by GB it makes the math a little bit easier
Kyle
it also may be easier to do it from the volume in which the .vmdk is, that way the command line is shorter.
cd vmfs/volumes/DS4200_LUN_01/Web
vmkfstools -X 20G Web_1.vmdk
Then you can use a helper VM if its a Windows box, as seen here.
http://vmprofessional.com/index.php?content=2k3resize
Kyle,
typing 20 GBextended to 20 GB which is being seen correctly in Computer Managements
all works OK and yes I have CD to the actual location.
the question I guess is why it is not taking in M or MB?
When you do the command - vmkfstools -X 20G Web_1.vmdk
You're not extending it 20GB, you're telling it you want "Web_1.vmdk" to be 20GB in size. So the total size is going to be 20GB (not 10GB+20GB). In your case of doing the M, unless the vmdk file was only 1-2GB in size, it can't shrink the .vmdk file down to a 2GB file, it can only increase. My assumption is if you did vmkfstools -X 20000M Web_1.vmdk it would work
Kyle
got it
thanks