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.

When browsing the datastore on an ESXi server I have noticed that some of the .vmdk files will have a -flat.vmdk. Just wondering why that is. I have tried converting a running machine using “Thin provisioning” and choosing “Flat” file but have not been able create a –flat.vmdk file. Not sure what situation will cause a –flat.vmdk file to get created.

Thanks

Matt Fitzsimmons

share|improve this question
add comment

2 Answers

Flat files are the actual disk data for a virtual disk, the .vmdk file is really just a pointer to either a flat file or RDM. Don't delete them, that would be bad. If you're interested open up a .vmdk file with a text editor.

share|improve this answer
    
I did notice that in the datastore browser that only certain VMs have the -flat.vmdk file as well as the <name>.vmdk which is the descriptor file. All of the VMs that I have created today do not have the -flat.vmdk They just have a <name>.vmdk that is the actual virtual disk. –  Matt Fitz Feb 23 '11 at 23:43
    
by default the flat files are hidden. –  Chopper3 Feb 24 '11 at 0:46
    
Ahh, that makes since. So the .vmdk file that I see in the datastore browser is acutally the descriptor file. Any reason some would not be hidden? –  Matt Fitz Feb 24 '11 at 14:48
    
someone been using ssh or scripts? I suspect general 'messing around' :) –  Chopper3 Feb 25 '11 at 19:16
add comment

I believe only thick-provisioned VMs will have '-flat' files.

share|improve this answer
    
Not on my ESX(i) 4.1 system, thin provisioned disks get a -flat too. –  Iain Feb 25 '11 at 16:58
    
agreed, it's RDMs that don't have -thin's –  Chopper3 Feb 25 '11 at 19:15
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.