Start a Conversation

Unsolved

O

8 Posts

4713

December 11th, 2019 06:00

Power Edge R340 - how properly monitor RAID on PERC in Debian 10?

Dell servers are new for me.

I have one on the desk with installed Debian 10 buster (i will not use Red Hat/Centos). What is the best way to monitor drive health and propper function of RAID?

With standard Linux tools, like smartmontools i can see only status of JBOD drivers. I cannot see any way how to monitor any drive behind PERC H330 or that small storage space with two SD cards ... (which is now dedicated for readonly part for hypervisor).

I searched for some DEB package which will allow me work with PERC - no success.

I don't have iDrac licence, because i just don't have another IPv4 for this machine and i don't want open any other services into internet.

Without monitoring it is more safe for me use mdadm and create software RAID. Is it only way?

2.9K Posts

December 11th, 2019 09:00

Unfortunately, the only software management option for a single node would be OpenManage Server Administrator,but while there is a version that was released for Ubuntu use, there isn't one listed for use in Debian. I'm not a Debian user, but I know that Ubuntu was based off of Debian. If you'd like to try one of those packages, I'll link to the page below.

Our other management offerings would need the iDRAC to have a routable IP. However, having your iDRAC reachable over the internet is not what support would consider to be best practice.

8 Posts

December 13th, 2019 05:00

Yes, i agree, open iDrac to the internet is very bad idea, but i have no intentions to do it.

I don't need fancy management bloatware with everything. I just need simple report about hardware status, if hardware is ok or not. Something like one command, which i can parse and filter with grep and then send email about it if needed. This is how we usually works on Linux.

lspci
02:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS-3 3008 [Fury] (rev 02)
(This forum really  for console outputs... where is tag PRE at least?)

I found this
https://www.dell.com/support/article/us/en/19/sln283135/how-to-use-the-poweredge-raid-controller-perc-command-line-interface-cli-utility-to-manage-your-raid-controller?lang=en

First - why it needs service tag? It is some driver for hardware, right? And because of that, it is unusable without that hardware. Let me some privacy.

Second problem - where is the generic Linux support? Why is every manufacturer so anoying and trying support only very few Linux distributions? There is whole world of many versions and many variants of secure Linux distributions. Just publish source codes or universal static binary (like nVidia does). I really hate use Red Hat, Ubuntu or SuSE. Not mention MS WIndows of any kind.

So thanks for problems.

Fine... i am counting to ten...

Then i downloaded all files under "Category" "SAS RAID" - Right now i still don't really know which one is for what.

mvcli_5.0.13.1103_A05.zip
perccli.efi
SAS-RAID_Firmware_G7N2C_LN_25.5.6.0009_A14.BIN
SAS-RAID_Firmware_MTPW6_LN64_2.5.13.3022_A06.BIN
SAS-RAID_Firmware_T23TV_LN_25.5.6.0009_A12.BIN

I cannot do anything with BIN. I cannot run perccli.efi, because it have inside Microsoft exe structure... ? Really, it starts with letters MZ. And i cannot use mvcli, it contains simple installer and some libmvraid.so libraries, but it seems to be unusable, install.sh copies files in propper directories, but it is all.

./mvcli: error while loading shared libraries: libmvraid.so: cannot open shared object file: No such file or directory

I tried mvcli in folder static too, but it fails with SIGSEGV.

So far, worst Linux support i ever seen.

8 Posts

December 13th, 2019 06:00

Finally i found this
https://www.dell.com/support/home/us/en/04/drivers/driversdetails?driverid=f48c2

At first look, it seems to be promissing
perccli_7.1-007.0127_linux.tar.gz

But at second look - inside is again one EXE file for MS Windows (??) and one rpm package which is not really convenient on Debian like distributions and derivates like Ubuntu of course.

But finally! Inside this RPM are two static binaries - standard ELF (Linux executable) and it does something.

It still , static binaries on Linux are like slap in the face, but better than nothing, as long, as it does what it should.

And it does something.2019-12-13_nc_antracit_perccli64_show_first_attempt.png

There are still so many questions.
- how it look like, when one drive is failing?
- how i should read these numbers?
- where is manual for this utility?

Right now i have 4 hard drives. Two of them are in mirror a two are standalone JBOD.

8 Posts

December 13th, 2019 06:00

I sent two posts, why are invisible? It waiting for moderation?

September 18th, 2020 21:00

This post is a little old but not too old.  I came here today looking for a Linux binary for Debian as well.  Got the tool at the link above and wanted to share this command with those who may find it helpful.

$ /opt/MegaRAID/perccli/perccli64 show verbose help

When they say "verbose", the mean verbose!  This command generates tens of thousands of lines of help on the show command, of which there are 133!


SYNTAX: perccli /cx show bootdrive

SYNTAX: perccli /cx show bootwithpinnedcache
SYNTAX: perccli /cx show activityforlocate
SYNTAX: perccli /cx show copyback
SYNTAX: perccli /cx show jbod
SYNTAX: perccli /cx show assemblynumber
SYNTAX: perccli /cx show tracernumber
SYNTAX: perccli /cx show vpd
SYNTAX: perccli /cx show boardname
SYNTAX: perccli /cx show sasadd
SYNTAX: perccli /cx show autorebuild
SYNTAX: perccli /cx show autopdcache
SYNTAX: perccli /cx show cachebypass
SYNTAX: perccli /cx show usefdeonlyencrypt
SYNTAX: perccli /cx show prcorrectunconfiguredareas
SYNTAX: perccli /cx show batterywarning
SYNTAX: perccli /cx show abortcconerror
SYNTAX: perccli /cx show ncq

This one has lots of info.

/opt/MegaRAID/perccli/perccli64 /c0 show all

No Events found!

Top