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
Solved

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

Posted on 2009-05-17
6
2,834 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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 Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
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…

828 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