LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 03-08-2007, 04:15 PM   #1
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Software RAID5 - beware!


My machine specs:
Pentium 3 600MHz
Ubuntu 6.10
Nvidia 64MB video card
software RAID1 40GB (2x40GB IDE)
software RAID5 1TB (3x500GB SATA)

Just letting you guys know that the software RAID 5 in Ubuntu 6.10/Debian can be unreliable. If you write too many files to your RAID5 drive it will stall the system, so remember to TEST THE SYSTEM. I thought it was my hardware, but memory tests and physical tests on the hardware show that everything is fine. I then decided to try CentOS server edition with RAID5 and it has been working flawlessly. If you google up RAID5 debian and ubuntu, you will see that other people have this problem.

Just curious to see if anybody else is using software RAID5 and if it has been working out for them or not.
 
Old 03-08-2007, 06:02 PM   #2
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
Hardware RAID = Good.
Software RAID = Bad.

 
Old 03-08-2007, 06:10 PM   #3
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
I agree with you. If I could afford a hardware RAID5, I would totally do it, but those things are a few hundred dollars. As you can see, my poor pentium 3 should get the upgrade. Fortunately it's just acting as a file server so it's not heavy duty. I am not familiar with CentOS so I guess now is the time to start learning.
 
Old 03-08-2007, 06:11 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
I disagree with fukawi2. I generally recommend software RAID for smaller applications, as real hardware solutions are typically not cost effective. Hardware RAID is also not portable (between different controllers). Having run software RAID configurations for many years, they are very reliable.

That said, I've always used Redhat and Fedora for systems with software RAID. As CentOS is based on Redhat, I'm not surprised it worked. I personally have both software RAID-1 and software RAID-5, currently running on FC6.
 
Old 03-08-2007, 06:48 PM   #5
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
Looking from the point of view of "How valuable is my data to our company?"... The cost of Hardware RAID-5 is justified every time
 
Old 03-08-2007, 06:58 PM   #6
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
In a corporate environment, where high throughput is a requirement and a supply of spares is maintained on-site, absolutely.

In a home or small business, where any arbitrary set of block devices (IDE, SATA, SCSI, USB, Firewire) need to be RAIDed for capacity and reliability, software RAID rules.

For example, recently CompUSA dumped new 160GB external USB2.0/Firewire drives for $15 each. I was able to pick up 4, and created a hot-plug 440GB (available) RAID5 array for $60. You certainly wouldn't do that in a business environment (unless your I/O requirements would be met by 40MB/s drives and you had severe budgetary constraints), but for a home server, it doesn't get much better. Hardware RAID isn't even an option in this configuration, but the flexibility of software RAID allows you to just "make it work".
 
Old 03-08-2007, 07:31 PM   #7
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by macemoneta
That said, I've always used Redhat and Fedora for systems with software RAID. As CentOS is based on Redhat, I'm not surprised it worked. I personally have both software RAID-1 and software RAID-5, currently running on FC6.
I really love Ubuntu, but this whole data loss incident with RAID has made me doubt the reliability of Ubuntu. The sad thing is that I currently have a major file server at work using Ubuntu 6.06. So far it has been working great *knock on wood*! I have to deploy another file server in 2-weeks and I think I am going to go with CentOS server edition (1-cd). I am willing to sacrifice usability for reliability.
 
Old 05-20-2008, 05:52 AM   #8
donziggy
LQ Newbie
 
Registered: Aug 2006
Posts: 6

Rep: Reputation: 0
does this affect recent ubuntu distributions?
 
  


Reply

Tags
centos, debian, raid, software, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Software RAID5 Difficulties jsaxton86 Linux - Software 1 05-12-2007 11:58 AM
Software RAID5 disasters Hamsjael Linux - Hardware 8 06-15-2005 04:05 AM
Lesson learned... Beware of this software... Nichole_knc Slackware 3 04-15-2004 04:56 AM
Filesystem corruption on software RAID5 drkdiggler Linux - General 6 02-23-2004 08:39 PM
adding new hd in raid5 software slack66 Linux - Hardware 1 08-27-2003 12:29 PM


All times are GMT -5. The time now is 11:09 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration