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 was uploading a big file (iso of +/- 6 Gb) and somewhere in the middle I've got an I/O error. Now I can't see the file in the datastore and I lost +/- 3 Gb.

How can I delete the 'partial' file or reclaim the space?

share|improve this question
add comment

1 Answer

Depending on the way you view the datastore you may or may not be able to see the file. I've noted that the ESX VI client's datastore viewer does not show some files. If you were to ssh into the system and cd to the VM folder on the datastore (cd /vmfs/volumes/datastore_name/vm_name/) then you should be able to see the file, it may have a .part extension. (ls -la shows all files)

To enable sshd on ESXi see this article: http://www.yellow-bricks.com/2008/08/10/howto-esxi-and-ssh/

share|improve this answer
    
alas, thank you very much for the tip, but I couldn't find the files or a part of it (*.part)... I think I really lost the gigs now... –  bob Oct 9 '09 at 18:17
    
I'm sure the file is still there, it's just hiding out. Try using "du -h" from the root of the datastore to see your space utilization, where the 3GB file is hiding might become visible from there. You could also try a "find . -size +2048000" which will list every file over 2GB in size in the current datastore. –  Ausmith1 Oct 12 '09 at 22:37
add comment

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.