Slackware 13.1 hardware raid
Hi all, I will soon be installing Slackware 13.1 on a (file) server here at work. The server will use hardware raid, using an Adaptec card. I've never worked with hardware raid before, is there anything I need to know before I install? Software I need to include or exclude? Should the necessary drivers be included out of the box? Will I have to do any setup or configuration of the raid, or will the hardware just kind of do its thing?
I set up a software raid about a year ago, and it was a bit of a headache.. I assume hardware is simpler, but I have no experience. Any advice is appreciated! |
Yeah, don't do it.
That's a bit over the top, but you need to consider that many hardware RAID controllers create RAID devices that can be used by only that type of hardware RAID card. Since that's an Adaptec card, that probably won't be much of a problem; however, it isn't a problem that you have with software RAID. I'm sure the Adaptec site would have documentation on whatever specific card you are going to use. I've found software RAID to work for my needs, but my needs didn't include running a file server at work. :-) (I do run one at home, but I expect the demand there is much less than your server will have to handle.) |
If it's really hardware RAID, then it should be recognized as a single drive and no further work on your part should be necessary.
|
Quote:
|
Quote:
Quote:
Quote:
|
Quote:
I removed the hard drives and replaced them with new drives (where the new OS should go and used mdadm software RAID). I leave the old drives intact for possibility of later needs. Since I removed the old drives I was not able to access the data again. What is the worst in my case - I was used to put the drive with existing data into another PC where I just mount it by Slackware and can access everything I need on the existing partition. In this case I was not able to do that. I see only empty space on the drive. I was able to access data only when it was connected to the original RAID driver in HP Proliant. Finally I was not able access them at all. The BIOS utility showed me that the driver "port" was changed and the ARRAY is not "HEALTHY" - it cannot be repaired. I don't know, maybe I did used that RAID (utility) incorrectly but at that moment I was decided to try software RAID. Another thing was error reporting on drives. In cease a faulty drive I was not noticed about it. Now I use linux software RAID by mdadm, I setup notification by Webmin where the status of drives are monitored and when one drive goes wrong I am noticed by email. I also recovered successfully one bad hard drive in my RAID devices. I am really satisfied with mdadm. My personal experience is that your chances with linux software RAID are considerably higher. It seems to me that it is lot more flexible then the previous hardware RAID provided by the motherboard. Only just for share my experience. |
Quote:
Do NOT assume otherwise. If the Adaptec web site tells you otherwise, then you can almost certainly believe them, but do not believe that you can use software RAID or another vendor's card to recreate your RAID arrays unless there is documentation telling you that such things are possible. |
Quote:
So it sounds like it'll work fine - as easily as any other drive - but replacing the drives in the future could be an issue. Does that sound right? Thanks for your advice :) |
This is what the Adaptec site says about the card we have:
Quote:
Thanks. |
Having run a number of Dell PE systems, I am somewhat of a fan of a solid hardware RAID but I have never had the opportunity to try Linux on such a machine. If you are setting up a new system then you should have no problem, provided the modules are available. Container setup will be in the card BIOS and the resulting drive(s) will show as sdax, sdbx and so on. If you are trying to use an existing system with a new RAID card, you will likely not be able to recover anything of the former system and may find the disks unusable. My policy has always been to backup data and migrate a system if a change in RAID is required. Like I say, my experience had been exclusively Windows Server (pre-2003) but I prefer hardware RAID over software, at least in the arena of server machines.
|
Quote:
If you're hell bent on using hardware raid, and have a legit reason for needing hardware raid over software raid, order a spare card now, before the array is even active. Hardware raid does have its advantage in some applications with some cards. It's up to you do the research if the pros outweigh the cons. Be sure to check benchmarks of that card against benchmarks of Linux software raid. |
Quote:
Again, the decisions are not mine to make, potential data loss is not my problem, I don't have the authority to order a spare card, server administration is not my job and the hardware was already purchased without my knowledge or consultation. I'd welcome any helpful advice about setting Slackware up with hardware raid, but (everyone) please stop telling me to do something I have no control over. Hardware raid is being used, end of story. |
The install itself should be pretty straight forward with the raid array showing up as a normal single device.
Just set up the array first (with the BIOS utility) and then continue with the install as normal. If the drives show up separately (or not at all) then you may need to build a custom install kernel/initrd. I'd just be sure to let the purchaser know of the limitations mentioned above and make sure there are adequate backups in case the raid card fails. If you always treat raid as a form of redundancy and not as a "Backup Method" you'll be just fine. |
Quote:
It's the bleeping card that's the problem. Have the genius that is forcing you to use hardware RAID ask Adaptec what other cards can be used to replace the one that you intend to use if the card that you currently have fries/fails. If the answer is "just buy another one of the same model", then the potential data loss is on said genius. Make sure he CCs you with that answer so when they start looking at your ass when the something goes bad, you will have something to show "hey, I warned genius person over there". I have talked to too many friends who had used hardware RAID using a controller on the motherboard and found to their chagrin that they had to replace the failed motherboard with the exact same model to get their RAID arrays to reconstitute. (Or buy a controller card that matched the RAID controller on the original motherboard.) I've got 4 machines around here with hardware capable RAID controllers. Every RAID device in my house is software RAID. The CPU hit is negligible with my Adaptec AIC-7892A U160/m (rev 02) and my nVidia Corporation MCP78S [GeForce 8200] SATA Controller (non-AHCI mode) (rev a2) controllers. |
Quote:
To be honest, I have only used Dell PERC 2/3 si/sc/dc RAID setups but after many years of service I have never had one fail. Also - more honesty - I have never neglected DLT backups at regular intervals, just to be safe. One thing - before attempting Slackware, be certain that the Adaptec cards that you will be using are supported. If you need more detail about setting up containers, we can help with that too. |
All times are GMT -5. The time now is 04:58 PM. |