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

Need megaraidsas-status but installing for Debian only delivers megaclisas-statusd #25

Closed
ovizii opened this issue Nov 3, 2015 · 5 comments

Comments

@ovizii
Copy link

ovizii commented Nov 3, 2015

The reason I am asking is that there is a difference in their output:

root@james:~# megaclisas-status
-- Controller informations --
-- ID | Model
c0 | LSI MegaRAID SAS 9260-4i

-- Arrays informations --
-- ID | Type | Size | Status | InProgress
c0u0 | RAID1 | 1818G | Optimal | None

-- Disks informations
-- ID | Model | Status
c0u0p0 | PN2134P6JLE8SPHGST HUS724020ALA640 MF6OAA70 | Online, Spun Up
c0u0p1 | PN2134P6JLJJETHGST HUS724020ALA640 MF6OAA70 | Online, Spun Up

root@james:~# megasasctl
a0 LSI MegaRAID SAS 9260-4i encl:1 ldrv:1 batt:good
a0d0 1862GiB RAID 1 1x2 optimal
a0e252s0 1863GiB a0d0 online
a0e252s1 1863GiB a0d0 online

I am much more interested in the second one as it is using megasasctl but I am unsure how to use this script and where to get a wrapper for it and how to set it to continuously run just like megaclisas-statusd

@eLvErDe
Copy link
Owner

eLvErDe commented Nov 3, 2015

Hello,

Better read the documentation here:

http://hwraid.le-vert.net/wiki/LSIMegaRAIDSAS

Regards, Adam.

Le 03/11/2015 17:43, ovizii a écrit :

The reason I am asking is that there is a difference in their output:

root@james:~# megaclisas-status
-- Controller informations --
-- ID | Model
c0 | LSI MegaRAID SAS 9260-4i

-- Arrays informations --
-- ID | Type | Size | Status | InProgress
c0u0 | RAID1 | 1818G | Optimal | None

-- Disks informations
-- ID | Model | Status
c0u0p0 | PN2134P6JLE8SPHGST HUS724020ALA640 MF6OAA70 | Online, Spun Up
c0u0p1 | PN2134P6JLJJETHGST HUS724020ALA640 MF6OAA70 | Online, Spun Up

root@james:~# megasasctl
a0 LSI MegaRAID SAS 9260-4i encl:1 ldrv:1 batt:good
a0d0 1862GiB RAID 1 1x2 optimal
a0e252s0 1863GiB a0d0 online
a0e252s1 1863GiB a0d0 online

I am much more interested in the second one as it is using megasasctl
but I am unsure how to use this script and where to get a wrapper for
it and how to set it to continuously run just like megaclisas-statusd


Reply to this email directly or view it on GitHub
#25.

@ovizii
Copy link
Author

ovizii commented Nov 3, 2015

hey Adam,

thanks for the pointer, that is exactly the site I came from. maybe i misunderstood so please correct me:

**Does this not indicate that megasasctl works? **
root@james:~# megasasctl
a0 LSI MegaRAID SAS 9260-4i encl:1 ldrv:1 batt:good
a0d0 1862GiB RAID 1 1x2 optimal
a0e252s0 1863GiB a0d0 online
a0e252s1 1863GiB a0d0 online

That page further says:

3.1.2. Periodic checks
You can write your own script around megasasctl to check your adapter status health periodically. >However, I already did this for you. See megaraid-status below.

megaraidsas-status is a wrapper script around megactl with periodics checks.

=> but I am not interested in megactl but in megasasctl.

megaraidsas-status
-- Arrays informations --
-- ID | Type | Size | Status
a0d0 | RAID 1 | 1862GiB | optimal

-- Disks informations
-- ID | Model | Status | Warnings
a0e252s0 | ATA HGST HUS724020AL 1863GiB | online
a0e252s1 | ATA HGST HUS724020AL 1863GiB | online

There's no battery info but megasasctl delivers battery output.
Maybe I'm just confused? Would you mind explaining?

@eLvErDe
Copy link
Owner

eLvErDe commented Nov 4, 2015

Hello,

Its actually the same package containing both tools.

Adam.

On November 4, 2015 12:12:50 AM GMT+01:00, ovizii notifications@github.com wrote:

hey Adam,

**thanks for the pointer, that is exactly the site I came from. maybe i
misunderstood so please correct me:

*_Does this not indicate that megasasctl works?
root@james:~# *_megasasctl
a0 LSI MegaRAID SAS 9260-4i encl:1 ldrv:1 **batt:good
a0d0 1862GiB RAID 1 1x2 optimal
a0e252s0 1863GiB a0d0 online
a0e252s1 1863GiB a0d0 online

**That page further says:

3.1.2. Periodic checks
You can write your own script around megasasctl to check your adapter
status health periodically. >However, I already did this for you. See
megaraid-status below.

megaraidsas-status is a wrapper script around megactl with periodics
checks.

**=> but I am not interested in megactl but in megasasctl.

**megaraidsas-status
-- Arrays informations --
-- ID | Type | Size | Status
a0d0 | RAID 1 | 1862GiB | optimal

-- Disks informations
-- ID | Model | Status | Warnings
a0e252s0 | ATA HGST HUS724020AL 1863GiB | online
a0e252s1 | ATA HGST HUS724020AL 1863GiB | online

**There's no battery info but megasasctl delivers battery output.

**Maybe I'm just confused? Would you mind explaining?


Reply to this email directly or view it on GitHub:
#25 (comment)

Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.

@ovizii
Copy link
Author

ovizii commented Nov 4, 2015

OK, one last question, maybe you can help me figure this out:

NONE of these scripts seems to be using megasasctl and that is the only command which shows anything about the battery status:

megaclisas-status
megaraid-status
megaraidsas-status

All I'm looking for is for some kind of warning mechanism when there are battery issues. Not sure if its possible anyway.

@eLvErDe
Copy link
Owner

eLvErDe commented Feb 10, 2016

Hello,

Please update your package, today's megaclisas-status update provide battery information.

Regards, Adam.

@eLvErDe eLvErDe closed this as completed Jul 3, 2019
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

2 participants