Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1001991.1
Update Date:2010-01-21
Keywords:

Solution Type  Technical Instruction Sure

Solution  1001991.1 :   Creating and Deleting HW Raid Mirrors on Sun Fire[TM] V440  


Related Items
  • Sun Fire V440 Server
  •  
Related Categories
  • GCS>Sun Microsystems>Servers>Entry-Level Servers
  •  

PreviouslyPublishedAs
202777


Description
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.



Steps to Follow
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 that cannot be
disabled.

Caution   Creating or restoring a disk mirror destroys all data previously stored on the

disk drive.

Perform this procedure to create an internal hardware disk mirror configuration on

your system.

Verify which disk drive corresponds with which logical device name and physical

device name.   Example: Type

# 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.

  1. 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.

  1. To delete the volume, type the following command:   # raidctl -d mirrored-volume

For example: # raidctl -d c1t0d0

       RAID Volume  c1t0d0  deleted

  1. To confirm that you have deleted the RAID array, type the following command:

# raidctl

For example: # raidctl

No RAID volumes found



Product
Sun Fire V440 [TM] Server

normalized, V440[TM], raid volume, create, delete, hwraid, mirror, raidctl
Previously Published As
78048

Change History
Date: 2007-12-03
User Name: 29589
Action: Approved
Comment: Publish SunFire norm workshop
Version: 10
Date: 2007-11-26
User Name: 106061
Action: Approved
Comment: Hi Wendy,
The only changes in this infodoc 78048 are in the keywords and audience (converted to Contract). No changes to the content are made.
Submitting the doc for re-publishing on sunsolve.
Thanks,
Dencho
Version: 0
Date: 2007-11-26

Product_uuid
d9146f34-fb56-4421-8498-f9ecb90a1349


Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback