I have used to the symconfigure -cmd "start reclaim on tdev XXXX;" commit command to reclaim space on a single tdev before but now what I would like to do is run a start reclaim on an entire storage group without having to run it on each tdev. If this is supported I could not find the right syntax for the command. Anyone know if it is possible and what the syntax is? If it is not possible I'll list the tdevs and use a loop to issue the start reclaim on each one.
Solved! Go to Solution.
Yes. The start reclaim command can accept a single TDEV, a range of TDEVs, a device group or a storage group to specify the devices to be reclaimed.
To start a reclaim on all the devices in an SG, the command syntax is as follows
symconfigure -sid xx -cmd "start reclaim on tdev in SG <sgname>;" commit
Hope that helps.
Yes. The start reclaim command can accept a single TDEV, a range of TDEVs, a device group or a storage group to specify the devices to be reclaimed.
To start a reclaim on all the devices in an SG, the command syntax is as follows
symconfigure -sid xx -cmd "start reclaim on tdev in SG <sgname>;" commit
Hope that helps.
Thank you, it does. The syntax of the command looked like it should support it but it wasn't clear (to me) how to specify it. I was trying symconfigure -sid xx -cmd "start reclaim on/in SG <sgname>;" commit.
Thanks again.
Follow up question; after starting a reclaim on a storage group is there a way to monitor the progress to know when the reclaim is finished? I know I can use symcfg list -pool -thin -detail -gb -i 30 to watch the used GB count which gives an indication if the reclaim is still running but doesn't let me know when the reclaim is done.
If you run
symcfg -sid xx list -tdev -sg <sgname>
there is a Status colum shown for each device in the SG. This column will show an 'R' for each of the devices where the reclaim is still active.
You can also use the verify option to see if any of the devies in the SG are still actively being reclaimed.
symcfg -sid xx -sg <sgname> verify -tdev -reclaiming
Thank you, just what I was looking for.
I've attached a WhitePaper on Space Reclamation with VP one to have a look at for the application considerations, it's quite good goes through how to do it with Unisphere and Cli also discusses some of the new features like SCSI UNMAP and various implementations on each host OS.. One for the night stand .
How do we reclaim zero space on pools ?
Hi,
May I know is there any impact to the host when we run the reclaim? i supposed this is an online activity
Yes, this is an online activity to the host.