You are on page 1of 2

AIM of the LAB: To create clone pair using file with -tgt option

--------------------------------------------------------------------Result: -tgt is incompatible option with -f


---------------------------------------------------------------------Solution:
Use the format similar to "symdg export <dg> -f file"
example:
root@sapnbup05 # symdg export CLONE_R2_P3A_ARCH -f CLONE_R2_P3A_ARCH
root@sapnbup05 # cat CLONE_R2_P3A_ARCH
2 000290104464
S 188 DEV001
S 190 DEV002
S 7EB DEV003
T B4E TGT001
T B56 TGT002
T 1194 TGT003
root@sapnbup05 #
where: 2 - is the type of DG (R1 or R2) and corresponding SID
S - is the Source
T - is the TGT
-----------------------------------------------------------------------LAB
root@sapnbup05 # symdg list
D E V I C E
Name

Type

CLONE_R2_P3A_ARCH RDF2
root@sapnbup05
root@sapnbup05
total 2
-rw-r--r-- 1
root@sapnbup05
2 000290104464
S 188 DEV001
S 190 DEV002
S 7EB DEV003
T B4E TGT001
T B56 TGT002
T 1194 TGT003
root@sapnbup05

G R O U P S

Valid Symmetrix ID Devs


Yes

000290104464

Number of
GKs BCVs VDEVs TGTs
0

# symdg export CLONE_R2_P3A_ARCH -f CLONE_R2_P3A_ARCH


# ls -ltr
root
root
94 Apr 19 09:46 CLONE_R2_P3A_ARCH
# cat CLONE_R2_P3A_ARCH

Create pairing between


root@sapsan_new # symdev list -sid 4464 -noport -noreserve -cap 4125 | grep -v R
DF1+R-5 | more
Symmetrix ID: 000290104464
Device Name
Directors
Device
--------------------------- ------------- -------------------------------------

Cap
Sym Physical
SA :P DA :IT Config
Attribute
Sts (MB)
--------------------------- ------------- ------------------------------------0378 Not Visible
0380 Not Visible

???:? 15A:C10 RAID-5


???:? 15A:C12 RAID-5

N/Grp'd (M) RW
N/Grp'd (M) RW

###File for clone###


0378 0380
root@sapnbup05
total 4
-rw-r--r-- 1
-rw-r--r-- 1
root@sapnbup05
0378 0380

# ls -ltr
root
root
root
root
# cat Clone_tgt

94 Apr 19 09:46 CLONE_R2_P3A_ARCH


10 Apr 19 09:52 Clone_tgt

root@sapnbup05 # symclone create -f Clone_tgt -sid 4464 -tgt


'-tgt': Incompatible option.

4125
4125

You might also like