We help IT Professionals succeed at work.

VMware - vmkfstools - Server to ESXi

ChillSmith
ChillSmith asked
on
2,881 Views
Last Modified: 2012-08-14
Hi,

I am migrating a virtual machine from VMware Server 1.X to ESXi 4.0.
I have copied the server across using fastscp and the instructions here:
http://communities.vmware.com/thread/86933

However while trying to convert the machine using vmkfstools, I am not having any success.

Here is the directory:
/vmfs/volumes/4c35cad3-7e6b098e-b172-001372123403/temp # ls
Test-Client-flat.vmdk  Test-Client.vmdk


Here is the command that I am running followed by the error that I get:
/vmfs/volumes/4c35cad3-7e6b098e-b172-001372123403/temp # vmkfstools -i Test-Client.vmdk Test-Client-New.vmdk
DiskLib_Check() failed for source disk The system cannot find the file specified (25).



I've tried a couple of resources online but none have been helpful in explaining the syntax for vmkfstools. I have also viewed the man page and used the /? option.


If anyone could tell me what comman I need to run to convert this disk I would really appreciate it.


Thanks,




Comment
Watch Question

Senior IT Advisor
CERTIFIED EXPERT
Top Expert 2008
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Top Expert 2009

Commented:
I'm very sure the syntax is good...can you do the following command and paste the output here

cat Test-Client.vmdk

-vE

Author

Commented:
nope


/vmfs/volumes/4c35cad3-7e6b098e-b172-001372123403 # cat Test-Client.vmdk
cat: can't open 'Test-Client.vmdk': No such file or directory
/vmfs/volumes/4c35cad3-7e6b098e-b172-001372123403 #
Top Expert 2009

Commented:
Also ls -lah to confirm the file permission

-vE

Author

Commented:
/vmfs/volumes/4c35cad3-7e6b098e-b172-001372123403 # ls -lah
drwxr-xr-t    1 root     root         1.1k Jul  8 15:31 .
drwxr-xr-x    1 root     root          512 Jul  8 15:59 ..
-r--------    1 root     root         2.4M Jul  8 12:55 .fbb.sf
-r--------    1 root     root        60.2M Jul  8 12:55 .fdc.sf
-r--------    1 root     root       243.8M Jul  8 12:55 .pbc.sf
-r--------    1 root     root       248.3M Jul  8 12:55 .sbc.sf
-r--------    1 root     root         4.0M Jul  8 12:55 .vh.sf
drwxr-xr-x    1 root     root         1.2k Jul  8 14:22 Test XP
/vmfs/volumes/4c35cad3-7e6b098e-b172-001372123403 #
Top Expert 2009

Commented:
What is the content of "Test XP" dir?
Can you cd into it and ls -lah

-vE

Author

Commented:
Oh, thats another virtual machine that I created - completely seperate.


Here:


/vmfs/volumes/4c35cad3-7e6b098e-b172-001372123403/Test XP # ls
Test XP-flat.vmdk  Test XP.nvram      Test XP.vmdk       Test XP.vmsd       Test XP.vmx        Test XP.vmxf       vmware.log
/vmfs/volumes/4c35cad3-7e6b098e-b172-001372123403/Test XP #
Top Expert 2009

Commented:
Hmmm...in your previous reply...i cant see the vmdk files
Are you sure that is the correct path to the vmdk?

-vE
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.