Open mkolobok72 opened 8 months ago
The HP server has two controllers. Disks are connected to one, but not to the second.
Utility output for the first controller /usr/sbin/hpacucli ctrl slot=0 ld all show
Smart Array P410i in Slot 0 (Embedded) array A logicaldrive 1 (1.1 TB, RAID 1+0, OK)
Utility output for the second controller /usr/sbin/hpacucli ctrl slot=3 ld all show Error: The specified device does not have any logical drives.
Output of your utility's disk definitions
/opt/raidstat/raidstat --vendor hp -d ct {"data":[{"{#CT_ID}":"3"},{"{#CT_ID}":"0"}]}
/opt/raidstat/raidstat --vendor hp -d pd Error executing command '/usr/sbin/hpacucli ctrl slot=3 pd all show': exit status 1
/opt/raidstat/raidstat --vendor hp -d ld Error executing command '/usr/sbin/hpacucli ctrl slot=3 ld all show': exit status 1
Instead of a general error, your utility should show disks from the first controller and ignore the error on the second
The HP server has two controllers. Disks are connected to one, but not to the second.
Utility output for the first controller /usr/sbin/hpacucli ctrl slot=0 ld all show
Smart Array P410i in Slot 0 (Embedded) array A logicaldrive 1 (1.1 TB, RAID 1+0, OK)
Utility output for the second controller /usr/sbin/hpacucli ctrl slot=3 ld all show Error: The specified device does not have any logical drives.
Output of your utility's disk definitions
/opt/raidstat/raidstat --vendor hp -d ct {"data":[{"{#CT_ID}":"3"},{"{#CT_ID}":"0"}]}
/opt/raidstat/raidstat --vendor hp -d pd Error executing command '/usr/sbin/hpacucli ctrl slot=3 pd all show': exit status 1
/opt/raidstat/raidstat --vendor hp -d ld Error executing command '/usr/sbin/hpacucli ctrl slot=3 ld all show': exit status 1
Instead of a general error, your utility should show disks from the first controller and ignore the error on the second