LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-15-2006, 02:51 PM   #1
machs_fuel
LQ Newbie
 
Registered: Jul 2006
Posts: 4

Rep: Reputation: 0
hard drive causing trouble with software raid array


i'm setting up a file server with an older asus mother board and a promise ide card.
i've got debian installed on the primary master - hda, and there are 3 320 gig ide drives on the ide controller - hde hdf and hdh.

I've got mdadm installed and created the array with the following command

mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 /dev/hde /dev/hdf /dev/hdh

and then formatted with

mkfs.xfs /dev/md0 -L media_drive

i'm having a lot of

end_request: I/O error, dev 21:40 (hdf), sector 312572151
or
end_request: I/O error, dev 22:40 (hdh), sector 312572047

errors coming up which causes the array to drop hdf and run in degraded mode.

I'm not really sure how to proceed at this point. all three of the drives are brand new so i dont think that they are the problem. the IDE card was used so i suppose it could be the source. The mobo is probably the weakest link... it seems that the secondary ide channel is dead, but other wise works fine
 
Old 07-15-2006, 02:54 PM   #2
machs_fuel
LQ Newbie
 
Registered: Jul 2006
Posts: 4

Original Poster
Rep: Reputation: 0
this is a dump of dmesg

Code:
 (hdh), sector 312572019
end_request: I/O error, dev 22:40 (hdh), sector 312572056
end_request: I/O error, dev 22:40 (hdh), sector 312572057
end_request: I/O error, dev 22:40 (hdh), sector 312572058
end_request: I/O error, dev 22:40 (hdh), sector 312572059
**snip**
end_request: I/O error, dev 22:40 (hdh), sector 312572061
end_request: I/O error, dev 22:40 (hdh), sector 312572062
end_request: I/O error, dev 22:40 (hdh), sector 312572063
md: updating md0 RAID superblock on device
md: (skipping faulty ide/host2/bus1/target1/lun0/disc )
md: ide/host2/bus0/target1/lun0/disc [events: 00000003]<6>(write) ide/host2/bus0/target1/lun0/disc's sb offset: 312571136
md: recovery thread got woken up ...
md0: no spare disk to reconstruct array! -- continuing in degraded mode
md: recovery thread finished ...
hdf: dma_timer_expiry: dma status == 0x61
hdf: error waiting for DMA
hdf: dma timeout retry: status=0xd0 { Busy }

hde: DMA disabled
hdf: DMA disabled
PDC202XX: Primary channel reset.
PDC202XX: Secondary channel reset.
ide2: reset: master: error (0x00?)
blk: queue cc826544, I/O limit 4095Mb (mask 0xffffffff)
md: ide/host2/bus0/target0/lun0/disc [events: 00000003]<6>(write) ide/host2/bus0/target0/lun0/disc's sb offset: 312571136
hdf: dma_timer_expiry: dma status == 0x41
hdf: error waiting for DMA
hdf: dma timeout retry: status=0xd0 { Busy }

hdf: DMA disabled
PDC202XX: Primary channel reset.
PDC202XX: Secondary channel reset.
ide2: reset: master: error (0x00?)
end_request: I/O error, dev 21:40 (hdf), sector 312571904
raid5: Disk failure on ide/host2/bus0/target1/lun0/disc, disabling device. Operation continuing on 1 devices
end_request: I/O error, dev 21:40 (hdf), sector 312572153
end_request: I/O error, dev 21:40 (hdf), sector 312572154
end_request: I/O error, dev 21:40 (hdf), sector 312572155
**snip**
end_request: I/O error, dev 21:40 (hdf), sector 312572157
end_request: I/O error, dev 21:40 (hdf), sector 312572158
end_request: I/O error, dev 21:40 (hdf), sector 312572159
md: updating md0 RAID superblock on device
md: (skipping faulty ide/host2/bus1/target1/lun0/disc )
md: (skipping faulty ide/host2/bus0/target1/lun0/disc )
md: ide/host2/bus0/target0/lun0/disc [events: 00000004]<6>(write) ide/host2/bus0/target0/lun0/disc's sb offset: 312571136
md: recovery thread got woken up ...
md0: no spare disk to reconstruct array! -- continuing in degraded mode
md: recovery thread finished ...
 
Old 07-15-2006, 03:45 PM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Promise controllers suck in Linux. The kernel developers added a lot of work arounds to get Promise controllers to work and they still have problems. I recommend using Highpoint Rocket133 or buy a 3ware card. I do not recommend setting up RAID-5 if it is a single processor system. RAID-5 consumes a lot of resources, so I recommend at least a two processor system. It is better to place one drive per IDE controller instead of three on one IDE controller. Do not use Seagate and Maxtor IDE or SATA drives for long term use like in a RAID array.

I do not know if the file server is for home or business. You may want to set up multiple RAID-1 and add them to LVM or EVMS. When you need more space, you can add more drives. You still get reduntancy but you also get infinite space.
 
  


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
Trouble setting up hard disks with software raid AsgrimTheMighty Linux - Hardware 5 09-30-2007 04:18 AM
adding a hard drive to an existing software raid array iammisc Linux - Hardware 3 03-01-2006 07:08 PM
verify faulty software raid hard drive jwstric2 Linux - Hardware 0 07-06-2004 11:58 PM
Transferring a software RAID array Dee-ehn Linux - Software 0 04-15-2004 05:46 AM
RH9 Software Raid 1 hard drive failure - GRUB loader errors Mynar Linux - Newbie 1 01-28-2004 11:25 AM

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

All times are GMT -5. The time now is 08:18 PM.

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