How to configure/ reconfigure SmartArray RAID Controller

How to configure/ reconfigure the Internal RAID card on an HP-RX6600 Server with HP-UX




Here is an example, screenshot where I reconfigured a mirrored disk set.
There are totally 8 disks in the server and each 2 disks are mirrored.
The Logical drive number-2 has been deleted to get 2 free disks.
Note:
Check on OS side which disks are assigned to whatever volumes and double check if there is no DATA on the disks before performing this delete operation.
srvap01::root>saconfig /dev/ciss1

******************** SmartArray RAID Controller /dev/ciss1 ********************
Auto-Fail Missing Disks at Boot = disabled
Cache Configuration Status = cache enabled
Cache Ratio = 25% Read / 75% Write
---------- PHYSICAL DRIVES ----------
Location Ct Enc Bay WWID Size Status
Wii Hardware Bundle - WhiteInternal 1I 1 4 0x5000c5000abc8e01 146.8 GB OK

Internal 1I 1 3 0x5000c5000abb9e55 146.8 GB OK

Internal 1I 1 2 0x5000c5000eccbd45 146.8 GB OK

Internal 1I 1 1 0x5000c5000eccae31 146.8 GB OK

Internal 2I 1 8 0x5000c5000abcc631 146.8 GB OK

Internal 2I 1 7 0x5000c5000abc8571 146.8 GB OK

Internal 2I 1 6 0x5000c5000abbfb35 146.8 GB OK

Internal 2I 1 5 0x5000c5000aba8415 146.8 GB OK

---------- LOGICAL DRIVE 0 ----------
Device File = c1t0d0
RAID Level = 1+0
Size = 139979 MB
Stripe Size = 128 KB
Status = OK
Participating Physical Drive(s):
Ct Enc Bay WWID
1I 1 4 0x5000c5000abc8e01
1I 1 3 0x5000c5000abb9e55
Participating Spare Drive(s):
None
---------- LOGICAL DRIVE 1 ----------
Device File = c1t0d1
RAID Level = 1+0
Size = 139979 MB
Stripe Size = 128 KB
Status = OK
Participating Physical Drive(s):
Ct Enc Bay WWID
2I 1 8 0x5000c5000abcc631
2I 1 7 0x5000c5000abc8571
Participating Spare Drive(s):
None
---------- LOGICAL DRIVE 2 ----------
Device File = c1t0d2
RAID Level = 1+0
Size = 139979 MB
Stripe Size = 128 KB
Status = OK
 Participating Physical Drive(s):
Ct Enc Bay WWID
2I 1 6 0x5000c5000abbfb35
2I 1 5 0x5000c5000aba8415
Participating Spare Drive(s):
None
---------- LOGICAL DRIVE 3 ----------
Device File = c1t0d3
RAID Level = 1+0
Size = 139979 MB
Stripe Size = 128 KB
Status = OK
Participating Physical Drive(s):
Ct Enc Bay WWID
1I 1 2 0x5000c5000eccbd45
1I 1 1 0x5000c5000eccae31
Participating Spare Drive(s):
None

srvap01::root>pvdisplay /dev/dsk/c1t0d2

pvdisplay: Couldn't find the volume group to which

physical volume "/dev/dsk/c1t0d2" belongs.

pvdisplay: Cannot display physical volume "/dev/dsk/c1t0d2".





srvap01::root>saconfig /dev/ciss1 -D 2

Are you sure you want to delete logical drive 2 on

SmartArray RAID controller /dev/ciss1? (y/[n]): y

Logical drive 2 deleted





srvap01::root>
srvap01::root>pvdisplay /dev/dsk/c1t0d2

pvdisplay: Couldn't find the volume group to which
Physical volume "/dev/dsk/c1t0d2" belongs.

pvdisplay: Cannot display physical volume "/dev/dsk/c1t0d2".
srvap01::root>saconfig /dev/ciss1 -D 2

Are you sure you want to delete logical drive 2 on

SmartArray RAID controller /dev/ciss1? (y/[n]): y

Logical drive 2 deleted
srvap01::root>saconfig /dev/ciss1


******************** SmartArray RAID Controller /dev/ciss1 ********************
Auto-Fail Missing Disks at Boot = disabled

Cache Configuration Status = cache enabled

Cache Ratio = 25% Read / 75% Write



---------- PHYSICAL DRIVES ----------

Location Ct Enc Bay WWID Size Status
Internal 1I 1 4 0x5000c5000abc8e01 146.8 GB OK
Internal 1I 1 3 0x5000c5000abb9e55 146.8 GB OK
Internal 1I 1 2 0x5000c5000eccbd45 146.8 GB OK
Internal 1I 1 1 0x5000c5000eccae31 146.8 GB OK
Internal 2I 1 8 0x5000c5000abcc631 146.8 GB OK
Internal 2I 1 7 0x5000c5000abc8571 146.8 GB OK
Internal 2I 1 6 0x5000c5000abbfb35 146.8 GB UNASSIGNED
Internal 2I 1 5 0x5000c5000aba8415 146.8 GB UNASSIGNED



---------- LOGICAL DRIVE 0 ----------



Device File = c1t0d0

RAID Level = 1+0

Size = 139979 MB

Stripe Size = 128 KB

Status = OK



Participating Physical Drive(s):



Ct Enc Bay WWID

1I 1 4 0x5000c5000abc8e01

1I 1 3 0x5000c5000abb9e55



Participating Spare Drive(s):



None



---------- LOGICAL DRIVE 1 ----------



Device File = c1t0d1

RAID Level = 1+0

Size = 139979 MB

Stripe Size = 128 KB

Status = OK



Participating Physical Drive(s):



Ct Enc Bay WWID

2I 1 8 0x5000c5000abcc631

2I 1 7 0x5000c5000abc8571



Participating Spare Drive(s):



None



---------- LOGICAL DRIVE 3 ----------



Device File = c1t0d3

RAID Level = 1+0

Size = 139979 MB

Stripe Size = 128 KB

Status = OK



Participating Physical Drive(s):



Ct Enc Bay WWID

1I 1 2 0x5000c5000eccbd45

1I 1 1 0x5000c5000eccae31



Participating Spare Drive(s):



None



srvap01::root>ioscan -funC disk

Class I H/W Path Driver S/W State H/W Type Description

=================================================================================

disk 4 0/0/2/1.0.16.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-V

/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0

disk 1 0/6/0/0/0/0/1/0/0/0.0.0 sdisk CLAIMED DEVICE HP LOGICAL VOLUME

/dev/dsk/c1t0d0 /dev/dsk/c1t0d0s2 /dev/rdsk/c1t0d0 /dev/rdsk/c1t0d0s2

/dev/dsk/c1t0d0s1 /dev/dsk/c1t0d0s3 /dev/rdsk/c1t0d0s1 /dev/rdsk/c1t0d0s3

disk 2 0/6/0/0/0/0/1/0/0/0.0.1 sdisk CLAIMED DEVICE HP LOGICAL VOLUME

/dev/dsk/c1t0d1 /dev/rdsk/c1t0d1

disk 3 0/6/0/0/0/0/1/0/0/0.0.2 sdisk CLAIMED DEVICE HP LOGICAL VOLUME

/dev/dsk/c1t0d2 /dev/dsk/c1t0d2s2 /dev/rdsk/c1t0d2 /dev/rdsk/c1t0d2s2

/dev/dsk/c1t0d2s1 /dev/dsk/c1t0d2s3 /dev/rdsk/c1t0d2s1 /dev/rdsk/c1t0d2s3

disk 5 0/6/0/0/0/0/1/0/0/0.0.3 sdisk CLAIMED DEVICE HP LOGICAL VOLUME

/dev/dsk/c1t0d3 /dev/rdsk/c1t0d3





srvap01::root>ioscan -fun

Class I H/W Path Driver S/W State H/W Type Description

====================================================================================

tty 0 0/0/1/0 rmp3f01 CLAIMED INTERFACE PCI class(255,0) (103c1303)

tty 1 0/0/1/1 rmp3f01 CLAIMED INTERFACE PCI SimpleComm (103c1302)

tty 2 0/0/1/2 asio0 CLAIMED INTERFACE PCI Serial (103c1048)

/dev/diag/mux2 /dev/mux2 /dev/tty2p0

OO 0 0/0/2/0 UsbOhci CLAIMED INTERFACE USB OHCI Interface

OO 1 0/0/2/0.0 UsbMiniBus CLAIMED INTERFACE USB Composite Device

OO 2 0/0/2/0.0.0 UsbBootKeyboard CLAIMED DEVICE Virtual Keyboard

OO 3 0/0/2/1 UsbOhci CLAIMED INTERFACE USB OHCI Interface

OO 4 0/0/2/1.0 UsbMiniBus CLAIMED INTERFACE USB Composite Device

ext_bus 0 0/0/2/1.0.16 UsbScsiAdaptor CLAIMED INTERFACE USB SCSI Stack Adaptor

disk 4 0/0/2/1.0.16.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-V

/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0

ctl 2 0/0/2/1.0.16.7.0 sctl CLAIMED DEVICE Initiator

/dev/rscsi/c0t7d0

OO 8 0/0/2/2 UsbEhci CLAIMED INTERFACE USB EHCI Interface

graphics 0 0/0/4/0 gvid_core CLAIMED INTERFACE PCI Display (10025159)

lan 0 0/4/2/0 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core

lan 1 0/4/2/1 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core

ext_bus 1 0/6/0/0/0/0/1/0/0/0 ciss CLAIMED INTERFACE PCIe SAS SmartArray P400 RAID Controller

/dev/ciss1

disk 1 0/6/0/0/0/0/1/0/0/0.0.0 sdisk CLAIMED DEVICE HP LOGICAL VOLUME

/dev/dsk/c1t0d0 /dev/dsk/c1t0d0s2 /dev/rdsk/c1t0d0 /dev/rdsk/c1t0d0s2

/dev/dsk/c1t0d0s1 /dev/dsk/c1t0d0s3 /dev/rdsk/c1t0d0s1 /dev/rdsk/c1t0d0s3

disk 2 0/6/0/0/0/0/1/0/0/0.0.1 sdisk CLAIMED DEVICE HP LOGICAL VOLUME

/dev/dsk/c1t0d1 /dev/rdsk/c1t0d1

disk 3 0/6/0/0/0/0/1/0/0/0.0.2 sdisk CLAIMED DEVICE HP LOGICAL VOLUME

/dev/dsk/c1t0d2 /dev/dsk/c1t0d2s2 /dev/rdsk/c1t0d2 /dev/rdsk/c1t0d2s2

/dev/dsk/c1t0d2s1 /dev/dsk/c1t0d2s3 /dev/rdsk/c1t0d2s1 /dev/rdsk/c1t0d2s3

disk 5 0/6/0/0/0/0/1/0/0/0.0.3 sdisk CLAIMED DEVICE HP LOGICAL VOLUME

/dev/dsk/c1t0d3 /dev/rdsk/c1t0d3

ctl 1 0/6/0/0/0/0/1/0/0/0.7.0 sctl CLAIMED DEVICE Initiator

/dev/rscsi/c1t7d0

ipmi 0 250/0 ipmi CLAIMED INTERFACE IPMI Controller

/dev/ipmi

tty 3 250/1 asio0 CLAIMED INTERFACE Built-in RS232C

/dev/diag/mux3 /dev/mux3 /dev/tty3p0

acpi_node 0 250/2 acpi_node CLAIMED INTERFACE Acpi Hardware

usbmsvbus 0 255/1 mass_storage CLAIMED VIRTBUS USB Mass Storage



srvap01::root>pvdisplay /dev/dsk/c1t0d2

pvdisplay: Couldn't find the volume group to which

physical volume "/dev/dsk/c1t0d2" belongs.

pvdisplay: Cannot display physical volume "/dev/dsk/c1t0d2".





srvap01::root>rmsf -a -v /dev/dsk/c1t0d2

rmsf: Removing special file /dev/dsk/c1t0d2

rmsf: Removing special file dsk/c1t0d2s1

rmsf: Removing special file dsk/c1t0d2s2

rmsf: Removing special file dsk/c1t0d2s3

rmsf: Removing special file rdsk/c1t0d2

rmsf: Removing special file rdsk/c1t0d2s1

rmsf: Removing special file rdsk/c1t0d2s2

rmsf: Removing special file rdsk/c1t0d2s3





srvap01::root>ioscan -funC disk

Class I H/W Path Driver S/W State H/W Type Description

=================================================================================

disk 4 0/0/2/1.0.16.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-V

/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0

disk 1 0/6/0/0/0/0/1/0/0/0.0.0 sdisk CLAIMED DEVICE HP LOGICAL VOLUME

/dev/dsk/c1t0d0 /dev/dsk/c1t0d0s2 /dev/rdsk/c1t0d0 /dev/rdsk/c1t0d0s2

/dev/dsk/c1t0d0s1 /dev/dsk/c1t0d0s3 /dev/rdsk/c1t0d0s1 /dev/rdsk/c1t0d0s3

disk 2 0/6/0/0/0/0/1/0/0/0.0.1 sdisk CLAIMED DEVICE HP LOGICAL VOLUME

/dev/dsk/c1t0d1 /dev/rdsk/c1t0d1

disk 5 0/6/0/0/0/0/1/0/0/0.0.3 sdisk CLAIMED DEVICE HP LOGICAL VOLUME

/dev/dsk/c1t0d3 /dev/rdsk/c1t0d3





srvap01::root>saconfig /dev/ciss1



******************** SmartArray RAID Controller /dev/ciss1 ********************



Auto-Fail Missing Disks at Boot = disabled

Cache Configuration Status = cache enabled

Cache Ratio = 25% Read / 75% Write



---------- PHYSICAL DRIVES ----------



Location Ct Enc Bay WWID Size Status



Internal 1I 1 4 0x5000c5000abc8e01 146.8 GB OK

Internal 1I 1 3 0x5000c5000abb9e55 146.8 GB OK

Internal 1I 1 2 0x5000c5000eccbd45 146.8 GB OK

Internal 1I 1 1 0x5000c5000eccae31 146.8 GB OK

Internal 2I 1 8 0x5000c5000abcc631 146.8 GB OK

Internal 2I 1 7 0x5000c5000abc8571 146.8 GB OK

Internal 2I 1 6 0x5000c5000abbfb35 146.8 GB UNASSIGNED

Internal 2I 1 5 0x5000c5000aba8415 146.8 GB UNASSIGNED



---------- LOGICAL DRIVE 0 ----------



Device File = c1t0d0

RAID Level = 1+0

Size = 139979 MB

Stripe Size = 128 KB

Status = OK



Participating Physical Drive(s):



Ct Enc Bay WWID

1I 1 4 0x5000c5000abc8e01

1I 1 3 0x5000c5000abb9e55



Participating Spare Drive(s):



None



---------- LOGICAL DRIVE 1 ----------



Device File = c1t0d1

RAID Level = 1+0

Size = 139979 MB

Stripe Size = 128 KB

Status = OK



Participating Physical Drive(s):



Ct Enc Bay WWID

2I 1 8 0x5000c5000abcc631

2I 1 7 0x5000c5000abc8571



Participating Spare Drive(s):



None



---------- LOGICAL DRIVE 3 ----------
Device File = c1t0d3

RAID Level = 1+0

Size = 139979 MB

Stripe Size = 128 KB

Status = OK
Participating Physical Drive(s):

Ct Enc Bay WWID

1I 1 2 0x5000c5000eccbd45

1I 1 1 0x5000c5000eccae31

Participating Spare Drive(s):

None
srvap01::root>saconfig /dev/ciss1 -R 0 -P 2I:1:5 -P 2I:1:6

-s To specify a spare drive to be included in


srvap01::root>saconfig /dev/ciss1 -R 0 -p 2I:1:5 -p 2I:1:6

Logical drive 2 created

srvap01::root>saconfig

Installing Ingress Controller - Kubernetes

Installing the Ingress Controller Prerequisites Make sure you have access to the Ingress controller image: For NGINX Ingress controll...