Question posted by coffeyp on October 17th, 2013
How To Replace A Failed Boot Disk Mirror In Solaris 8
I have a v480 with a mirrored boot disk c1t0 and c1t1. The drives themselves don't show a failure but the mirror's need maintenance. This is my plan for replacing the drive. I would love feedback to point out what I"m missing or where my steps are incorrect. Two things I believe I'm missing is do I need to newfs the replacement drive and/or create a bootblk on the replacement drive? Do i need to change the devalias in OBP to point to the new device name? Here is the information I've gathered and the steps I intend to take. Failed mirrors: d14: Mirror Submirror 0: d84 State: Okay Submirror 1: d94 State: Needs maintenance d84: Submirror of d14 State: Okay Size: 4090752 blocks Stripe 0: Device Start Block Dbase State Hot Spare c1t0d0s4 10176 Yes Okay d94: Submirror of d14 State: Needs maintenance Invoke: metareplace d14 c1t1d0s4 <new device> Size: 4090752 blocks Stripe 0: Device Start Block Dbase State Hot Spare c1t1d0s4 10176 Yes Maintenance d13: Mirror Submirror 0: d83 State: Okay Submirror 1: d93 State: Needs maintenance d83: Submirror of d13 State: Okay Size: 203520 blocks Stripe 0: Device Start Block Dbase State Hot Spare c1t0d0s3 10176 Yes Okay d93: Submirror of d13 State: Needs maintenance Invoke: metareplace d13 c1t1d0s3 <new device> Size: 203520 blocks Stripe 0: Device Start Block Dbase State Hot Spare c1t1d0s3 10176 Yes Maintenance d0: Mirror Submirror 0: d80 State: Okay Submirror 1: d90 State: Needs maintenance d80: Submirror of d0 State: Okay Size: 4100928 blocks Stripe 0: Device Start Block Dbase State Hot Spare c1t0d0s0 0 No Okay d90: Submirror of d0 State: Needs maintenance Invoke: metareplace d0 c1t1d0s0 <new device> Size: 4100928 blocks Stripe 0: Device Start Block Dbase State Hot Spare c1t1d0s0 0 No Maintenance Replica state metadb -i flags first blk block count a m p luo 16 1034 /dev/dsk/c1t0d0s3 a p luo 16 1034 /dev/dsk/c1t1d0s3 a p luo 16 1034 /dev/dsk/c1t0d0s4 a p luo 16 1034 /dev/dsk/c1t1d0s4 a p luo 16 1034 /dev/dsk/c1t0d0s7 a p luo 16 1034 /dev/dsk/c1t1d0s7 Detach sub mirrors metadetach –f d14 d94 metadetach –f d13 d93 metadetach –f d0 d90 Clear config information metaclear d94 metaclear d93 metaclear d90 Verify there are no metadevices still on the drive metastat –p | grep c1t1d0 Clear replicas (three replicas left on c1t0) metadb –d c1t1d0s3 metadb –d c1t1d0s4 metadb –d c1t1d0s7 Save disk partition for later prtvtoc /dev/rdsk/c1t1d0s2 > /tmp/disk2vtoc Prep drive for removal a. luxadm remove_device –F /dev/rdsk/c1t1d0s2 Wait for the prompt telling you to remove the drive Remove the drive from the system devfsadm –Cc disk (cleans up) Insert new drive 8. devfsadm verify new drive paths are in solaris (ls –ld /dev/dsk/c1t1d*) Format the drive with the file saved in step 5 fmthard –s /tmp/disk2vtoc /dev/rdsk/c1t1d0s2 Create and reattach submirror a. metainit d94 1 1 c1t1d0s4 b. metattach d14 d94 c. metainit d93 1 1 c1t1d0s3 d. metattach d13 d93 e. metainit d90 1 1 c1t1d0s0 f. metattach d0 d90 Create replicas Metadb –a –c3 c1t1d0s2
Current Answers
Similar Questions
Does Oracle Still Provide Vm Wares For Free ?
does oracle still provide VM Wares for free ? the ones that we could run android
does oracle still provide VM Wares for free ? the ones that we could run android
(Posted by polu1115 3 years ago)
What Version Of Sql*net Is Running On My Oracle 10g Database?
I need to verify the version of sql*net that is running on my Oracle 10g database. The software vend...
I need to verify the version of sql*net that is running on my Oracle 10g database. The software vend...
(Posted by johnpalka 8 years ago)
Tns Resolution Error
I just re-installed Oracle Express to develop an application in Visual studio. Using windows 7. I'm ...
I just re-installed Oracle Express to develop an application in Visual studio. Using windows 7. I'm ...
(Posted by crslethem 12 years ago)
How is Oracle's after-purchase support?
My company is considering transitioning to Oracle, but I would love to hear some feedback from exist...
My company is considering transitioning to Oracle, but I would love to hear some feedback from exist...
(Posted by Anonymous-9877 14 years ago)