Thanks to everyone that replied with suggestions especially Romeo Theriault. I performed these steps to remove the bad disk drive in the S1 array. This was the middle drive slot in the S1. The affected submirror was d2 of the d0 mirror. # metadetach -f d0 d2 # metaclear d2 # metastat -p |grep c3t1d0 This check to see if any metadevices are still left on c3t1d0 # metadb -d c3t1d0s3 This removes any replicas on the affected drive. # metadb |grep c3t1d0 This check to make sure no replicas are on the affected drive. # Shut down system and S1 array. # Remove bad drive and install new one. # Use format utility to partition the drive exactly like the other drive in the S1. # metadb -a c3t1d0s3 This addes the replica's. # metainit d2 1 1 c3t1d0s0 # metattach d0 d2 Below is my original question I have a 280R with an S1 array attached to it that has 2 drives in it. According to /var/adm/messages one of the drives in the S1 is failing and needs to be replaced. There is only one metadevice mirror on this drive and it's mirrored to the other disk in the same array. The affected submirror is d2 listed below which is physical disk c3t1d0s0 and so I'll be removing the c3t1d0 disk from the S1 array. So I'll be removing that disk and installing a new one. I'm not sure of the steps I should perform do these look right??? d0: Mirror Submirror 0: d1 State: Okay Submirror 1: d2 State: Okay Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size: 104863680 blocks (50 GB) d1: Submirror of d0 State: Okay Size: 104863680 blocks (50 GB) Stripe 0: Device Start Block Dbase State Reloc Hot Spare c3t0d0s0 0 No Okay Yes d2: Submirror of d0 State: Okay Size: 104863680 blocks (50 GB) Stripe 0: Device Start Block Dbase State Reloc Hot Spare c3t1d0s0 0 No Okay Yes I have some replica's on the affected drive ton# metadb flags first blk block count a m p luo 16 8192 /dev/dsk/c3t0d0s3 a p luo 8208 8192 /dev/dsk/c3t0d0s3 a p luo 16400 8192 /dev/dsk/c3t0d0s3 a p luo 16 8192 /dev/dsk/c3t1d0s3 a p luo 8208 8192 /dev/dsk/c3t1d0s3 a p luo 16400 8192 /dev/dsk/c3t1d0s3 a p luo 16 8192 /dev/dsk/c1t0d0s6 a p luo 8208 8192 /dev/dsk/c1t0d0s6 a p luo 16 8192 /dev/dsk/c1t1d0s6 a p luo 8208 8192 /dev/dsk/c1t1d0s6 So I'll remove them first # metadb -d C3t1d0s3 Then I need to detach the submirror d2 from d0 # metadetach d2 d0 I'll then remove the bad drive from the S1 array which I think I can do without powering down the S1 array because they are hot swappable?? I'll then install the new drive and create the disk partitions to match the other drive that's in the S1 array. Would I then re-create the d2 submirror with # metainit d2 1 1 c3t1d0s0 Then attach it to d0 metattach d2 d0 Are these steps right or am I missing something? I'm assuming I can do all of this without unmounting the volume that is d0 since it's mirrored and I'm just removing half the mirror? Thanks. Dave Martini LLNL _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Tue Jan 29 16:35:54 2008
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:10 EST