Can you do a "start reclaim" on an entire Storage Group?

Jump to solution

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.

Labels (1)
0 Kudos
1 Solution

Accepted Solutions
SYMCLIGuy
2 Iron

Re: Can you do a "start reclaim" on an entire Storage Group?

Jump 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.


0 Kudos
10 Replies
SYMCLIGuy
2 Iron

Re: Can you do a "start reclaim" on an entire Storage Group?

Jump 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.


0 Kudos

Re: Can you do a "start reclaim" on an entire Storage Group?

Jump to solution

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.

Highlighted

Re: Can you do a "start reclaim" on an entire Storage Group?

Jump to solution

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.

SYMCLIGuy
2 Iron

Re: Can you do a "start reclaim" on an entire Storage Group?

Jump to solution

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

Re: Can you do a "start reclaim" on an entire Storage Group?

Jump to solution

Thank you, just what I was looking for.

0 Kudos
PaulCork
3 Argentium

Re: Re: Can you do a "start reclaim" on an entire Storage Group?

Jump to solution

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 .

snalluri
2 Bronze

Re: Can you do a "start reclaim" on an entire Storage Group?

Jump to solution

How do we reclaim zero space on pools ?

0 Kudos
wanaka
3 Argentium

Re: Can you do a "start reclaim" on an entire Storage Group?

Jump to solution

Hi,

May I know is there any impact to the host when we run the reclaim?  i supposed this is an online activity

0 Kudos
KW160
3 Argentium

Re: Can you do a "start reclaim" on an entire Storage Group?

Jump to solution

Yes, this is an online activity to the host.

0 Kudos