Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition | |||
|
|
Solution Type Technical Instruction Sure Solution 1006930.1 : How to use Hardware RAID on the Sun Fire [TM] V215/245 Servers
PreviouslyPublishedAs 209600
Applies to:Sun Fire V245 ServerSun Fire V215 Server - Version: Not Applicable and later [Release: N/A and later] All Platforms ***Checked for relevance on 07-Jun-2011*** GoalThis document provides the basic information of Hardware RAID functionality on the Sun Fire[TM] V215 and V245 serversSolutionSteps to FollowHardware - LSI SAS1064 4 Phy-wide SAS HBA built into the motherboard. The kernel module is "mpt". Each LSI1064 HBA supports up to 2 RAID volumes at any one time. Supported RAID Operations - Support for RAID0 (striping) and RAID1 (mirroring) RAID1 - mirroring
RAID0 - striping
Management of RAID volumes by use of the Solaris raidctl command
Examples 1.) Creating a mirror
# raidctl -c c0t0d0 c0t1d0
2.) Creating a stripe
# raidctl -c -r 0 c0t1d0 c0t2d0 c0t3d0
After RAID volume creation
Labeling Volumes After Creation After creating a RAID volume by using 'raidctl' or by using OBP level commands the volume must be labeled correctly before it can be used. This can be done using the 'format' command in Solaris: As the root user run 'format' and choose the newly created volume from the list of drives. After you perform these steps the drive is ready for use. You can now partition the drive as needed and use the volume within Solaris normally. Note also that after a RAID volume is deleted the drives that were previously part of the RAID volume should be re-labeled at that time for proper use also. RAID Volumes Possible Status OK - volume is optimal Disk Possible Status OK - disk is operating normally OBP Level Commands PLEASE NOTE: OBP Level RAID commands are NOT SUPPORTED and are not intended for normal customer use. Future firmware updates may change command behavior and/or remove access to these commands altogether. Before running the RAID OBP commands the auto-boot? variable needs to be set to false and the fcode-debug? variable needs to be set to true, then a reset-all is performed. After the reset finishes the controller must be selected. In the example below the "show-disks" command is used to determine the controller path. Note that the "/disk" was left off the path since it is the controller you want to select. (You can also use the probe-scsi-all command to find the path.) {1} ok setenv auto-boot? false {1} ok select /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1 The "show-volumes" command will show if there are any existing volumes and their state. {1} ok show-volumes If you wanted to create a volume you would select the controller as above and use the "create" command. The following example creates a mirrored volume with disks 0 and 1. {0} ok 0 1 create-im-volume Target 0 size is 143243264 Blocks, 73 GB Target 1 size is 143243264 Blocks, 73 GB The volume can be any size from 1 MB to 69943 MB What size do you want? [69943] Volume size will be 143243264 Blocks, 73 GB PhysDisk 0 has been created for target 0 PhysDisk 1 has been created for target 1 Volume has been created {0} ok This command creates a striped volume using disks 0 and 1 {0} ok 0 1 create-is-volume Target 0 size is 143243264 Blocks, 73 GB Target 1 size is 143243264 Blocks, 73 GB The volume can be any size from 1 MB to 139886 MB What size do you want? [139886] Volume size will be 286486528 Blocks, 146 GB PhysDisk 0 has been created for target 0 PhysDisk 1 has been created for target 1 Volume has been created {0} ok To unselect {0} ok unselect-dev when you have completed managing the RAID volumes you can set the auto-boot? and fcode-debug? variables back and reset the system: {1} ok setenv auto-boot? true Remember that even if you create a RAID volume at the OBP level you will still need to label the volume using format in Solaris before they can be properly used. If you have existing RAID volumes and have to replace the system board the {1} ok show-disks {1} ok select /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1 {0} ok show-volumes ( Look for the inactive volume) NOTE: IF the EEPROM variable "auto-boot?" was set to true you may get the following message. {0} ok select /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1 Base SAS World Wide ID is 0! This must be fixed immediately using set-sas-wwid If you do see this message set "auto-boot?" to false and issue a "reset-all" Internal Comments Audited/updated 12/03/09 - Ian.Macdonald@Sun.COM, Entry Level SPARC Content Team Member raid, disk, mirror, stripe, raid0, raid1, raidctl, format, v215, v245, sync, degraded Previously Published As 87435 Change History No significant change history recorded Date: 2007-07-06 User Name: 109125 Action: Update Canceled Comment: *** Restored Published Content *** I have moved the document to other technical subject. This update has been canceled. Sorry Product_uuid dd2799dd-e6e5-11da-ac3d-080020a9ed93|Sun Fire V245 Server Attachments This solution has no attachment |
||||||||||||
|