Asset ID: |
1-71-1001991.1 |
Update Date: | 2018-02-14 |
Keywords: | |
Solution Type
Technical Instruction Sure
Solution
1001991.1
:
Creating and Deleting HW Raid Mirrors on Sun Fire[TM] V440
Related Categories |
- PLA-Support>Sun Systems>SPARC>Workgroup Servers>SN-SPARC: SF-V4x0
- _Old GCS Categories>Sun Microsystems>Servers>Entry-Level Servers
|
PreviouslyPublishedAs
202777
Applies to:
Sun Fire V440 Server - Version Not Applicable and later
All Platforms
Goal
This document provides the procedure to create or delete a hardware raid mirror in a Sun Fire[TM] V440. Support engineers should check the procedures in this document when assisting customers who may be asking for guidance in this process.
Solution
How to Create a Hardware Disk Mirror
Note:
To create a raid volume, the disk being mirrored must have a t# lower than the t# of the mirror disk. This requirement is due to the interaction between the way Solaris[TM] handles the boot disk and the built-in feature of the hardware raid controller. This feature cannot be disabled.
Caution Creating or restoring a disk mirror destroys all data previously stored on the disk drive.
Verify which disk drive corresponds with which logical device name and physical device name.
Example:
# raidctl
No RAID volumes found.
The example above indicates that no RAID volume exists. In another case:
# raidctl
RAID RAID RAID Disk
Volume Status Disk Status
----------------------------------------------------------------------------------
c1t1d0 DEGRADED c1t1d0 OK
c1t2d0 DEGRADED
The example above indicates a hardware mirror has degraded at disk c1t2d0.
-------------------------------------------------------------------------------------------------------------
Note - The logical device names might appear differently on your system, depending on the number and type of add-on disk controllers installed.
What to Do
1. Type the following command: # raidctl -c master slave
For example:
# raidctl -c c1t0d0 c1t1d0
When you create a RAID mirror, the slave drive (in this case, c1t1d0) disappears from the Solaris device tree.
2. To check the status of a RAID mirror, type the following command:
# raidctl
RAID RAID RAID Disk
Volume Status Disk Status
-------------------------------------------------------------------------------------------------
c1t0d0 RESYNCING c1t0d0 OK
c1t1d0 OK
The example above indicates that the RAID mirror is still resynchronizing with the backup drive.
The example below shows that the RAID mirror is completely restored and online.
# raidctl
RAID RAID RAID Disk
Volume Status Disk Status
-------------------------------------------------------------------------------------------------
c1t0d0 OK c1t0d0 OK
c1t1d0 OK
How to Delete a Hardware Disk Mirror
Perform this procedure to remove a hardware disk mirror configuration from your system.
Verify which disk drive corresponds with which logical device name and physical device name.
Disk Slot Numbers, Logical Device Names, and Physical Device Names
Disk Slot Number Logical Device Name* Physical Device Name
Slot 0 c1t0d0 /devices/pci@1f,700000/scsi@2/sd@0,0
Slot 1 c1t1d0 /devices/pci@1f,700000/scsi@2/sd@1,0
Slot 2 c1t2d0 /devices/pci@1f,700000/scsi@2/sd@2,0
Slot 3 c1t3d0 / /devices/pci@1f,700000/scsi@2/sd@3,0
______________________________________________________________________
*The logical device names might appear differently on your system, depending on the number and type of add-on disk controllers installed.
Determine the name of the mirrored volume. Type the following command:
# raidctl
RAID RAID RAID Disk
Volume Status Disk Status
-------------------------------------------------------------------------------------------------
c1t0d0 OK c1t0d0 OK
c1t1d0 OK
In this example, the mirrored volume is c1t0d0.
Note The logical device names might appear differently on your system, depending on the number and type of add-on disk controllers installed.
To delete the volume, type the following command: raidctl -d mirrored-volume
For example:
# raidctl -d c1t0d0
RAID Volume c1t0d0 deleted
To confirm that you have deleted the RAID device, type the following command: raidctl
For example:
# raidctl
No RAID volumes found
Previously Published As
78048
Attachments
This solution has no attachment