finsfree
Enthusiast
Enthusiast

Datastore showing full?

I have a VM that is using 50GB of data on a 2TB datastore, however the datastore shows full at 2TB.

Things that I have checked:

  • The VM is thin provisioned (both drives)
  • I did a storage migration and back to original datastore
  • There are NO snapshots
  • Compatibility version ESXI 6.7 (lastest)
  • VM version 15 (latest)
  • VMware tools are up to date (latest)

Why am I showing that I'm using 2TB of data when I am only using about 50GB?

0 Kudos
4 Replies
IRIX201110141
Virtuoso
Virtuoso

Most likely

  • You removed VMs from Inventory but not deleting them
  • Your VM runs on a snapshot. Your SnapDB is broken and doesnt show the snapshot. Take a look of the vmdk filenames if there is a -000000x.vmk at the end
  • You have stored tons of ISOs

Login through SSH and show us the output of

  • df -h
  • cd /vmfs/volumes/<DATASTORENAME> ; ls -lhr *

Regards,
Joerg

0 Kudos
finsfree
Enthusiast
Enthusiast

Option 1 and 3 don't really make any sense to me but here is the results of the ls command. As you can see there is NO snapshots.

[root@crbhost02:/vmfs/volumes/5d19d2ab-e3b97f48-6df2-34800d110436/ClerkFS] ls -lhr

total 2060201088

-rw-------    1 root     root       86.0M Jul 22 09:59 vmx-ClerkFS-2438309173-1.vswp

-rw-r--r--    1 root     root      225.5K Jul 22 14:48 vmware.log

-rw-------    1 root     root      436.9K Jul 22 09:59 vmware-3.log

-rw-------    1 root     root      256.8K Jul 22 09:59 vmware-2.log

-rw-------    1 root     root      506.1K Jul 22 09:59 vmware-1.log

-rw-------    1 root     root      356.3K Jul 22 10:32 vmware-0.log

-rw-------    1 root     root         501 Jul 22 10:49 ClerkFS_1.vmdk

-rw-------    1 root     root        2.0T Jul 22 14:57 ClerkFS_1-flat.vmdk

-rwxr-xr-x    1 root     root        4.9K Jul 22 10:32 ClerkFS.vmx~

-rw-------    1 root     root          47 Jul 22 10:32 ClerkFS.vmxf

-rw-------    1 root     root           0 Jul 22 09:59 ClerkFS.vmx.lck

-rwxr-xr-x    1 root     root        4.9K Jul 22 10:32 ClerkFS.vmx

-rw-r--r--    1 root     root           0 Jul 22 09:59 ClerkFS.vmsd

-rw-------    1 root     root         551 Jul 22 10:32 ClerkFS.vmdk

-rw-------    1 root     root      264.5K Jul 22 10:32 ClerkFS.nvram

-rw-------    1 root     root      250.0G Jul 22 14:59 ClerkFS-flat.vmdk

-rw-------    1 root     root          13 Jul 22 09:59 ClerkFS-aux.xml

-rw-------    1 root     root       16.0G Jul 22 09:59 ClerkFS-9155a535.vswp

-rw-r--r--    1 root     root         968 Jul 22 10:32 ClerkFS-1dd4d12d.hlog

[root@crbhost02:/vmfs/volumes/5d19d2ab-e3b97f48-6df2-34800d110436/ClerkFS]

0 Kudos
IRIX201110141
Virtuoso
Virtuoso

You havent exactly provide the answers i have asked vor. Yes... options 3 it unlikely but 1 is very comon thats why i have ask to list all files from the datastore and not from a single directory.

If you are really sure that the 2 vDisks (250GB and 2 TB in size) are thin provisioning

grep -i thin ClerkFS_1-flat.vmdk

check it again.  A

du -sh *

will display the current real file sizes. If there are no other files on that Datastore than i expect the both *-flat.vmdk are larger than you think.  What i have see often is that the GuestOS admin havent mark the "quick format" check box so the GuestOS filesystem format/allocate all blocks.

Regards,
Joerg

0 Kudos
IRIX201110141
Virtuoso
Virtuoso

Status?

0 Kudos