Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

ONTAP Hardware

Space Reclamation not working




I have a thinly provisioned LUN from my FAS2552 to a Windows Server 2019, with hyper-V role installed.


On the server, it shows that the free space is 246GB. However on the storage, we have about 178GB left.


I have run the commands on the Storage SSH to fix this. (I disabled and enabled the space-allocation feature)

ONTAP version is 9.5P17.


Please help me with suggestions to fix this anomaly.



To confirm if  after enabling space allocation  , you can check if the counters related to space reclamation operations at the hosts incremented in the target

  • unmap_reqs 

These counters are in the lun object 

e.g statistics show -object lun -instance <lun path> -raw -counter *unmap*

(space reclamation sends scsi unmap commands to the target and scsi unmap requests is expected to increment the above counter)




Did you check this KB? 




It does not list 2019, but I guess is just out dated.


Also, when setting space-allocation, are you putting the LUN offline and re-discovering it?





Yes. I set the LUN to be offline before running the command

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner