HW RAID CLI Tools

177 views
Skip to first unread message

Elias Gutknecht

unread,
May 2, 2018, 4:03:31 AM5/2/18
to esos-users
Hi
I am doing a project where I want to use ESOS as the Storage Solution

Now I've run into the problem that if i want to add or Remove something on the Hardware RAID section, whether a Volume or a Hot Spare, i get an Error that tells me that no Hardware RAID controllers were detected. However, it certainly can't be true that I have none; 
I have  a HP Smart Array P400i RAID Controller built in.
Is this particular RAID Controller not supported?

Additionally, the Error asks if the correct HW RAID CLI tools are installed.
And even though i would probably only need the Tools "hpacucli" and "hpssacli", I installed all the Tools that can be installed at the preparation of the Boot USB Stick, just to be sure. But still, it didn't work.

What do I have to do to fix this Issue?

I'm asking for somewhat quick help because, even though this whole thing is kind of a school project, the time is limited

Kindest regards and thanks in advance for the help
Elias

Marc Smith

unread,
May 2, 2018, 10:01:55 AM5/2/18
to esos-...@googlegroups.com
On Wed, May 2, 2018 at 4:03 AM, Elias Gutknecht
<elias.g...@gmail.com> wrote:
> Hi
> I am doing a project where I want to use ESOS as the Storage Solution
>
> Now I've run into the problem that if i want to add or Remove something on
> the Hardware RAID section, whether a Volume or a Hot Spare, i get an Error
> that tells me that no Hardware RAID controllers were detected. However, it
> certainly can't be true that I have none;
> I have a HP Smart Array P400i RAID Controller built in.
> Is this particular RAID Controller not supported?

I believe it should be... can you see anything in the output of dmesg
or lsscsi regarding the RAID controller and/or volumes or disks?


>
> Additionally, the Error asks if the correct HW RAID CLI tools are installed.
> And even though i would probably only need the Tools "hpacucli" and
> "hpssacli", I installed all the Tools that can be installed at the
> preparation of the Boot USB Stick, just to be sure. But still, it didn't
> work.
>
> What do I have to do to fix this Issue?

Provide the output of 'ls -ltr /opt/sbin/' so we can confirm they are
installed. What happens when you manually run the 'hpacucli' or
hpssacli' tools on the shell?

--Marc


>
> I'm asking for somewhat quick help because, even though this whole thing is
> kind of a school project, the time is limited
>
> Kindest regards and thanks in advance for the help
> Elias
>
> --
> You received this message because you are subscribed to the Google Groups
> "esos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to esos-users+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Elias Gutknecht

unread,
May 3, 2018, 4:40:07 AM5/3/18
to esos-users
I believe it should be... can you see anything in the output of dmesg
or lsscsi regarding the RAID controller and/or volumes or disks?
On the picture "Output.png" are the outputs of various commands like lsscsi or dmesg searched after 'RAID' and 'Controller'
But I actually don't really know what to do with it, i can't see anything helpful in particular 

Provide the output of 'ls -ltr /opt/sbin/' so we can confirm they are
installed. What happens when you manually run the 'hpacucli' or
hpssacli' tools on the shell?
They are all installed as seen on the "Output.png" picture
When i run either the hpacucli or the hpssacli tool, i get into a command line like shown on the picture "hpacucli and hpssacli.png"


Output.png
hpacucli and hpssacli.PNG

Jason Cecchin

unread,
May 3, 2018, 7:38:42 AM5/3/18
to esos-...@googlegroups.com

>They are all installed as seen on the "Output.png" picture

>When i run either the hpacucli or the hpssacli tool, i get into a command line like shown on the picture "hpacucli and hpssacli.png"

 

I think you will need to actually run a command to list that… (Detecting controllers could mean it just found none)

 

From the ACU command shell run a command like “ ctrl all show config” or “ ctrl all show status”  and this will actually tell you what it has detected

 

You can manipulate all drives and arrays from this shell via commands online.  You will need to setup the arrays and determine the Linux block devices presented.

(be careful however there is great potential to lose large amounts of data very quickly here)

 

Btw What server model are you running these “HP Smart Array P400i RAID Controllers on”??

--

Elias Gutknecht

unread,
May 3, 2018, 7:59:05 AM5/3/18
to esos-users

From the ACU command shell run a command like “ ctrl all show config” or “ ctrl all show status”  and this will actually tell you what it has detected

I've put in screenshots of the two commands
And as it seems it actually detects the RAID Controller 

 

You can manipulate all drives and arrays from this shell via commands online.  You will need to setup the arrays and determine the Linux block devices presented.

(be careful however there is great potential to lose large amounts of data very quickly here)

How would I do that?
It would be a way I could get it to work.

 

Btw What server model are you running these “HP Smart Array P400i RAID Controllers on”??

It's a HP ProLiant DL385 G7 

 


ctrl all show status.PNG
ctrl all show config.PNG

Jason Cecchin

unread,
May 3, 2018, 8:16:20 AM5/3/18
to esos-...@googlegroups.com

To check controller detected config:

 

First list all controllers with:         ctrl all show                       

 

Then list each controllers logical drives with (e.g. for controller 0):             ctrl slot=0 ld all show detail

This will output all the logical drives defined, look for a line “Disk Name” which will be your Linux block device e.g.   /dev/sda

 

 

From: esos-...@googlegroups.com [mailto:esos-...@googlegroups.com] On Behalf Of Elias Gutknecht
Sent: Thursday, 3 May 2018 9:29 PM
To: esos-users <esos-...@googlegroups.com>
Subject: Re: HW RAID CLI Tools

 

From the ACU command shell run a command like “ ctrl all show config” or “ ctrl all show status”  and this will actually tell you what it has detected

--

Elias Gutknecht

unread,
May 3, 2018, 8:44:50 AM5/3/18
to esos-users

To check controller detected config:

 

First list all controllers with:         ctrl all show                       

 

Then list each controllers logical drives with (e.g. for controller 0):             ctrl slot=0 ld all show detail

This will output all the logical drives defined, look for a line “Disk Name” which will be your Linux block device e.g.   /dev/sda

I don't know where you're going with this
Status shown to be OK

But could it be that the problem is here "Mount Points : None"  ?

Marc Smith

unread,
May 3, 2018, 10:47:29 AM5/3/18
to esos-...@googlegroups.com
Elias: You'll have to use the RAID CLI tool from the shell as Jason
described... when I first sent this message yesterday, I forgot we
don't have support in 'hw_raid_cli.py' yet for HP RAID controllers.
This is a to-do item, but I need access to the hardware in order to
complete this. If you or someone else (Jason maybe) would like to
contribute by extending the 'hw_raid_cli.py' script to support HP
controllers, this will enable the functionality in the TUI, and your
contribution would be greatly appreciated.

If you're interested, please contact me offline and I can assist.


Thanks!

--Marc

Elias Gutknecht

unread,
May 4, 2018, 2:47:03 AM5/4/18
to esos-users
Another question:

So it should still be possible to use ESOS' other functions like creating targets and "attach" them in e.g. Windows right?
Because that doesn't seem to work either

Or at least i don't get it done

-Elias

Marc Smith

unread,
May 4, 2018, 8:44:30 AM5/4/18
to esos-...@googlegroups.com
Yes, those will work regardless of the platform that is used to run
the terminal emulator that connects to the ESOS host (SSH).

--Marc
Reply all
Reply to author
Forward
0 new messages