LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (http://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   I need to replace disk in RAID 5 in Solaris 10 SVM (http://www.linuxquestions.org/questions/solaris-opensolaris-20/i-need-to-replace-disk-in-raid-5-in-solaris-10-svm-4175444113/)

thirupathi 01-04-2013 04:12 AM

I need to replace disk in RAID 5 in Solaris 10 SVM
 
Hi,

Can any one help me how I cam replace Disk in solaris RAID 5 in svm. RAID 5 is with 3 Disks.
Below is output of RAID 5 status

d5: RAID
State: Okay
Hot spare pool: hsp001
Interlace: 32 blocks
Size: 573254784 blocks (273 GB)
Original device:
Size: 573274432 blocks (273 GB)
Device Start Block Dbase State Reloc Hot Spare
c0t6d0s0 20682 No Okay Yes
c0t3d0s0 20682 No Okay Yes
c0t4d0s0 20682 No Okay Yes

Device Relocation Information:
Device Reloc Device ID
c0t6d0 Yes id1,sd@n5000cca00a1214d8
c0t3d0 Yes id1,sd@n5000c50004401817
c0t4d0 Yes id1,sd@n5000c5000613253b

Below is format Disks list
bash-3.00# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1e,600000/pci@0/pci@2/scsi@0/sd@0,0
1. c0t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1e,600000/pci@0/pci@2/scsi@0/sd@1,0
2. c0t3d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1e,600000/pci@0/pci@2/scsi@0/sd@3,0
3. c0t4d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1e,600000/pci@0/pci@2/scsi@0/sd@4,0
4. c0t5d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1e,600000/pci@0/pci@2/scsi@0/sd@5,0
5. c0t6d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1e,600000/pci@0/pci@2/scsi@0/sd@6,0
6. c0t7d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1e,600000/pci@0/pci@2/scsi@0/sd@7,0


I want to c0t4d0 with c0t6d0, c0t4d0 has some HW erros.
How can I do ?

blueh2o 01-04-2013 12:07 PM

Did you mean you want to replace with target 7? It looks like target 6 is already a member of the array. I think you want to use metareplace d5 c0t4d0s0 c0t7d0s0.. Check out the man page for metareplace for more.

thirupathi 01-05-2013 12:48 AM

Target 6 is not part of array, is it fine if I do metareplace, coz RAID is with 3 disks only

blueh2o 01-05-2013 11:05 AM

Quote:

Originally Posted by thirupathi (Post 4863308)
Target 6 is not part of array

It sure looks like your array consists of targets 6, 3, and 4.


All times are GMT -5. The time now is 05:37 PM.