Start a Conversation

Unsolved

1 Rookie

 • 

31 Posts

3987

October 13th, 2019 23:00

Free Space reclaim

Hi

SC3020.

I have a volume that is 85% full.

I have dropped all the VMDK from vcenter, the datastore hosted by this volume is now almost empty,  but the volume is still shown as 85%.

Is there a way to "shrink" it? 

 

4 Operator

 • 

2.3K Posts

October 14th, 2019 07:00

Yes,

if youre using VMFS5.x on ESX 6.x you have to run the following command:

 

esxcli storage vmfs unmap -l YOURDATASTORENAME -n 2048

and watch the charting tab in DSM for that volume. You need to press the refresh button after the command finished a couple of time otherwise DSM doesnt reflect the latest changes. If you have snapshots around it can take some time to get your space back.

Please take a look to https://kb.vmware.com/s/article/2057513

 

Regards,
Joerg

1 Rookie

 • 

31 Posts

October 14th, 2019 14:00

Hi

thanks.

I am using VMFS5.6 over esxi 5.5.

In case i am doing this command (acutally i am affraid to run the unmap command in the production...) , doe's the SC will use this space?

Once again: the ESXdatastore shows me 85% free, while the SC DSM still  show me 90% active (both physical and virtual)

If i am no running this command on ESX, Why the SC doesn't re-use the space for future writes? 

 

1 Message

December 4th, 2020 05:00

Hi .. I have a very similar issue in ovirt ... do you have any successful solution to vmware or ovirt. Thanks Dheep

4 Operator

 • 

2.3K Posts

December 5th, 2020 01:00

The posted solution from above works fine for VMware.

 

If you have a different setup ask your vender about "scsi unmap".

 

Regards,
Joerg

No Events found!

Top