Solved

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

Posted on 2009-05-17
6
2,879 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 400 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 400 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
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 
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 100 total points
ID: 24413782
You can also use the VMware vConverter 4.0 to clone a Virtual Machine.
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:

728 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