1 person found this helpful
If you're using classic ESX, the path to vmkfstools is /usr/sbin/vmkfstools and it's installed by default.
The -i option is for cloning a virtual disk and the format is the following:
/usr/sbin/vmkfstools -i <src_vmdk> -d <format> <dst_vmdk>
If you don't specify the disk format, then it'll assume the source disk format
You can always run /usr/sbin/vmkfstools to get a list of available options/usage
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
If you find this information useful, please award points for "correct" or "helpful".
OK I've found that directory and I can see that the program is definately there, but even when I type vmkfstools in the directory I get the same error. I guess that's how unix works though, if there's something missing it just errors.
Also, I'm not trying to clone the disk, I downloaded the vyatta virtual appliance (which I understand is in the format used by VMWARE server) and I'm trying to convert it so that I can mount in on my ESX server. I've been told that the syntax of the command I need to use in order to do this is:
vmkfstools -i <folder>/<filename>.vmdk <vmhba number>:<filename>dsk
What is the vmhba number mentioned in the command? How do I find it?
The better way would be to import the appliance using VMware Converter. It handles everything you need from the GUI.
Best regards, Edward L. Haletky VMware Communities User Moderator, VMware vExpert 2009, url=http://www.dabcc.com/channel.aspx?id=279DABCC Analyst[/url]
Now Available on Rough-Cuts: url=http://www.astroarch.com/wiki/index.php/VMware_Virtual_Infrastructure_Security'VMware vSphere(TM) and Virtual Infrastructure Security: Securing ESX and the Virtual Environment'[/url]
Also available url=http://www.astroarch.com/wiki/index.php/VMWare_ESX_Server_in_the_Enterprise'VMWare ESX Server in the Enterprise'[/url]
[url=http://www.astroarch.com/wiki/index.php/Blog_Roll]SearchVMware Pro[/url]|url=http://www.astroarch.com/blogBlue Gears[/url]|url=http://www.astroarch.com/wiki/index.php/Top_Virtualization_Security_LinksTop Virtualization Security Links[/url]|url=http://www.astroarch.com/wiki/index.php/Virtualization_Security_Round_Table_PodcastVirtualization Security Round Table Podcast[/url]
The better way would be to import the appliance using VMware Converter. It handles everything you need from the GUI"
Thanks so much, this solution is way simplier for a windows guy like me!!