Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a big file (220G) I would like to move from a virtual machine to its host.

The file is actually another virtual machine's disk file.

for other smaller files, I would have done that with a simple scp command moving them accros the network, but this is very slow (around 7 MB/s)

It is even more frustrating when you think about the fact the file is just moving on the same hard drive trough the network, that's just so inefficient.

How can I copy (or simply move) this single file out of this virtual server to the physical server? Using VMware vsphere (free edition)?

share|improve this question
    
Why is your scp so slow if you are moving from a guest to the host? I don't think that's a network issue. It's probably because everything is on one drive and the disk just can't deal with all the I/O that is happening besides the file copy. If that is true then even a file system based copy will not work any faster than scp. –  Reality Extractor Apr 3 at 6:30
    
Could be.. but this seams ways to slow no? If I could just 'move' instead of copying.. –  Vincent Duprez Apr 3 at 9:03

1 Answer 1

I don't think you can. This would be a rather serious security risk if you could just copy files from the VM into the host.

What's possible is mounting the VMDK on the ESX host, and then copy the files out from there. You might want to have a look at the VDDK (Virtual Disk Development Kit), as I think this is able to "mount" VMDK's.

There are also possibilities to mount the VMDK's on other hosts, but this would transfer the data over the network as well :) e.g. : http://www.diskinternals.com/vmfs-recovery/mounting-vmdk.shtml

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.