Can you do a "start reclaim" on an entire Storage Group?
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.
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 ;" commit.
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.
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 .
SYMCLIGuy
98 Posts
3182
0
Posted August 15th, 2013 09:00
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 ;" commit
Hope that helps.