CraigV75
Enthusiast
Enthusiast

How to get rid of flat file

Jump to solution

Hi All,

I've got a VM with a 4.2TB *_1-flat.vmdk file.


How do I get rid of this?

Thanks!

Tags (2)
1 Solution

Accepted Solutions
CraigV75
Enthusiast
Enthusiast

Hi,

Just an update: another engineer closer to the site went ahead & ran a P2V on the VM itself. The flat file disappeared as a result of this.

Thanks for the suggestions!

Craig

View solution in original post

0 Kudos
9 Replies
daphnissov
Immortal
Immortal

That's a virtual disk file which contains data. Are you certain you want to delete disk data?

CraigV75
Enthusiast
Enthusiast

OK, is it a file that's continually in use? Or maybe has data that's not orphaned? Is there any way I can verify this?

0 Kudos
daphnissov
Immortal
Immortal

That file is the actual disk extent where data resides from one of your VMDKs. Do you have a VMDK that large provisioned on that VM? If so, this flat file is where all the data is stored. You cannot delete that file through any of the various GUIs unless you also delete the VMDK (descriptor) file. So if you're not absolutely sure what you're doing, don't go wantonly deleting files comprising a VM.

CraigV75
Enthusiast
Enthusiast

Thanks, and no I won't. It has just been brought to my attention and I hopped on here quickly to get some information which you have given me. I will check out and see what's going on with the provisioned disks and then reply back here.

0 Kudos
CraigV75
Enthusiast
Enthusiast

OK, the disks are configured as follows:

* Hard disk 1 - 100GB (Thick Provision Lazy Zeroed)

* Hard Disk 2 - 950GB (Thick Provision Lazy Zeroed)

* Hard disk 3 - 1500GB (Thin Provision)

Thanks!

0 Kudos
daphnissov
Immortal
Immortal

Show a screenshot of your VM's configuration, and also run an ls -lh inside the home directory of that VM and paste the output to show all files in its directory.

0 Kudos
CraigV75
Enthusiast
Enthusiast

Thanks, how would I go about doing that?

0 Kudos
daphnissov
Immortal
Immortal

From an SSH session, change directories into this VM's directory and do ls -lh to show all files.

CraigV75
Enthusiast
Enthusiast

Hi,

Just an update: another engineer closer to the site went ahead & ran a P2V on the VM itself. The flat file disappeared as a result of this.

Thanks for the suggestions!

Craig

0 Kudos