![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||
Solution Type Predictive Self-Healing Sure Solution 2332709.1 : Sparc Servers : Replacing a Smaller Older Disk with a Newer Larger Capacity Disk
In this Document
Applies to:Sun Fire 12K ServerSun Fire 15K Server Sun Fire E25K Server Sun Fire 4800 Server Sun Fire 6800 Server SPARC PurposeMany older, smaller, and low capacity drives have become discontinued by their manufacturer. When parts supply or mean time between failure becomes unacceptable to Oracle, we may send a newer supported drive as a replacement. It requires some pre-setup to replace the failed disk but will increase the stability of SUN Sparc Servers for our customers. ScopeThis Document will describe how to successfully mirror a new replacement disk which has a larger capacity then original failed mirror disk. DetailsAssumptions for this Document You have run the appropriate utilities and have determined that C1t1d0 has failed and that c1t0d0 is the remaining working member of the servers boot pool. Determining the failing disk slot position
Determine if the replacement system is part of a working mirror
Determining the size and file system label of working mirror disk It is possible that you may have one of three file systems on the disk. 1: M3000/M8000/M9000 and v440/V445 disks may have a LSI hardware raid file system on them. If you are not sure, reference the following doc and if hardware raid is present follow the directions in that DOC. 1009043.1 - How to Replace a Failed Disk Mirrored with the raidctl Command 2: All systems without hardware raid, (SVM,ZFS) will have either SMI or EFI labels on them and mirrored with software. It is important to match the label when re-mirroring the disk.
When you have replaced the disk it is critical to match the label. You will utilize this label info when replacing the failed disk. Labeling The new disk to match the existing Disk Before adding the replacement disk to the mirror we need to insure that the labels match. Therefore it is important to run the format command with the -e qualifier on the new disk to properly type and label it to make it ready to use. Even if the disk is correctly labeled out of the box it is important to complete this step because it puts a "default" label with a "default" partition table on the replacement disk. This will ensure that the next steps are successful. EXAMPLE: # format -e
Searching for disks...done AVAILABLE DISK SELECTIONS: AVAILABLE DISK SELECTIONS: C0t1d0 << Chose this disk because according to SR, it was the failing mirror disk. Also note the type of disk is <SUN72G> A 72 GB disk [disk formatted] The format command returned disk to match the size of the working mirror in this case the working mirror member is 72 GB So we want to make it be seen as a "72GB" disk driveFormat> type 19. SUN72G <<<< 19 is the correct type Specify disk type (enter its number)[20]: 19 Oracle Solaris utilizes 2 disk labels. SMI this is the legacy label which Solaris has always used on SPARC. It really only matters that the label utilized label is utilized on the working mirror is duplicated on the replacement disk. It is important to verify the label on the working side of the mirror and match it to the new replacement disk. In the example below c0t1d0s0 is the remaining working volume in the mirror so it is queried with the prtvtoc command. If the label has a partition 8 it is a EFI label Example: "SMI Label" ----------------------------------------------------------------------------------------- EFI Label ----------------------------------------------------------------------------------------- If you look at partition 0 you can see that sector 0 does not start at block 0 this is a EFI label. ----------------------------------------------------------------------------------------- If you have a SAS/SATA/SCSI disk you can utilize "cfgadm" to deconfigure your device. "Solaris 10 Replacing SCSI/SATA/SAS Disk" OR If you have a fiberdisk, (V480,V880,V490,V890, you will not be able to use cfgadm to unconfigure the disk. Utilize luxadm utility to replace it. Once disk is unconfigured it is ok to remove it from the system. Insert the new disk and reconfigure it into the system. Now label the disk. It is important to complete this step because it puts a default partition table on it so we can create the new partition table in the next command format> label Exit format # prtvtoc /dev/dsk/c0t1d0s2 |fmthard -s - /dev/rdsk/c0t0d0s2
Now follow the procedure to rebuild partitions and add the disk back to the correct root pool. In this example c0t0d0s0 which was the replacement disk was changed to an SMI label to match c0t1d0s0. If it was found that the working mirror disk was EFI then we would have changed it to a EFI label with the label command under format -e. Once the labels match you are ready to replace the defective mirror Exception Information If issues arise and you cannot get disk to mirror the following doc will provide more reference for the "# format -e > type" command and use the type menu item on the replacement. See Utilizing the type command to assist mirroring. References<NOTE:2049270.1> - Solaris 10 Fails To Replace a SCSI Disk under SVM - Application(s) accessing previously attached SATA device have to release it before newly inserted device can be made accessible.<NOTE:2287066.1> - Using a 146GB FC-AL disk to replace a 72GB FC-AL disk which is part of a mirrored volume. <NOTE:1010753.1> - Solaris Volume Manager (SVM) How to Replace Internal System FC-AL Disks in 280R, V480, V490, V880, V890, and E3500 Servers <NOTE:2328288.1> - How to Replace a Disk in a ZFS rpool for a Sparc Solaris System Attachments This solution has no attachment |
||||||||||||||||||
|