LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 01-04-2013, 04:12 AM   #1
thirupathi
LQ Newbie
 
Registered: May 2012
Location: Singapore
Distribution: RHEL
Posts: 22

Rep: Reputation: Disabled
Smile 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 ?

Last edited by thirupathi; 01-04-2013 at 04:14 AM.
 
Old 01-04-2013, 12:07 PM   #2
blueh2o
Member
 
Registered: Jul 2011
Posts: 63

Rep: Reputation: 2
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.
 
Old 01-05-2013, 12:48 AM   #3
thirupathi
LQ Newbie
 
Registered: May 2012
Location: Singapore
Distribution: RHEL
Posts: 22

Original Poster
Rep: Reputation: Disabled
Target 6 is not part of array, is it fine if I do metareplace, coz RAID is with 3 disks only
 
Old 01-05-2013, 11:05 AM   #4
blueh2o
Member
 
Registered: Jul 2011
Posts: 63

Rep: Reputation: 2
Quote:
Originally Posted by thirupathi View Post
Target 6 is not part of array
It sure looks like your array consists of targets 6, 3, and 4.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Svm-raid-1 SBN Solaris / OpenSolaris 3 03-15-2012 03:31 PM
SVM and bootsector on 2nd disk czezz Solaris / OpenSolaris 3 08-18-2010 06:04 AM
fsck a SVM RAID 0??? L1nuxn00b703 Solaris / OpenSolaris 1 03-02-2010 05:43 AM
replace failure disk and rebuild RAID with mdadm ufmale Linux - Software 0 11-15-2007 02:24 PM


All times are GMT -5. The time now is 12:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration