VMware Cloud Community
sgng
Contributor
Contributor

RCLI - vmkfstools.pl

Hi.

I keep getting "Unable to create virtual disk : A specified parameter was not correct." by using the following command:

vmkfstools.pl --server server_ip --username root --password password -c 500G -d eagerzeroedthick -a lislogic /vmfs/volumes/esxlocal/sharedvmdk/data.vmdk

Tried paramters -c 512000m, -c 512000mb, -c 512g, -c 512gb, etc ... However non of these worked for me.

I successfully created 1 GB vmdk with -c 1024m but just not -c 1G, -c 1024mb.

What is the problem with this vmkfstools.pl script and ESXi 3.5 U3?

Thanks!

0 Kudos
3 Replies
RParker
Immortal
Immortal

I keep getting "Unable to create virtual disk : A specified parameter was not correct." by using the following command:

I think it's your block size. For files greater than 256G you have to use at least 2Meg block size. I see your block size as 1024, so that means your 500G file will not be created, that's why it's failing.

How do you increase the block size you ask? You can't. you have to delete the VMFS volume and start over.






!http://communities.vmware.com/servlet/JiveServlet/downloadImage/5441/VMW_vExpert_Q109_200px.jpg|height=50|width=100|src=http://communities.vmware.com/servlet/JiveServlet/downloadImage/5441/VMW_vExpert_Q109_200px.jpg !

sgng
Contributor
Contributor

I removed the entire vmfs and recreated one with 2MB block size. It still failed to create a 500GB vmdk using the perl script. I am now rebooting the host to see if it makes any difference ...

0 Kudos
sgng
Contributor
Contributor

Oppss ... I made a mistake. I forgot to create the folder to contain my VMDK file. Now everything is okay for 2MB block size! Thanks!

0 Kudos