Tuesday, 4 December 2018

Raid config for Sun T7-1 server

RAID Volumes:

-> set /HOST/bootmode script="setenv auto-boot? false"

 

ok show-devs
...
/pci@301/pci@2/scsi@0/disk@p0

 

ok devalias
...
scsi0                    /pci@301/pci@2/scsi@0
scsi                     /pci@301/pci@2/scsi@0
...
ok select scsi
ok show-volumes  
ok show-volumes
Volume 0 Target 389  Type RAID1 (Mirroring)
  WWID 03b2999bca4dc677
  Optimal  Enabled  Inactive 
  2 Members                    583983104 Blocks, 298 GB
  Disk 1 
    Primary  Optimal 
    Target 9      HITACHI  H103030SCSUN300G A2A8
  Disk 0 
    Secondary  Optimal 
    Target c      HITACHI  H103030SCSUN300G A2A8
ok inactive_volume activate-volume
ok 0 activate-volume
Volume 0 is now activated
ok unselect-dev
ok probe-scsi-all
/pci@301/pci@2/scsi@0
 
FCode Version 1.00.54, MPT Version 2.00, Firmware Version 5.00.17.00
 
Target a 
  Unit 0   Removable Read Only device   TEAC    DV-W28SS-R      1.0C                    
  SATA device  PhyNum 3 
Target b 
GB  Unit 0   Disk   SEAGATE  ST914603SSUN146G 0868    286739329 Blocks, 146 
  SASDeviceName 5000c50016f75e4f  SASAddress 5000c50016f75e4d  PhyNum 1 
Target 389 Volume 0 
  Unit 0   Disk   LSI      Logical Volume   3000    583983104 Blocks, 298 GB
  VolumeDeviceName 33b2999bca4dc677  VolumeWWID 03b2999bca4dc677
 
/pci@300/pci@2/usb@0/hub@3/storage@1/disk@0
  Unit 0   Removable Read Only device    AMI     Virtual CDROM   1.00
ok setenv auto-boot? true
To create a RAID volume, type:
# raidconfig create raid options -d disks
For example, to create a RAID 0 volume with a stripe size of 128 Kb and read-ahead caching enabled on controller 1, type the following command:
# raidconfig create raid --stripe-size=128 --read-cache=enabled -d c1d0,c1d1
    To delete a RAID volume, type:
# raidconfig delete raid option
For example:
  • To delete RAID volume 1 created on controller 1, type:
    # raidconfig delete raid -r c1r1
  • To delete all RAID volumes, type:
    # raidconfig delete raid --all

No comments:

Post a Comment