Link to home
Start Free TrialLog in
Avatar of jmohan0302
jmohan0302

asked on

VMware issue while extending a disk through VMKFStools

I am using ESX3.X. I tried to extend a disk using VMKFSTOOLS but I can't as I am getting the  error Message as:

Failed to extend disk: One of the parameters supplied is invalid (1)

I used the following command:
vmkfstools -X 20G <v.VMDK>

I really wonder as I have done this many times without error. I really want to know what is the real cause for this issue and how can I resolve this. Thanks
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

remove any snapshots?
otherwise try VMware Converter, to increase the disk and partition in once process or procedure.
are you trying to reduce the size of the disk?

You must specify the size you want like to Extend To and not how much you want like to Extend By.
Avatar of jmohan0302
jmohan0302

ASKER

There is no snap shots. The other thing is I can use VMware convertor but the size of the VM is too big so it will be time consuming. I think the VMDK file is imported from ESX2.X. So I think it should be first converted with:
vmkfstools -M <diskname>

Please let me know does the converting the disk will cause any Data Loss?

Thanks
No conversion does not lose and data.

if it's imported from 2.5, you will need to use -M
cat out the descriptor file to see what version its in.  'cat vmname.vmdk'
I've requested that this question be deleted for the following reason:

Got enough info
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial