LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-30-2003, 05:24 PM   #16
Onemessedupjedi
Member
 
Registered: Sep 2003
Location: Oregon
Distribution: Slackware 9.1
Posts: 194

Rep: Reputation: 30

Maybe you should re-post that in success stories or something with the title of software raid howto or something(search-wise it'd help everyone right?)...because I came into this thread looking for hardware raid explanation :-/

That does sound very usefull however...and cheaper.

I have a question though, for raid 0 Can you make a swap partition accross the discs along with the / partition or is that unwise?

Since this is titled hardware raid may I ask some hardware raid questions?

http://www.ajump.com/ajump/product.a...2D99%2D4240148

Is the board I'm thinking of getting because mine's horrid and since it has hardware raid I'd like to use it (along with software for my ata drives)

The before said board has 2 SATA ports onboard that can use raid 0 or 1 can I use pci cards to add more than two drives to the array? Will the drives hooked into the controller cards write and read slower, thus slowing all the drives down(in raid0)?

Do you set up raid on hardware through bios?

Do the drives have to be identical in hardware raid?

I read up on SATA drives and the artical said they are only 5% faster the ata drives because they cannot use the higher speeds right now. Can they run faster in linux because of support or anything?

Okay, so the last one wasn't so much a raid question...

thanks for any help

Last edited by Onemessedupjedi; 11-30-2003 at 05:26 PM.
 
Old 12-04-2003, 04:36 AM   #17
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Quote:
Originally posted by Onemessedupjedi
Maybe you should re-post that in success stories or something with the title of software raid howto or something(search-wise it'd help everyone right?)...because I came into this thread looking for hardware raid explanation :-/

That does sound very usefull however...and cheaper.

I have a question though, for raid 0 Can you make a swap partition accross the discs along with the / partition or is that unwise?
Swap will use whatever device is most avialable, so no - don't try to do swap over software RAID. You could just have a swap partition on each drive and the kernel will manage it best. As for hardware RAID... I guess, but If you're tying into a lot of swap space I'd recommend more RAM. Lots.

Quote:


Since this is titled hardware raid may I ask some hardware raid questions?

http://www.ajump.com/ajump/product.a...2D99%2D4240148

Is the board I'm thinking of getting because mine's horrid and since it has hardware raid I'd like to use it (along with software for my ata drives)

The before said board has 2 SATA ports onboard that can use raid 0 or 1 can I use pci cards to add more than two drives to the array? Will the drives hooked into the controller cards write and read slower, thus slowing all the drives down(in raid0)?
Tough question. Short answer is possible, but you would be exposing yourself to some problems due to the schema. You'll have two SATA drives running RAID0 and then two ATA drives also running RAID0. You could use these to create a RAID0+1 array but personally I'd be uncomfortable with the mixing of controllers and such. Come to think of it I'm not even sure if you could use the SATA RAID device as a member of another software array.
Quote:

Do you set up raid on hardware through bios?
The RAID controller cards usually come with a BIOS array management utility accessible after the normal POST/boot sequence. Some arrays have additional management software but it is primarily Win32 based
Quote:

Do the drives have to be identical in hardware raid?
Nope, but the arrays will be built to accomodate the smallest member of the array and run at the limit of the slowest member.
Quote:

I read up on SATA drives and the artical said they are only 5% faster the ata drives because they cannot use the higher speeds right now. Can they run faster in linux because of support or anything?
A single drive is not much faster, but since the parent channel can handle a huge load of data the theory goes that more drives could equal better performance (at least in a non-redundant RAID0 configuration)
Quote:

Okay, so the last one wasn't so much a raid question...
So I turned it into one.
Quote:

thanks for any help
No prob.

An update on the Trinity rig that I used in the afformentioned post - I made some changes and had to pump 50GB back onto the array from a single drive. I had an overall average write speed of 15.7MB/second (Around 48GB of data copied with plain old cp -pr in 52 minutes) . Keep in mind that I'm only using ATA/66 controllers, but I think that's pretty impressive

[edits: a bajillionkajillion typos. My keyboard acts funny after around 2am ]

Last edited by mcleodnine; 12-04-2003 at 04:44 AM.
 
Old 12-04-2003, 06:21 PM   #18
Onemessedupjedi
Member
 
Registered: Sep 2003
Location: Oregon
Distribution: Slackware 9.1
Posts: 194

Rep: Reputation: 30
Thank you so much. I wrote the onboard+pci sata controller question wrong yet you still give me an answer
Also, thank you for proving my pc hardware teacher wrong in just about every aspect of raid .
 
Old 03-29-2007, 03:44 PM   #19
moon2js
LQ Newbie
 
Registered: Nov 2004
Location: Virginia
Posts: 5

Rep: Reputation: 0
FastTrak66 Ultra ATA/66 RAID card

Sorry to dig up such an ancient post, but I'm in much the same boat (four years later) with virtually the same equipment as described in mcleodnine's "recent example."

I'd like to make a backup repository for household/family uses (basically something to copy /home and My Documents dirs regularly, maybe remotely) on a home server. I have few bones about performance or uptime; this is completely low-budget personal usage.

I found that Promise (PDC20262) card on a system I'm turning into a server, and it's old, but it has never been used. I'm somewhat confused by this thread, but using the Promise card for a RAID would be a hardware or software method?

And if the Promise card suddenly fails after I set up a RAID with it, can I pop in another or how do I get my RAID back up?

Quote:
Originally Posted by mcleodnine
Notice that the drive naming skips /dev/hdf, /dev/hdh, /dev/hdj, as they would be slave drives on the primary and secondary device (on IDE2 and 3). Judging from my reading of mailing lists and other goodies it's a generally accepted rule that you should avoid using any slave drives in a RAID array. You controller can talk nicely to a single drive on a primary and secondary controller with little diffuculty, but adding a slave to the chain can choke the array as each drive must wait while its partner reads/writes. As to whether it's just pop mythology or undeniable fact I can't say fo sure. Any confimations or denials will be graciously accpeted.
Has anything new come up with this issue? According to the Promise Tech documentation I dug up, the card (I only have one) supports up to four drive (each pair, M/S). If I have no bones about performance, just the backup, is it OK to put more than two HDs on a card with 2 IDE channels?
 
Old 03-29-2007, 04:01 PM   #20
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
I love playing with dmraid, but in your case, since the card is limited to UDMA4 (66MB/s) I'd recommend that you go with mdadm. That will allow you to move the drives to a faster controller without trauma. With dmraid, you'd pretty much be stuck on that card.

The mdadm package is a bit confusing at first, but install it on your Linux system, study the man pages, look through the web and hear, and then try to create a RAID using your devices. If you run into trouble I'll give you a hand.

OTOH, if you're just looking for a way to backup documents, etc, get a DVD-R drive and plop your stuff on that periodically.
 
Old 03-29-2007, 04:59 PM   #21
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
The promise cards are software RAID. They are little more than a shell to plug drives into.

For home use it isn't bad, it just isn't nearly as good as hardware RAID. The difference is easily expressed as what handles the RAID function. If the OS does it, it is software RAID. If there is a specific piece of hardware (not your mobo) that is there just to do RAID, then it is hardware.

Regardless of how your physical setup goes, you very much want to use the greatest piece of perl on sourceforge, backuppc. It is a great piece of software that is configurable to backup many machines in different ways. For doing LAN backups, you'll have the best time with rsyncd in my opinion, but see for yourself.

http://backuppc.sourceforge.net

Peace,
JimBass
 
Old 03-29-2007, 05:54 PM   #22
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
"The promise cards are software RAID. They are little more than a shell to plug drives into. "

Well, the promise cards do allow you to create an array that's bootable by both Windows and Linux, but other than that, yes, they're just cards as far as Linux is concerned. A big problem with the FastTrak66 is that it's slooooowwww by modern standards. If the motherboard has a supported SATA controller, it would be MUCH better to put a big SATA drive on it, than to play with the Promise card. Barring that, if the native IDE controller is UDMA/133, then that would be much better to use (with a big drive) as well.
 
Old 03-29-2007, 07:03 PM   #23
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Promise controllers are not reliable and stable under Linux. I suggest buy a few Highpoint Rocket 100/133 because they are very reliable and stable under Linux.

UDMA-2 is good enough for 100 Mb networks. The transfer rate for hard drives ranges from a few kilobytes to 30 MB per second. This is after including the filesystem. It really does not matter what DMA level it is set at because RAID-0 or RAID-5 will eventually improve its write and read transfer rates. Also LVM2 and EVMS can also improve transfer rates because they try to do stripping when possible.

For software RAID, I suggest putting the hard drive on a separate controller. By doing this, a fail drive can bring down a controller with out effecting other hard drives.

Though you still have to think about backups even though your setup is software RAID. Hitachi has a 1 TB hard drive that is going to be selling around $400. That drive is cheaper than creating a terabyte array. You could buy a USB/IEEE-1394 (aka Firewire and i.Link) external enclosure that can handle a terabyte hard drive.
 
Old 03-29-2007, 07:17 PM   #24
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
"Promise controllers are not reliable and stable under Linux."

How so? What problems can I expect? I've been running 2 RAID0s on this FastTrak66 test mule for several weeks and I can't say that I see anything obviously unstable or unreliable.

Added:
You're not thinking about the RAID driver Promise released for 2.4 are you? That's not used with 2.6 and dmraid. But, I will agree that if the metadata gets buggered, it is a bitch to straighten out.

Last edited by Quakeboy02; 03-29-2007 at 07:38 PM.
 
Old 03-30-2007, 05:32 PM   #25
moon2js
LQ Newbie
 
Registered: Nov 2004
Location: Virginia
Posts: 5

Rep: Reputation: 0
Thanks to JimBass for clearing up the hardware/software Promise question for me. And thanks for the backuppc link. I was thinking of some rsync setup, but I'd also like to do backups over the internet, so that, say, my mother can click a button on her Windows desktop and schedule a backup of all her photos overnight. backuppc looks like what I want.

And thanks to Quakeboy02 for the mdadm tip. Sounds likes you're doing with your test mule what I'm hoping to do.

As far as the Promise controller goes, I wouldn't use it bootable, only as a backup repository -- the home server (and its other services) will be running off a disk on the regular IDE bus. So I'm OK with the card being slow, so long as it lets me put enough disks in the box and works.

Are there any good new-to-RAID resources for Linux software RAID besides the Software-RAID HOWTO (v1.1, 2004-06-03) that I should be googling?

Because I wonder how difficult is it to add new disks later to increase capacity to a software RAID/Promise array via, maybe, a spare IDE bus or on PCI IDE controllers; or if the Promise card should fail and I have to find some other physical arrangement for the disks, is it reasonably possible to reconfigure the software RAID to pick up and put back together the the pieces?
 
Old 03-30-2007, 06:09 PM   #26
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
If you use mdadm, then you shouldn't have any worries about moving the array to another controller if the Promise goes bad. You can do a search here on LQ for mdadm. Here are some other sites I've found, as well. It's not hard to use, but it's intimidating at first. Just play with it and you'll figure out how it goes.

http://www.linuxdevcenter.com/pub/a/...2/05/RAID.html

http://www.networknewz.com/networkne...anagement.html

Don't forget to look at the man pages, as well.
 
Old 04-03-2007, 06:32 PM   #27
moon2js
LQ Newbie
 
Registered: Nov 2004
Location: Virginia
Posts: 5

Rep: Reputation: 0
Thanks

Cool, thanks for the tips.
 
  


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
Dell "CERC" Raid-5 w/CENT OS. Is this true hardware RAID or just an expensive card? fireman949 Linux - Hardware 2 06-24-2005 05:44 PM
RAID Hardware majicrobot Linux - Software 2 09-23-2004 06:10 PM
hardware raid 1 ziggie216 Linux - Hardware 0 11-17-2003 10:23 PM
Hardware RAID PCI Card (Hardware?) MasterC Linux - Hardware 1 03-01-2003 01:19 AM
Software RAID vs Hardware RAID system Linux - General 3 12-25-2001 08:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:52 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