ONTAP Discussions

space reclamation

General
15,446 Views

Hello All,

 

I'm new to NetApp so I'm asking this question.  I have a storage cluster runnin 8.3P1. I need to run space reclaim on the entire cluster to attempt to reclaim space. 

 

I can barely find any information on the process, much less the ACTUALLY commands to run the reclaim. Can is be done only by volume? Can it be ran by an aggregate level? Can you run it on all volumes at once?

 

No matter the answer, what is the actual command to run the reclaim??

 

Thanks in advance!

1 ACCEPTED SOLUTION

Trubida
15,372 Views

When you open the link, go to the top right and login.  Once you login you can either go back or click on the recently opened link.  Here's a snipit from the link.

 

View solution in original post

12 REPLIES 12

Trubida
15,310 Views

Space reclimation is done per LUN.  In order to reclaim the space you will need to make sure snapdrive is installed on the host and then run the reclimation process from snapdrive. 

General
15,271 Views

I'm not using Snap drive. The clients are ESXI servers and I would assume NetApp requires VAAI be installed to perform and uNMAP from ESXI?

 

Other vendors require that, as the storagr won't know what the client is requesting or wanting to happening.

 

 

Trubida
15,261 Views

You are correct, with ESXi there is no snapdrive.  If you have ESXi 6.5 or newer you can enable space alloction on on the LUN.  Follow the link below and it will show you have to enable it.  One thing the documentation calls out is taking the LUN offline before enabling space allocation.  I've change multiple LUNS in the past whithout taking them offline, do so at your own risk.

 

https://kb.netapp.com/app/answers/answer_view/a_id/1009035

General
15,257 Views

It seems that link doesn't have a "solution" and therefor there is no information on how to enable reclamation.

Trubida
15,373 Views

When you open the link, go to the top right and login.  Once you login you can either go back or click on the recently opened link.  Here's a snipit from the link.

 

TMACMD
15,144 Views

Space Reclamation only applies to FC/iSCSI LUNs. If you are using NFS, then it is always done anyway automatically.

For more info on VAAI, please see: https://kb.netapp.com/app/answers/answer_view/a_id/1001100

 

General
15,098 Views

Thanks much for the help!

General
15,063 Views

One last question. I see the spce-alloc can onlt be ran with the LUN offline? If so, that really sucks.

Trubida
15,055 Views

I've ran this on LUNS that have been online multiple times.  That being said I would test it on a few non-production LUNS first and verify.

General
14,286 Views

It worked on a non-production LUN. I'm going to try one PROD LUN now to see what happens.

Trubida
14,285 Views

Good to hear.  One thing to keep in mind though, once it's enabled you don't get the free space back right away.  If you need the space back right away you can kick-off a manual reclaim from the ESX host.  That process is documented here.

https://www.stephenwagner.com/2017/02/07/vmfs-unmap-command-vsphere-6-5-with-vmfs-6-auto/

General
14,269 Views

Even for VMFS6, we stilll need to have space allocation enabled on the NetApp?

Public