Announcement Banner

k00k-olUl9

updated

19 years ago

KO

k00k-olUl9

1 Rookie

•

24 Posts

0

13665

September 21st, 2007 03:00

Delete sym device pairs from a running SRDF/A device Group

All,

I have a number SRDF/A pairs I wish to delete from an RDF group and I have done the following:-

Check the current state of the paired devices
symrdf -g query

Collect the R1 and R2 information for the paired devices into a file
symrdf -g query | grep DEV | awk '{print $2 " " $7}' > /tmp/ _pairs

Edit contents of the above file by leaving ONLY the pairs you want to delete from this RDF group.
vi /tmp/ _pairs

Suspend the paired listed in the input file
symrdf -rdfg 5 -sid 0921 -force -file /tmp/ _pairs suspend

Delete the pairs you no longer need
symrdf -rdfg 5 -sid 0921 -file /tmp/ _pairs deletepair

But now the DG has changed from RDF1 VALID to not.

I can no longer query it using symrdf -g , but can using symrdf -rdfg query. This shows that the redundant devices have been removed, thus leaving what I want in a sync' in progress state.

How do I get it all back to VALID RDF with the devices I want ?