by JoKeru

HP Smart Array (cciss)

[cc lang='bash']
\$ dmidecode -t system
# dmidecode 2.9
SMBIOS 2.7 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: HP
Product Name: ProLiant DL160 G6
Serial Number: CZJ2041N5P
UUID: C74FBB01-FE8E-11D5-84D0-E4115BE24033
Wake-up Type: Power Switch
SKU Number: 590161-421

\$ lspci | grep -i raid
04:00.0 RAID bus controller: Hewlett-Packard Company Smart Array G6 controllers (rev 01)

\$ apt-get install cciss-vol-status -y
\$ cciss_vol_status /dev/cciss/c0d0
/dev/cciss/c0d0: (Smart Array P410) RAID 1 Volume 0 status: OK.

\$ cat /proc/driver/cciss/cciss0
cciss0: HP Smart Array P410 Controller
Board ID: 0x3243103c
Firmware Version: 5.14
IRQ: 66
Logical drives: 1
Current Q depth: 0
Current # commands on controller: 0
Max Q depth since init: 17
Max # commands on controller since init: 28
Max SG entries since init: 31
Sequential access devices: 0

cciss/c0d0: 299.96GB RAID 1(1+0)

# add HP Repository
\$ wget
\$ bash mcp
\$ wget
\$ apt-key add GPG-KEY-mcp
\$ apt-get install hpacucli -y

\$ hpacucli controller all show
Smart Array P410 in Slot 4 (sn: PACCRID11511P22)

\$ hpacucli controller slot=4 show
Smart Array P410 in Slot 4
Bus Interface: PCI
Slot: 4
Serial Number: PACCRID11511P22
RAID 6 (ADG) Status: Disabled
Controller Status: OK
Hardware Revision: C
Firmware Version: 5.14
Rebuild Priority: Medium
Expand Priority: Medium
Surface Scan Delay: 15 secs
Surface Scan Mode: Idle
Wait for Cache Room: Disabled
Surface Analysis Inconsistency Notification: Disabled
Post Prompt Timeout: 0 secs
Cache Board Present: False
Drive Write Cache: Disabled
Total Cache Size: 0 MB
SATA NCQ Supported: True

\$ hpacucli controller slot=4 logicaldrive all show status
logicaldrive 1 (279.4 GB, RAID 1): OK

\$ hpacucli controller slot=4 physicaldrive all show status
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, 300 GB): OK
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, 300 GB): OK

\$ hpacucli controller slot=4 logicaldrive all show detail
Smart Array P410 in Slot 4
array A
Logical Drive: 1
Size: 279.4 GB
Fault Tolerance: RAID 1
Heads: 255
Sectors Per Track: 32
Cylinders: 65535
Strip Size: 256 KB
Full Stripe Size: 256 KB
Status: OK
Caching: Disabled
Unique Identifier: 600508B1001C1DA39D89564CAB450F10
Disk Name: /dev/cciss/c0d0
Mount Points: /boot 487 MB, / 271.4 GB
Logical Drive Label: AF0C8CFBPACCRID11511P223267
Mirror Group 0:
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 300 GB, OK)
Mirror Group 1:
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 300 GB, OK)
Drive Type: Data

\$ hpacucli controller slot=4 logicaldrive 1 modify caching=enable
Error: This operation is not supported with the current configuration. Use the
"show" command on devices to show additional details about the
Reason: Cache board not present