Can i extend a disk which is RDF1 capable by adding the disk RDF1or RDF2 capable??
Details:
I have to extend a exisiting disk 0ED3(RDF1 capable) by adding 0D45,0D46 which is RDF1_or_RDF2 capable.
Can you please answer my below queries
1.Is it possible to extend with this config?
2.Will the same syntax work for creating RDF1 capable & RDF1_or_RDF2 capable.If there is any other syntax,let me know
*******set device 0d45 attribute=dyn_rdf********************
3.How is RDF1 different from RDF1_or_RDF2 capable.
Yep you got it .... Before changing metavolume structure you have to remove RDF protection. When both metavolumes (source and target) are only locally protected, you can expand both metavolumes. We already discussed in a different thread how to expand a metavolume with special flags enabled. In a nutshell, it's suggested to remove special flags (dyn_rdf) from both existing metavolumes and new members. Expanding an existing metavolume can be done online, without either unmasking or unmapping it. When you expanded both metavolumes you can add again dyn_rdf flag (in case you removed it before)
Let's draw a list of actions ...
1) delete dynamic pair (symrdf deletepair)
2) remove dyn_rdf flag on both sides (use symconfigure to change device attributes)
3) expand metavolumes (use symconfigure and add members while preserving data)
4) add again dyn_rdf flag on both sides (again using symconfigure)
5) create dynamic pair (symrdf createpair)
Step 2 and 4 can be skipped if you add dyn_rdf flag to new metamembers before step 3.
1) if you an RDF protected volume and want to expand the volume, you have to REMOVE RDF protection. Thus you can't add a dyn_rdf device to existing meta.
2) attribute "dyn_rdf" means that your device may become either an R1 or an R2 device (when you create new pairs).
3) if you configure a device as RDF1_only capable, your symdev can become R1 when you create new pairs. But a RDF1_only capable device can NOT become an R2 device. This means also you can't swap dynamic pairs with "RDF1_only" or "RDF2_only" devices. Note that when you list symdevs, they'll show up as RDF1 (or RDF2) if already in pairs (thus having thier respective R2 or R1). A symdev "dyn_rdf" enabled (but not bound to an RDF pair) will show up as either 2-way-mir or RAID5 or whatever protection you choose.
So,Do you want me to remove the RDf capable on existing Meta(0ed3) & the new hypers what ever am going to add(0d45,0d46) & once the disk extension is done again i can make it RDF Capable if required?
*Also let me kow do i need to Unmask & Unmap the device during this operation or can i proceed direvctly?
Excellent!!!!!!!!!!!!!!!! Before winding up i have small query? 1. As stated earlier,can you plz clarify what syntax to be used for creating RDF1 capable & RDF1_or_RDF2 capable. 2.What will this syntax create then,si itRDF1 or the other? *****************set device xxxx attribute=dyn_rdf**********************
Enabling attribute "dyn_rdf" means allowing a symdev to become either R1 or R2 (RDF1_or_RDF capable).
Usually it's suggested to always enable both behaviours (since it leaves a lot more options). If you want to enable only one of the behaviours, you can enable attribute "dyn_RDF1_only" or "dyn_RDF2_only" flags. Obviously you can enable only one of the three flags we mentioned.
Execute a symconfigure operation for symmetrix '000xxxxx0760' (y/ ) ? y
A Configuration Change operation is in progress. Please wait...
Establishing a configuration change session...............Established.
Error occurred while Defining change number 1: The devices being acted on are a mixture of dynamic and Non dynamic DRDF ices Device 0D45 generated the failure
Terminating the configuration change session..............Done.
The configuration change session has failed.
**** I tried with below steps,No go. 1.Tried extending the disks,No go(0D45,0D46 & 0080 are RDF1_or_RDF2 Capable & OED3 is only RDF1 capable) add dev 0d45:0d46 to meta 0ed3, protect_data=TRUE, bcv_meta_head=0080; 2.Unmask & Unmap the device (OED3) & then tried removing the rdf by using ----------------set device 0ed3 attribute=no dyn_rdf;---------------------------- it gives a message saying cannot perform this operation on a RDf device 3.Tried with below,No go ---------set device 0ed3 attribute=dyn_rdf;----------- 4.Tried converting the device to dynamic(Assuming this as a static RDF),No go ---------------convert rdf dev 0ed3 to dynamic;-------------------------
**********Plz let me know if the solution for this************************
Message was edited by: Stefano Del Corno removed box sn
sureshctr I'm sorry .. probably I assumed something that is clear to me but that may be not that clear ...
1) when you form (or expand) metavolumes, all metamembers MUST have exactly same flags.. You have some metamembers RDF1_capable and some other RDF1_or_RDF2_capable.
2) before deleting an RDF pair you have to split (or suspend) the RDF pair (you can find details in symcli documentation, look for "symrdf deletepair")
3) your symdev is already a dynamic RDF pair. the issue is that it's established with another (remote) volume.
4) same as above .. you can convert a static pair to a dynamic pair .. but you are already dynamic. you have to split (and deletepair) before expanding metavolume.
What should you do ?? At least you have to give new metamembers EXACTLY SAME FLAGS as existing metavolume. Later you can do the following:
Please try to clarify every possible doubt before running above commands .. you may affect your environment thus please please please be carefull.
Oh in case I didn't warn you.. BE CAREFULL before running above mentioned commands ... I'll post soon commands to issue .. I need to better understand your environment.
NOTE: 0ED3 is RDF1 capable,but has no pairs. C:\>psexec \\emcl001d symdev -sid 760 show 0ed3|more
remotely Copyright (C) 2001-2007 Mark Russinovich Sysinternals - www.sysinternals.com
Device Physical Name : Not Visible
Device Symmetrix Name : 0ED3 Device Serial ID : N/A Symmetrix ID : 000xxxxx0760
Attached BCV Device : N/A
Attached VDEV TGT Device : N/A
Vendor ID : EMC Product ID : SYMMETRIX Product Revision : 5671 Device WWN : 60060480000xxxxx076047544B454433 Device Emulation Type : FBA Device Defined Label Type: N/A Device Defined Label : N/A Device Sub System Id : 0x0007 Cache Partition Name : N/A
Device Configuration : 2-Way Mir (Meta Head, Non-Exclusive Access)
Device is WORM Enabled : No Device is WORM Protected : No
SCSI-3 Persistent Reserve: Disabled
Dynamic Spare Invoked : No
Dynamic RDF Capability : RDF1_Capable
STAR Mode : No STAR Recovery Capability : None STAR Recovery State : NA
Device Service State : Normal
Device Status : Ready (RW) Device SA Status : Ready (RW)
Front Director Paths (2): { ---------------------------------------------------------------------- POWERPATH DIRECTOR PORT LUN --------- ---------- ---- -------- --------- PdevName Type Type Num Sts VBUS TID SYMM Host ---------------------------------------------------------------------- Not Visible N/A FA 08B:1 RW 000 00 019 N/A Not Visible N/A FA 09B:0 RW 000 00 019 N/A }
Back End Disk Director Information { Hyper Type : Data Hyper Status : Ready (RW) Disk [Director, Interface, TID] : [11D, D, 8] Disk Director Volume Number : 420 (0x1A3) Hyper Number : 4 Disk Capacity : 285902m Disk Group Number : 1
Hyper Type : Data Hyper Status : Ready (RW) Disk [Director, Interface, TID] : [02B, C, 8] Disk Director Volume Number : 149 (0x94) Hyper Number : 4 Disk Capacity : 285902m Disk Group Number : 1 }
C:\>psexec \\emcl001d symdev -sid 760 show 0d45|more
PsExec v 1.92 - Execute processes remotely Copyright (C) 2001-2007 Mark Russinovich Sysinternals - www.sysinternals.com
Device Physical Name : Not Visible
Device Symmetrix Name : 0D45 Device Serial ID : N/A Symmetrix ID : 000xxxxx0760
Attached BCV Device : N/A
Attached VDEV TGT Device : N/A
Vendor ID : EMC Product ID : SYMMETRIX Product Revision : 5671 Device WWN : 60060480000xxxxx076053594D443435 Device Emulation Type : FBA Device Defined Label Type: N/A Device Defined Label : N/A Device Sub System Id : 0x0006 Cache Partition Name : N/A
Device Configuration : 2-Way Mir (Non-Exclusive Access)
Device is WORM Enabled : No Device is WORM Protected : No
SCSI-3 Persistent Reserve: Disabled
Dynamic Spare Invoked : No
Dynamic RDF Capability : RDF1_OR_RDF2_Capable
STAR Mode : No STAR Recovery Capability : None STAR Recovery State : NA
Device Service State : Normal
Device Status : Ready (RW) Device SA Status : N/A (N/A)
Mirror Set Type : [Data,Data,N/A,N/A]
Mirror Set DA Status : [RW,RW,N/A,N/A]
Mirror Set Inv. Tracks : [0,0,0,0]
Back End Disk Director Information { Hyper Type : Data -- More -- symdev exited on emcl001d with error code 0. Hyper Status : Ready (RW) Disk [Director, Interface, TID] : [11A, D, 7] Disk Director Volume Number : 400 (0x18F) Hyper Number : 9 Disk Capacity : 285902m Disk Group Number : 1
Hyper Type : Data Hyper Status : Ready (RW) Disk [Director, Interface, TID] : [05A, C, 8] Disk Director Volume Number : 150 (0x95) Hyper Number : 6 Disk Capacity : 285902m Disk Group Number : 1 }
xe2sdc
6 Operator
•
2831 Posts
877
0
Posted November 20th, 2008 22:00
When both metavolumes (source and target) are only locally protected, you can expand both metavolumes. We already discussed in a different thread how to expand a metavolume with special flags enabled. In a nutshell, it's suggested to remove special flags (dyn_rdf) from both existing metavolumes and new members.
Expanding an existing metavolume can be done online, without either unmasking or unmapping it. When you expanded both metavolumes you can add again dyn_rdf flag (in case you removed it before)
Let's draw a list of actions ...
1) delete dynamic pair (symrdf deletepair)
2) remove dyn_rdf flag on both sides (use symconfigure to change device attributes)
3) expand metavolumes (use symconfigure and add members while preserving data)
4) add again dyn_rdf flag on both sides (again using symconfigure)
5) create dynamic pair (symrdf createpair)
Step 2 and 4 can be skipped if you add dyn_rdf flag to new metamembers before step 3.