SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just got a Dell Poweredge 1800 server and I'm trying to run Slackware 10.1 on it. The server has a PERC4/DC SCSI 320 RAID controller, with 2 drives in a RAID 1 configuration.
Slackware install went great. Using the raid.s kernel, everything installed just right out of the box. Seems to use the megaraid driver, and the PERC4/DC controller gets recognised as an LSI Logic MegaRAID LSI53C1030.
I built myself a 2.6.11.3 kernel and everything still seems good.
My only question is: How do I monitor the RAID status? I would like to know how to tell if a drive has failed and needs replacement. Is there a utility for this, that I can run on Slackware?
Dell shipped the machine with Red Hat Advanced Server (in the box, not pre-loaded) but I wanted to see if I could get it running on Slackware so that it would be consistent with our other Linux boxes. I couldn't find anything for Slackware on Dell's support site, since they don't officially support Slackware. There was one utility that looked like a RAID monitoring thing, but it was only available as an RPM for Red Hat.
So, any monitoring tools anyone knows about? Doesn't have to be fancy or GUI or anything. Just enough to get the job done.
Did you try rpm2tgz; move result to suitable tmp directory and then explodepkg on that result file. Dell's own package could meet your Slack needs. Chances aren't great it will work on a non redhat patched kernel but might give you clues to fiinding your answer for slackware.
I think I found the answer. LSI Logic has a command-line utility on their website for monitoring and rebuilding the RAID. They really don't make it obvious on Dell's or LSI's web sites that this is what you need; I found out about it digging through message board archives.
Anyway the utility is called megarc.
It's only supplied as a binary, but it executes just fine for me under Slack 10.1 on the Dell PE1800 box.
It gives text output, and I can run it from a cron job and grep the output for certain strings, and send out e-mails for failed drive notifications.
I have a similar configuration with yours. My server is Dell PowerEdge 1800, dual XEON 3.00GHz, 2GB memory and the Dell/Adapter RAID SATA 6 channels card with 6 SATA 150 HDs.
Since the server have just been purchased and I am new to the RAID configuration and monitoring, I am trying to test for RAID 1. The configuration of RAID 1 is OK. RAID 5 is my target approach.
The DRAC Card was not purchased.
The target server OS is Redhat Linux Enterprise AS 4. However, the supported OS verion for Redhat Linux Enterprise is only up to 3, with reference to the enclosed setup CD's documentation.
Now, I have two problems:
1. How to monitor the server health status and perform administrative tasks remotely without installing DRAC Card? As far as I know, the Server Administrator can do the task. However, I could not access the server with using a browser on port 1311. The OS is the Redhat Linux Enterprise 3. It had response and asked me to download an unknown file. The file name was different for each time when I tried to access. I guess the server port 1311 was being used by the Server Administrator.
2. When I install Redhat Linux Enterprise AS 4, the ethernet card could not be recongized. Even I downloaded and installed the driver that was downloaded from Dell's support site with no dependency, the ethernet card was displayed in the Hardware Browser, but could not be configured.
I would be appreciate if you or anyone give me a helpful suggestion. Thanks a lot!
I'm not using Red Hat so I'm not so familiar with the remote administration on it. We are running Slackware on both our Dell boxes.
If the RAID monitoring package from Dell won't work on your version of Red Hat, I suppose you could always fall back to the megarc utility like I did. It's command-line based so you can use it remotely via ssh.
I've had two different LSI RAID cards in my Slack server. You can use all of the following against the cards:
MegaMGR 3.8
megarc 1.11
megamgr 5.20
They all perform slightly different functions. megamgr is a GUI, megarc is command line, and MegaMGR is a daemon that monitors the RAID.
All of these use a script to drive the binary portion of the code. That script needs modifying a little, as the RAID cards no longer populate a major device node, they use a minor.
I can post diffs for all 3, if required.
Also, all 3 of the binary portions are statically linked, so they work on both the 32-bit, and the "pure" 64-bit versions of Slack.
***** Update *****
I just spotted, you are on Slack 10. The scripts work fine on that version, without modification.
BTW, when you start the GUI, don't assume it's frozen, if it takes a while before any options appear. That's quite normal.
***** 2nd Update *****
Jeez, I just noticed that this thread was resurrected from the dead. C'mon folks, what are you thinking.
Cheers.
Last edited by MQMan; 10-08-2009 at 05:40 PM.
Reason: Clarification about the scripts.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.