-
Notifications
You must be signed in to change notification settings - Fork 246
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
Disk Layout Generation with HP SmartArray with mor than one Logical Drive #455
Comments
Hi Wolfgang - understood. Could you the |
hpraid-config.tmp: ,---- This is the actual Smartarray config: |
Hi Gratien, any advaneces here? |
@wzwei sorry too busy with other projects (earning money gets priority as with free as beer I cannot make a living :) |
Hi Gratien, gdha notifications@github.com writes:
Same here. Erning money is sometimes very important ;-)
I will have look. Let's see what I can do. Regards, |
I found the issue. The script generates two listings: one for the logical drives and one for the In my opinion the correct way would be to run "$HPSSACLI ctrl all show config". This command is So I would go back to the older version of the script with the command above. |
Investigated on the history of 27_hpraid_layout.sh . Issue #208 introduced the current behavior: About a year ago hpacucli introduced a different order of arrays and logical drives. I would say Therefore I ask to change the code back to the way it worked before #208. |
If there is a known broken version of hpacucli then IMHO we should maybe On 6 October 2014 17:58, Wolfgang Zweimueller notifications@github.com
|
@pavoldomin your input is certainly welcome as SME. |
The release notes of hpacucli show nothing about fixed bugs. Maybe @pavoldomin can check his setup with a current version of hpacucli. Another note: It seems that HP supports both hpacucli and hpssacli! I am able to install both tools |
Hi, I agree with @wzwei it was hpacucli bug and I agree with @schlomo, the code should parse the output correctly regardless the hpacucli version. Did a small survey here; seems that only hpacucli version 9.30.15.0 suffers by the bug. Older as well as newer versions print the ctrl config correctly. Simple condition like:
should do it. I can pull a patch myself, but not soon, October does not look realistic :( @wzwei: hpacucli is obsolete, replaced by hpssacli in the Sept. 2013 HP SPP. |
Bad code for other versions of hpacucli was introduced by issue #208
added to the release notes so we can close this issue |
I experienced a bug in the generation of the disk layout file. My tests run on a system with four
disks building two Raid-1 logical drives. As far as I understand the array configuration part in the
recovery step, there should be two "logicaldrive"-Lines in disklayout.conf. Apparently mine has
only one entry:
logicaldrive /dev/sdb 0|B|2 raid=1 drives=1I:1:1,1I:1:2,1I:1:3,1I:1:4, spares= sectors=32 stripesize=256
But it should be like that:
logicaldrive /dev/sda 0|A|1 raid=1 drives=1I:1:1,1I:1:2, spares= sectors=32 stripesize=256
logicaldrive /dev/sdb 0|B|2 raid=1 drives=1I:1:3,1I:1:4, spares= sectors=32 stripesize=256
I had a look at 27_hpraid.layout.sh. The faulty part seems to be the while-loop starting at line 54.
Regards,
Wolfgang
The text was updated successfully, but these errors were encountered: