Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

HPUX Add RAID-5 external disk enclosure SA20 to Itanium rx2600

A9890A: PCI-X 2-channel Smart Array 6402 # sasmgr # saconfig # sautil /dev/ciss5,6 -s get info on msa30 To create a RAID 5 logical drive with capacity 45 GB to include SAS physical drives 1I:1:16, 1I:1:15, and 1I:1:14: /opt/raidsa/bin/saconfig /dev/ciss2 -R 5 -c 45 -p 1I:1:16 -p 1I:1:15 -p 1I:1:14 Now create the logical drives - the example: saconfig /dev/ciss3 -R 5 -p 1:0 -p 1:1 -p 1:2 -c 10 will create a RAID 5 on channel 1 disk 0, 1, 2 in size of 10 GB. run insf on the newly created "disks" and use it ...

# ls -l /dev/ciss* crw-rw-rw- 1 bin crw-rw-rw- 1 bin

bin bin

6 0x050000 May 16 12:54 /dev/ciss5 6 0x060000 May 16 12:54 /dev/ciss6 INTERFACE PCI-X SmartArray

ext_bus 5 0/3/1/0/4/0 ciss CLAIMED 6402 RAID Controller /dev/ciss5 ext_bus 6 0/5/1/0/4/0 ciss CLAIMED 6402 RAID Controller /dev/ciss6 --------------------------------------------------------eg config # /opt/raidsa/bin/saconfig /dev/ciss6

INTERFACE

PCI-X SmartArray

******************** SmartArray RAID Controller /dev/ciss6 ******************** Auto-Fail Missing Disks at Boot = disabled Cache Configuration Status = cache NOT configured Cache Ratio = N/A

---------- PHYSICAL DRIVES ---------Location Ch ID Size Status External 2 0 146.8 GB UNASSIGNED External 2 1 146.8 GB UNASSIGNED External 2 2 146.8 GB UNASSIGNED External 2 3 146.8 GB UNASSIGNED External 2 4 146.8 GB UNASSIGNED # saconfig /dev/ciss6 -R 5 -p 2:0 -p 2:1 -p 2:2 -p 2:3 -s 2:4 -R 5 // RAID-5 -p 2:0 // controller=2 9 (2nd col) & Disk=0 (3rd col ) -s 2:4 // hot spare disk if you ned it. saconfig /dev/ciss6 -R 5 -p 1:0 -p 1:1 -p 1:2 -p 1:3 -p 1:4 -p 1:5 -p 1:8 #saconfig /dev/ciss6 ******************** SmartArray RAID Controller /dev/ciss6 ******************** Auto-Fail Missing Disks at Boot = disabled Cache Configuration Status = cache NOT configured Cache Ratio = N/A ---------- PHYSICAL DRIVES ---------Location External External External External External External External Ch ID Size 1 1 1 1 1 1 1 0 1 2 3 4 5 8 300.0 GB 300.0 GB 300.0 GB 300.0 GB 300.0 GB 300.0 GB 300.0 GB Status UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED

root@dev03:/ #saconfig /dev/ciss5 ******************** SmartArray RAID Controller /dev/ciss5 ******************** Auto-Fail Missing Disks at Boot = disabled

Cache Configuration Status = cache NOT configured Cache Ratio = N/A ---------- PHYSICAL DRIVES ---------Location External External External External External External External Ch ID Size 1 1 1 1 1 1 1 0 1 2 3 4 5 8 300.0 GB 300.0 GB 300.0 GB 300.0 GB 300.0 GB 300.0 GB 300.0 GB Status UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED

root@dev03:/ /home = 32GB Now cabling. MSA30 top -> top conn top card MSA30 bot -> top conn bot card #saconfig /dev/ciss5 ******************** SmartArray RAID Controller /dev/ciss5 ******************** Auto-Fail Missing Disks at Boot = disabled Cache Configuration Status = cache NOT configured Cache Ratio = N/A ---------- PHYSICAL DRIVES ---------Location External External External External External External External Ch ID Size 2 2 2 2 2 2 2 0 1 2 3 4 5 8 300.0 GB 300.0 GB 300.0 GB 300.0 GB 300.0 GB 300.0 GB 300.0 GB Status UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED

root@dev03:/ #saconfig /dev/ciss6

******************** SmartArray RAID Controller /dev/ciss6 ******************** Auto-Fail Missing Disks at Boot = disabled Cache Configuration Status = cache NOT configured Cache Ratio = N/A ---------- PHYSICAL DRIVES ---------Location External External External External External External External Ch ID Size 1 1 1 1 1 1 1 0 1 2 3 4 5 8 300.0 GB 300.0 GB 300.0 GB 300.0 GB 300.0 GB 300.0 GB 300.0 GB Status UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED UNASSIGNED

root@dev03:/ saconfig /dev/ciss5 -R 5 -S 64 -p 2:0 -p 2:1 -p 2:2 -p 2:3 -p 2:4 -p 2:5 -p 2:8 -c 18 -R 5 // RAID-5 -S 64 // stripe size -c 18 // size = 18GB

To delete all config saconfig /dev/ciss6 -D all LVM stripe size = 4096 mknod /dev/vg01/group c 128 0x010000 mknod /dev/vg02/group c 128 0x020000 vgcreate -V 2.0 -s 64 -S 2t /dev/vg01 /dev/disk/disk9 /dev/disk/disk10 vgcreate -V 2.0 -s 64 -S 2t /dev/vg02 /dev/disk/disk11 /dev/disk/disk13 lvcreate -i 2 -I 4 -l 26814 /dev/vg01 mkfs -F vxfs -o ninode=unlimited,bsize=8192,version=7,inosize=256,logsize=262144,largefiles /dev/vg01/lvol1 1757282304

newfs -F vxfs -b 8192 -o largefiles /dev/vg01/rlvol1 newfs -F vxfs -b 8192 -o largefiles /dev/vg02/rlvol1 mount /dev/vg01/rlvol1 /u01 mount /dev/vg02/rlvol2 /u02

You might also like