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
jmohan0302Asked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
If this question has been helpful, please close and assign points.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
remove any snapshots?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
otherwise try VMware Converter, to increase the disk and partition in once process or procedure.
0
[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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.
0
 
jmohan0302Author Commented:
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
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
No conversion does not lose and data.

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

Got enough info
0
All Courses

From novice to tech pro — start learning today.