![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Disk Replacement SVM | Actuator | SUN Solaris | 4 | 05-20-2008 10:14 PM |
| Hard disk replacement | adelgadom | Linux | 3 | 03-13-2008 09:56 AM |
| Regarding Replacement | rajx | UNIX for Dummies Questions & Answers | 2 | 05-22-2007 06:19 AM |
| Newbie: Sun Ultra 5 Disk Replacement | kalm | UNIX for Dummies Questions & Answers | 2 | 06-30-2005 08:04 AM |
| Replacement using sed | handak9 | UNIX for Dummies Questions & Answers | 5 | 07-13-2004 08:28 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Disk replacement with svm
I dont even know what raid level this is, but its raid 5 mirrored from the looks of it.
I have a failed disk (t12) within this mirror. What is the best way to replace this disk? 2 things concern me, isn't there a command to prepare the disk for a hot swap? and what should i do with the metadevices? and metadb's? delete them and rebuild after the disk is replaced? I thgouth there was an easier way to do it without reconfigure rebooting. su25e1n: / # metastat -p d100 -m d103 d113 1 d103 3 1 d102 \ 1 d104 \ 1 d106 d102 -p c0t11d0s0 -o 1 -b 2097152 d104 -p c0t11d0s0 -o 2097154 -b 2097152 d106 -p c0t11d0s0 -o 4194307 -b 2097152 d113 3 1 d112 \ 1 d114 \ 1 d116 d112 -p c0t12d0s0 -o 1 -b 2097152 d114 -p c0t12d0s0 -o 2097154 -b 2097152 d116 -p c0t12d0s0 -o 4194307 -b 2097152 su25e1n: / # echo | format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> /pci@1f,4000/scsi@3/sd@0,0 1. c0t8d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> /pci@1f,4000/scsi@3/sd@8,0 2. c0t9d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> /pci@1f,4000/scsi@3/sd@9,0 3. c0t10d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> /pci@1f,4000/scsi@3/sd@a,0 4. c0t11d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> /pci@1f,4000/scsi@3/sd@b,0 5. c0t12d0 <drive not available: formatting> /pci@1f,4000/scsi@3/sd@c,0 |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
I am not 100% sure about this, but you could just use metadetach to detach the d113 metadevice. Then replace the disk (you may have to recreate d113). The use metattach to recreate the mirror. The sync will be carried out by the system after the new mirror is attached.
|
|
#3
|
||||
|
||||
|
You may also need to use cfgadm or luxadm to ensure the disk is OK2RM (OK to remove) - what platform are you using (uname -i)
Cheers ZB |
|
#4
|
||||
|
||||
|
Quote:
How did you go with your didk replacement, I hope it all went well. If I was you I would fix that config aswell. d102, d104 and d106 are soft partitions d103 is a concat of these soft partitions d112, d114 and d116 are soft partitions d113 is a concat of these soft partitions d100 is a mirror of d103 and d113 A better layout would be. d100 -m d103 d113 1 d103 1 1 c0t11d0s0 d113 1 1 c0t12d0s0 |
||||
| Google The UNIX and Linux Forums |