Unsolved
This post is more than 5 years old
54 Posts
0
5188
December 26th, 2013 06:00
SRDF/A - Delete pair using file from an existing DG
Hi Admins,
I want to delete a device pair from an SRDF group using file. When am trying to "suspend" the link using a device file, it throws some error related to SRDF/A. Do I need to change the mode to acp_disk to suspend the link; "only" for this device pair ?
Also the R1 device is part of a clone group. The final goal is dissolving the meta and reclaiming storage.
Apologies if this question is a repeat. Would appreciate if someone can share the step by step commands through symcli.
Regards
Taz~
No Events found!
sauravrohilla
859 Posts
0
December 30th, 2013 19:00
Few caveats:
1) In SRDF/A, all device pairs in the RDFG are maneuvered as one. You cant manage one device pair alone.
2) If you want to, change the mode to acp_dsk.
3) Suspend wont be allowed if consistency is enabled.
4) disable consistency then suspend.
5) Also check the option cons_exempt, it will be helpful.
regards,
Saurabh
Rasmmacias
108 Posts
2
December 31st, 2013 02:00
One way is to spend these devices to another group there and remove, leaving Consistency source group in the same state:
Removing device pairs from an active SRDF/A session
In the following example, device pairs are removed from an active SRDF/A session using
a device file called MyFile:
1. Suspend the device pair so that it can be moved into another SRDF group:
symrdf suspend -file MyFile -sid 1234 -rdfg 20 -cons_exempt
2. Move the device pair from the current SRDF group into the another SRDF group:
symrdf movepair -file MyFile -sid 1234 -rdfg 20 -new_rdfg 30
3. Resume the devices:
symrdf resume -file MyFile -sid 1234 -rdfg 30
4. set mode acp_disk:
symrdf -file MyFile -sid 1234 -rdfg 30 set mode acp_disk
5. delete pair:
symrdf deletepair -file MyFile -sid 1234 -rdfg 30