Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discovery Problem #15

Open
mkolobok72 opened this issue Feb 28, 2024 · 0 comments
Open

Discovery Problem #15

mkolobok72 opened this issue Feb 28, 2024 · 0 comments

Comments

@mkolobok72
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant