?
Solved

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

Posted on 2009-05-17
6
Medium Priority
?
2,930 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 1

Author Comment

by:jjoz
ID: 24409057
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 1600 total points
ID: 24409075
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 1600 total points
ID: 24409084
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
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
LVL 1

Author Comment

by:jjoz
ID: 24409085
.vmfs file ?

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

Expert Comment

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

Assisted Solution

by:vmwarun - Arun
vmwarun - Arun earned 400 total points
ID: 24413782
You can also use the VMware vConverter 4.0 to clone a Virtual Machine.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
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:
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…
Suggested Courses

765 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