VMware
1 2 3 Previous Next 31 Replies Last post: Jul 23, 2005 6:31 PM by rhunwicks  

Moving/importing problem from GSX 3.1 to ESX 2.5.1 posted: Jul 11, 2005 10:03 PM

Click to view dmanconi's profile Enthusiast 111 posts since
Oct 14, 2004
Hi

I have a Red Hat Linux enterprise VM that I need to move from GSX 3.1 to ESX 2.5.1.

The VM currently has two virtual disks, one 8Gb and one 4GB file. I have tried using WINSCP (with the binary option), FTP (setting binary also) to transfer the files to my ESX server. The files go acorss ok. But when I try to import them using vmkfstools, I get the following error: "DiskLib_Open() failed. The file specified is not a virtual disk. (13)".

The command I ran was vmkfstools -i "Red Hat Enterprise Linux 3-flat.vmdk" /vmfs/vmhba0:0:0:5/sxldvmm01.vmdk. I have also tried renaming the original file to get rid of the spaces etc. No luck.

I am copying the file to a VMFS partition (I know this is a no-no), as that is the only location with enough space on the server. I have used the same method with a number of other GSX files, and all have come across fine so far. The only difference here is the files are pre allocated and this one is Linux.

Any ideas anyone? I am sure it is something realy silly.

My hardware is a HP DL360G4 Dual CPU, 4GB RAM, 2x36 internal Drives, HP EVA 5000 SAN etc running ESX 2.5.1 Build 13053

Thanks
David
Click to view Nicke's profile Master vExpert 1,169 posts since
Nov 1, 2004
You should use the original vmdk-file, i.e. not xx-flat.vmdk.
Copy the xxx.vmdk file and type:
vmkfstools -i "/vmfs/<friendlyname>/Red Hat Enterprise Linux 3.vmdk" /vmfs/<friendlyname>/sxldvmm01.vmdk

Note: use friendlynames instead of vmhba:\x:\x:\x:\x

Regards
/Nicke
Click to view Samcer's profile Expert 523 posts since
Aug 25, 2004
Your Red Hat VM uses and IDE HD?
ESX does not support IDE controller in VM.
Sam
Click to view daikyu's profile Expert 610 posts since
Sep 23, 2004
you could try to mount a samba share and import from there

[code]
smbmount //smbserver/share /mnt/mountpoint/ -o username=DOMAIN
USER,password=PASS
[/code]

whats the error message from vmkfstools -i ?
Click to view daikyu's profile Expert 610 posts since
Sep 23, 2004
looks like the disk is corrupt.

wich syntax for vmkfstools are you using ?

whats the output of:
[code]
head <your_vmdk_file> | file -
[/code]
Click to view Samcer's profile Expert 523 posts since
Aug 25, 2004
This test should show if the vdisk is OK
The output should be:
for ESX-2.x: x86 boot sector
for WKS-4.x: ASCII English text
for GSX-2.x: "nothing"

Sam
Click to view daikyu's profile Expert 610 posts since
Sep 23, 2004
What does the head
command tell you?

with this commando, i`m testing if the disk is corrupt.
... if you see the startsector.

hth, peter

Message was edited by: g[e]sx² , toooooo slow ;)

Click to view daikyu's profile Expert 610 posts since
Sep 23, 2004
completely right

please post the output

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities