Solved

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

Posted on 2009-05-17
6
2,814 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
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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

810 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