SPARC T4 RAID Setup (ZT)
http://www.confignotes.com/2013/09/sparc-t4-raid-setup/
How to configure a RAID volume with the internal Hard Drives on Oracle/SUN SPARC T4-1 and T4-2.
The RAID setup procedure below was tested in SPARC T4-1. This procedure also works on Netra SPARC T4-1 and T4-2.
1. At the Oracle ILOM prompt, disable auto-boot:
-> set /HOST/bootmode script=”setenv auto-boot? false” Set ‘script’ to ‘setenv auto-boot? false’
-> start /SYS Are you sure you want to start /SYS (y/n)? y Starting /SYS -> start /SP/console Are you sure you want to start /SP/console (y/n)? y Serial console started. To stop, type #. … auto-boot? = false {0} ok
3. View the preconfigured aliases:
{0} ok devalias ….. scsi0 should be the alias for /pci@400/pci@1/pci@0/pci@4/scsi@0 and scsi1 should be the alias for /pci@400/pci@2/pci@0/pci@4/scsi@0 ……
4. Select scsi0 (HDD attached to SCSI0):
{0} ok select scsi0
Note: To Unselect a device:
{0} ok unselect-dev
5. View HDDs attached to scsi0:
{0} ok show-children FCode Version 1.00.61, MPT Version 2.00, Firmware Version 9.00.00.00 Target 9 Unit 0 Disk HITACHI H109030SESUN300G A31A 585937500 Blocks, 300 GB SASDeviceName ….. PhyNum 0 Target a Unit 0 Disk HITACHI H109030SESUN300G A31A 585937500 Blocks, 300 GB SASDeviceName ….. PhyNum 1
6. Create RAID 1, Mirror RAID for example:
{0} ok 9 a create-raid1-volume Target 9 size is 583983104 Blocks, 298 GB Target a size is 583983104 Blocks, 298 GB The volume can be any size from 1 MB to 285148 MB What size do you want? [285148] Volume size will be 583983104 Blocks, 298 GB Enter a volume name: [0 to 15 characters] RAID1Demo Volume has been created
7. Verify new RAID1 Volume:
{0} ok show-volumes Volume 0 Target 381 Type RAID1 (Mirroring) Name RAID1Demo WWID 0c88478f6c67b46b Optimal Enabled Volume Not Consistent Background Init In Progress 2 Members 583983104 Blocks, 298 GB Disk 0 Primary Optimal Target 9 HITACHI H109030SESUN300G A31A PhyNum 0 Disk 1 Secondary Optimal Target a HITACHI H109030SESUN300G A31A PhyNum 1
FCode Commands:
show-children Lists all connected physical drives and logical volumes. show-volumes Lists all connected logical volumes in detail. create-raid0-volume Creates a RAID 0 volume (minimum two targets). create-raid1-volume Creates a RAID 1 volume (exactly two targets). create-raid1e-volume Creates a RAID 1e volume (minimum three targets). delete-volume Deletes a RAID volume. activate-volume Re-activate a RAID volume after the motherboard has been replaced. Usage Example: 0 delete-volume, where 0 is volume 0