Option 4
# vxdg -g datadg -k rmdisk datadg01
Option 5
# ./vxdisksetup -if TagmaStore-USP0_0
# vxdg -g datadg -k adddisk datadg01=TagmaStore-USP0_0
# vxrecover -g datadg -b datadg01
Real Life example
------------------
# vxmend -g datadg -o force off data01vx-01 (do this if volume is DISABLED RECOVER.
If DISABLED STALE , proceed with vxmend -g datadg on data01vx-01)
# vxmend -g datadg on data01vx-01
# vxvol -g datadg start data01vx
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
TagmaStore-USP0_0 auto:cdsdisk - - online
c1t0d0s2 auto:sliced odg01 odg online
c1t1d0s2 auto:cdsdisk datadg02_scsi datadg online
c1t2d0s2 auto:sliced odg02 odg online
c1t3d0s2 auto:cdsdisk datadg01_scsi datadg online
emcpower1s2 auto:cdsdisk datadg02 datadg online nohotuse
emcpower2s2 auto:cdsdisk datadg10 datadg online
emcpower3s2 auto:cdsdisk datadg06 datadg online nohotuse
emcpower4s2 auto:cdsdisk datadg07 datadg online nohotuse
emcpower5s2 auto:cdsdisk datadg05 datadg online nohotuse
emcpower6s2 auto:cdsdisk datadg11 datadg online
emcpower7s2 auto:cdsdisk datadg04 datadg online nohotuse
emcpower8s2 auto:cdsdisk datadg08 datadg online nohotuse
emcpower9s2 auto:cdsdisk datadg03 datadg online nohotuse
emcpower10s2 auto:cdsdisk datadg09 datadg online nohotuse
- - datadg01 datadg failed was:TagmaStore-USP0_0
# vxdg -g datadg -k rmdisk datadg01
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
TagmaStore-USP0_0 auto:cdsdisk - - online
c1t0d0s2 auto:sliced odg01 odg online
c1t1d0s2 auto:cdsdisk datadg02_scsi datadg online
c1t2d0s2 auto:sliced odg02 odg online
c1t3d0s2 auto:cdsdisk datadg01_scsi datadg online
emcpower1s2 auto:cdsdisk datadg02 datadg online nohotuse
emcpower2s2 auto:cdsdisk datadg10 datadg online
emcpower3s2 auto:cdsdisk datadg06 datadg online nohotuse
emcpower4s2 auto:cdsdisk datadg07 datadg online nohotuse
emcpower5s2 auto:cdsdisk datadg05 datadg online nohotuse
emcpower6s2 auto:cdsdisk datadg11 datadg online
emcpower7s2 auto:cdsdisk datadg04 datadg online nohotuse
emcpower8s2 auto:cdsdisk datadg08 datadg online nohotuse
emcpower9s2 auto:cdsdisk datadg03 datadg online nohotuse
emcpower10s2 auto:cdsdisk datadg09 datadg online nohotuse
- - datadg01 datadg removed was:TagmaStore-USP0_0
root@S21TDI234 # ./vxdisksetup -if TagmaStore-USP0_0
root@S21TDI234 # vxdisk list
DEVICE TYPE DISK GROUP STATUS
TagmaStore-USP0_0 auto:cdsdisk - - online
c1t0d0s2 auto:sliced odg01 odg online
c1t1d0s2 auto:cdsdisk datadg02_scsi datadg online
c1t2d0s2 auto:sliced odg02 odg online
c1t3d0s2 auto:cdsdisk datadg01_scsi datadg online
emcpower1s2 auto:cdsdisk datadg02 datadg online nohotuse
emcpower2s2 auto:cdsdisk datadg10 datadg online
emcpower3s2 auto:cdsdisk datadg06 datadg online nohotuse
emcpower4s2 auto:cdsdisk datadg07 datadg online nohotuse
emcpower5s2 auto:cdsdisk datadg05 datadg online nohotuse
emcpower6s2 auto:cdsdisk datadg11 datadg online
emcpower7s2 auto:cdsdisk datadg04 datadg online nohotuse
emcpower8s2 auto:cdsdisk datadg08 datadg online nohotuse
emcpower9s2 auto:cdsdisk datadg03 datadg online nohotuse
emcpower10s2 auto:cdsdisk datadg09 datadg online nohotuse
- - datadg01 datadg removed was:TagmaStore-USP0_0
# vxdg -g datadg -k adddisk datadg01=TagmaStore-USP0_0
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
TagmaStore-USP0_0 auto:cdsdisk datadg01 datadg online
c1t0d0s2 auto:sliced odg01 odg online
c1t1d0s2 auto:cdsdisk datadg02_scsi datadg online
c1t2d0s2 auto:sliced odg02 odg online
c1t3d0s2 auto:cdsdisk datadg01_scsi datadg online
emcpower1s2 auto:cdsdisk datadg02 datadg online nohotuse
emcpower2s2 auto:cdsdisk datadg10 datadg online
emcpower3s2 auto:cdsdisk datadg06 datadg online nohotuse
emcpower4s2 auto:cdsdisk datadg07 datadg online nohotuse
emcpower5s2 auto:cdsdisk datadg05 datadg online nohotuse
emcpower6s2 auto:cdsdisk datadg11 datadg online
emcpower7s2 auto:cdsdisk datadg04 datadg online nohotuse
emcpower8s2 auto:cdsdisk datadg08 datadg online nohotuse
emcpower9s2 auto:cdsdisk datadg03 datadg online nohotuse
emcpower10s2 auto:cdsdisk datadg09 datadg online nohotuse
# vxrecover -g datadg -b datadg01
# vxprint -g datadg -ht
v data01vx - DISABLED ACTIVE 1909251376 SELECT -
fsgen
pl data01vx-01 data01vx DISABLED RECOVER 1909251376 CONCAT - RW
sd datadg01-01 data01vx-01 datadg01 0 240596992 0 TagmaStore-USP0_0 ENA
sd datadg01_scsi-05 data01vx-01 datadg01_scsi 201326592 85306240 240596992 c1t3d0 ENA
sd datadg02_scsi-04 data01vx-01 datadg02_scsi 201326592 50048 325903232 c1t1d0 ENA
sd datadg02-01 data01vx-01 datadg02 0 159332608 325953280 emcpower1 ENA
sd datadg02_scsi-05 data01vx-01 datadg02_scsi 201376640 85256192 485285888 c1t1d0 ENA
sd datadg03-01 data01vx-01 datadg03 0 159332608 570542080 emcpower9 ENA
sd datadg04-01 data01vx-01 datadg04 0 159332608 729874688 emcpower7 ENA
sd datadg05-01 data01vx-01 datadg05 0 159332608 889207296 emcpower5 ENA
sd datadg06-01 data01vx-01 datadg06 0 159332608 1048539904 emcpower3 ENA
sd datadg07-01 data01vx-01 datadg07 0 159332608 1207872512 emcpower4 ENA
sd datadg08-01 data01vx-01 datadg08 0 159332608 1367205120 emcpower8 ENA
sd datadg09-01 data01vx-01 datadg09 0 159332608 1526537728 emcpower10 ENA
sd datadg10-02 data01vx-01 datadg10 4194304 155138304 1685870336 emcpower2 ENA
sd datadg11-02 data01vx-01 datadg11 4194304 68242736 1841008640 emcpower6 ENA
# vxmend -g datadg -o force off data01vx-01 (do this if volume is DISABLED RECOVER. If DISABLED STALE , proceed with vxmend -g datadg on data01vx-01)
# vxmend -g datadg on data01vx-01
# vxvol -g datadg start data01vx
Sunday, May 24, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment