LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-23-2010, 09:40 AM   #1
mattca
Member
 
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333

Rep: Reputation: 56
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!
 
Old 06-23-2010, 11:51 AM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
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.)
 
Old 06-23-2010, 11:59 AM   #3
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
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.
 
Old 06-23-2010, 12:22 PM   #4
mattca
Member
 
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by mostlyharmless View Post
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.
That's what I was hoping.. thanks.
 
Old 06-23-2010, 12:30 PM   #5
mattca
Member
 
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by Richard Cranium View Post
Yeah, don't do it.
Unfortunately that's not really an option at this point. I didn't have any say in the hardware setup.. the equipment was purchased, and I was asked to install linux on it.

Quote:
you need to consider that many hardware RAID controllers create RAID devices that can be used by only that type of hardware RAID card
I don't understand what you mean. We already have the hardware pieces, which presumably will all be compatible with each other. At least I hope so, otherwise someone made some poor choices when purchasing it..

Quote:
I've found software RAID to work for my needs, but my needs didn't include running a file server at work.
This is for our video team, who eat TBs for breakfast. We've had software raid running for a year now, and the initial sync took about a day and a half. Don't know if hardware raid will improve that situation, but it seems like it will simplify things overall.
 
Old 06-23-2010, 03:01 PM   #6
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 461

Rep: Reputation: 78
Quote:
"you need to consider that many hardware RAID controllers create RAID devices that can be used by only that type of hardware RAID card"
I don't understand what you mean. We already have the hardware pieces, which presumably will all be compatible with each other. At least I hope so, otherwise someone made some poor choices when purchasing it..
I agree with Richard Cranium. I find myself exactly in trouble with a HP Proliant Hardware RAID, when I was changing Operating System from Suse to Slackware (it is possible its not true hardware RAID). I had two hard drives in one mirrored ARRAY which was configured by a BIOS utility. It was alive for two years with lots of data on it.
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.

Last edited by hua; 06-23-2010 at 03:09 PM.
 
Old 06-23-2010, 10:39 PM   #7
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by mattca View Post
I don't understand what you mean. We already have the hardware pieces, which presumably will all be compatible with each other. At least I hope so, otherwise someone made some poor choices when purchasing it..
Well, I don't know what Adaptec card you are using that provides hardware RAID. There is a greater than zero chance that whatever metadata is written onto the drives used to constitute the RAID device(s) will only work with that particular Adaptec card.

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.
 
Old 06-24-2010, 09:22 AM   #8
mattca
Member
 
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by Richard Cranium View Post
Well, I don't know what Adaptec card you are using that provides hardware RAID. There is a greater than zero chance that whatever metadata is written onto the drives used to constitute the RAID device(s) will only work with that particular Adaptec card.

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.
Thanks for the heads up. Unfortunately I don't have as much control over the situation as following your advice would require. I was not involved in or consulted on the purchasing of the hardware, I was just told to install linux on it. It's been purchased, the decision was made, it's done. I'll let them know about the potential limitations, but other than that it's not my problem. My problem is to make it work. Then I go back to my regular job (which has nothing to do with server administration). I just happen to be the only one here with considerable linux knowledge.

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
 
Old 06-24-2010, 09:26 AM   #9
mattca
Member
 
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333

Original Poster
Rep: Reputation: 56
This is what the Adaptec site says about the card we have:

Quote:
The Series 3 family of Adaptec Unified Serial™ (SATA/SAS) RAID controllers hits the sweet spot of flexibility and performance by supporting either high-capacity SATA drives, high-performance SAS drives, or both on a single system.

The Adaptec RAID 3405 features 500 MHz of processing power, a 128MB ECC-protected data cache, connectivity with x4 PCI-Express, and scalability up to 128 devices using SAS expanders.

The Adaptec RAID 3405 supports a wide range of operating systems, compatibility with more than 300 third-party devices, and full integration with Adaptec Storage Manager™ for centralized management of all Adaptec RAID controllers on the network.
The part in bold indicates that we shouldn't have a problem replacing the drives, correct?

Thanks.
 
Old 06-24-2010, 02:28 PM   #10
ryerke
Member
 
Registered: Dec 2006
Location: Fresno CA
Distribution: Slackware 13 Slackware 13.37 ARMEDSlack 13.37
Posts: 89

Rep: Reputation: 21
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.
 
Old 06-24-2010, 06:12 PM   #11
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by mattca View Post
The part in bold indicates that we shouldn't have a problem replacing the drives, correct?

Thanks.
Replacing the drives should never be a problem. What will you do when, not if, the card fails and you need that data yesterday. Hope you have a spare. With software raid, should the system suffer a catastrophic failure, to gain access to the data, connect the drives to any (well just about ) Linux system, and you'll have access to the data. With hardware RAID you'll need another card that is compatible with the one you currently have. Could mean the same model, and/or same firmware, and/or same bios version.

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.
 
Old 06-25-2010, 10:40 AM   #12
mattca
Member
 
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by disturbed1 View Post
If you're hell bent on using hardware raid
I am not hell bent on doing anything other than making this server work so I can go back to my real job and get my real work done, which has absolutely nothing to do with hardware or server administration.

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.
 
Old 06-26-2010, 12:58 AM   #13
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
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.
 
Old 06-26-2010, 01:47 AM   #14
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by mattca View Post
The part in bold indicates that we shouldn't have a problem replacing the drives, correct?
You can always replace the drives.

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.
 
1 members found this post helpful.
Old 06-26-2010, 02:15 PM   #15
ryerke
Member
 
Registered: Dec 2006
Location: Fresno CA
Distribution: Slackware 13 Slackware 13.37 ARMEDSlack 13.37
Posts: 89

Rep: Reputation: 21
Quote:
Originally Posted by mRgOBLIN View Post
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.
My thinking is that if the drives show separately then the RAID has not been set up properly. By the time the machine 'sees' the drives, they are already in a container. As long as the kernel modules load at boot you should certainly see the drive(s) (multiple if you have set up more than one container) and the install will follow normal procedure from that point. If you do not have the kernel modules you will either see an inaccurate representation of the RAID card or nothing at all. It seems to me that most, if not all, Adaptec hardware is supported in Linux so it will be only a matter of booting a huge or custom kernel or getting the proper modules into initrd. I use an AHA-2940U2 SCSI and if I don't include the module at boot you wouldn't believe what it can do to the IDE discovery.

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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Expanded Hardware Raid 5 Array doesn't show new free space Slackware 10.2 mgallatin Linux - Server 6 08-21-2010 04:48 PM
Slackware Fake Hardware RAID - Suggestions Erik_FL Slackware 5 05-20-2010 06:15 AM
Slackware 13 x64 Hardware Raid Install??? Sphex Slackware 4 11-25-2009 04:09 PM
LXer: Benchmarking hardware RAID vs. Linux kernel software RAID LXer Syndicated Linux News 0 07-15-2008 03:50 PM
Installing Slackware 10.1 on SATA Hardware(?) Raid 0, VIA VT8237 ftgow Slackware - Installation 7 09-16-2005 05:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration