1)hpssacli ctrl all show config |grep -i failed
[root@server1 ~]# hpssacli ctrl all show config |grep -i failed
logicaldrive 3 (2.7 TB, RAID 0, Failed)
physicaldrive 1I:1:11 (port 1I:box 1:bay 11, SATA, 3 TB, Failed)
logicaldrive 6 (2.7 TB, RAID 0, Failed)------------------------------------------------>need to fix this
[root@server1 ~]#
2) hpssacli ctrl slot=0 ld 6 show
[root@server1 ~]# hpssacli ctrl slot=0 ld 6 show
Smart Array P420i in Slot 0 (Embedded)
array F
Logical Drive: 6
Size: 2.7 TB
Fault Tolerance: 0
Heads: 255
Sectors Per Track: 32
Cylinders: 65535
Strip Size: 256 KB
Full Stripe Size: 256 KB
Status: Failed
Caching: Enabled
Unique Identifier: 600508B1001CF0EFCDFA07B1FBB2832C
Disk Name: /dev/sdf
Mount Points: /data/5 2.7 TB
OS Status: LOCKED
Logical Drive Label: A4AD5B765001438026531CB0 D8C8
Drive Type: Data
LD Acceleration Method: Controller Cache
[root@server1 ~]#
3)hpssacli ctrl slot=0 ld 6 modify reenable forced
4) hpssacli ctrl slot=0 ld 6 show
5)umount /data/5
6)fsck.ext4 -fy /dev/sdf1
7)dumpe2fs -h /dev/sdf1 | grep -e state -e checked
8)mount /data/5
9)df -Th /data/5
10) hpssacli ctrl slot=0 ld 6 show