Solved

Creating a Clone VM from template VM using SSH console error DiskLib_Check()

Posted on 2009-05-17
6
2,754 Views
Last Modified: 2012-06-27
Hi All,

I'm now using ESXi 3.5 u4 and I've enabled the SSH connection,

in a Putty console, I execute the following command:

# vmkfstools -i /vmfs/volumes/datastore1/WinXPProSP3_vmxp00_ _/vmfs/volumes/MD3000i_VMFS/WinXPProSP3_vmxp01

to copy _WinXPProSP3_vmxp00_ virtual directory into my SAN-VMFS but then I got this error:

DiskLib_Check() failed for source disk The file specified is not a virtual disk (15).

is there any better way of doing it without vCenter license ?

or i shall just use

cp -r
/vmfs/volumes/datastore1/VM_Templates/*<SOURCE>*
/vmfs/volumes/datastore1/*<DESTINATION>*

instead ?

Thanks.
0
Comment
Question by:jjoz
  • 3
  • 2
6 Comments
 
LVL 1

Author Comment

by:jjoz
Comment Utility
or using any freeware tools which can performs cloning would be lovely, apart from FastSCP (it hangs when i tried to copy 100 GB + VM from my Local Server to my SAN datastore).
0
 
LVL 23

Accepted Solution

by:
that1guy15 earned 400 total points
Comment Utility
When using vmkfstools you need to provide both a source and destination .vmfs file. So here is a sample command

vmkfstools -i /vmfs/volumes/datastore1/WinXPProSP3/WinXPProSP3.vmfs /vmfs/volumes/datastore1/WinXPProSP3_2/WinXPProSP3_2.vmfs

The new directory must also be created before running the command
0
 
LVL 23

Assisted Solution

by:that1guy15
that1guy15 earned 400 total points
Comment Utility
sorry made a typo

.vmfs should be .vmdk

vmkfstools -i /vmfs/volumes/datastore1/WinXPProSP3/WinXPProSP3.vmdk /vmfs/volumes/datastore1/WinXPProSP3_2/WinXPProSP3_2.vmdk
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 1

Author Comment

by:jjoz
Comment Utility
.vmfs file ?

i thought only the directory content would be sufficient enough ?
0
 
LVL 23

Expert Comment

by:that1guy15
Comment Utility
No you must specify the vmdk hard drive that you want to clone.
0
 
LVL 19

Assisted Solution

by:vmwarun - Arun
vmwarun - Arun earned 100 total points
Comment Utility
You can also use the VMware vConverter 4.0 to clone a Virtual Machine.
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now