LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-02-2005, 04:36 AM   #1
Cairan
LQ Newbie
 
Registered: Jul 2004
Location: Quebec
Distribution: Slackware 9.0/9.1/10.0
Posts: 10

Rep: Reputation: 0
Question reiserfs slight occasional corruption on software RAID-5 arrays


Hi, I'm using Slackware 10, Linux 2.6.9 compiled from the full source, and my system runs a variety of software RAID arrays on an ASUS A7V-133 board (yeah I know, old but faithful), which has an additionnal onboard PROMISE IDE controller.

Each IDE device is master on it's own IDE bus (HD: hda, hde, hdg, DVD: hdc). hda is a 30 GB 1 year old WD, hde and hdg are 160 GB twins from same company purchased 2 months ago.

RAID5 array for / and a separate RAID5 array for /usr are giving me some woes. I have a RAID1 array for /boot on the 160 GB drives, and RAID0 arrays for /tmp and and a monster (well, by my -previous- standards) 260GB /media for MP3s, DivXs and similar.

RAID0 and RAID 1 don't give me any problems, but every now and then, even with clean shutdowns (which I do once per month approximately), I get slight filesystem corruption, usualy one or two directories, which requires me to boot from CD, and run reiserfsck --rebuild-tree /dev/md0 or md1...

I am looking at the possibility of imminent failure of 30 GB hda, but before purchasing another drive, I wanted to know if any of you have encountered similar problems which were caused by reiserfs... I can rule out failure of PROMISE hardware or drivers since corruption never happens on the filesystems hosted on it's bus.
 
Old 01-07-2005, 06:50 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
I've had problems ith reiserfs on RAID 5 when I have a power failure. Never any problem on normal shutdown. Are you setting the fs_freq & fs_passno (5th & 6th fields) in your fstab?
 
Old 07-09-2006, 10:50 PM   #3
Boss Hoss
Member
 
Registered: Sep 2003
Distribution: SuSe
Posts: 62

Rep: Reputation: 15
did you ever resolve the specific HDD as failing?

so power outages with RAID5/ReiserFS cause corruptions, as well with clean shutdowns? i saw another topic discussing not being able to reboot after a power outage.
 
Old 07-11-2006, 04:11 PM   #4
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
Quote:
Originally Posted by Boss Hoss
did you ever resolve the specific HDD as failing?

so power outages with RAID5/ReiserFS cause corruptions, as well with clean shutdowns?
I don't know if you're asking the original poster or a generl question, but, in general, nothing should harm a RAID5 other than a failing drive... even at that, if you have a proper rebuild procedure, that should cause little to no ill effects.

my power outage problem stemmed from a crummy RAID card (made by Promise - most are crap) that would not detect all hard drives every time it booted & wouldn't notify you until the logwatch came through... It instead loaded into some odd mode that would allow you to read/write, but any directory that you wrote to would then be corrupted once the RAID was brought back up in full... so if you write one file to the root of the RAID5 array, all data is lost.

Reiser does have some fairly decent recovery tools & I was able to get most of my data back. I've since moved to 3ware cards (I'm running 3 of them in 2 machines) and have not had a single problem since. I'm running one huge RAID5 and two RAID0s that are, themselves, striped together... The 3ware cards now have battery backup units that hold the memory in the event of a power failure to prevent corrupt. Even so, I run both machines through a UPS.
 
  


Reply


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 RAID: consequences of linux autodetect & persistent-superblock with reiserfs cbonar Linux - Hardware 0 01-08-2005 03:43 PM
One corruption in reiserfs after creating with parted WW. Linux - General 1 09-19-2004 04:55 PM
Transferring two RAID arrays Dee-ehn Linux - Software 2 09-01-2004 12:12 AM
mild reiserfs corruption whansard Linux - General 2 07-27-2004 09:57 AM
Bad Hard Drive or reiserfs Corruption? KungFuHamster Linux - Hardware 0 05-10-2004 08:58 PM


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