* SW-RAID 1 and kernel 2.4.18
@ 2002-11-26 13:56 SCHEP. - Schepke, Arnt
2002-11-26 19:33 ` Steven Dake
2002-12-03 16:01 ` some IDE trays are bad (was Re: SW-RAID 1 and kernel 2.4.18) Louis-David Mitterrand
0 siblings, 2 replies; 7+ messages in thread
From: SCHEP. - Schepke, Arnt @ 2002-11-26 13:56 UTC (permalink / raw)
To: 'linux-raid@vger.kernel.org'
Hi, i have a running software raid 1. This consist of two ide devices hda
and hdc. The root filesystem is running on this raid array. The harddiscs
are installed in removable frames.
The system seems to work correctly. But i get some errors. In the file
messages i found:
linux kernel: hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
linux kernel: hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
Are the removables frames my problem? If i remove the frames (connect the
ide direct to the cable) the system runs better. I could not find the
message above.
If i start a stress test (lot of file copies) the raid array starts
sometimes a resync process. I can't find more information at messages-file.
Where does this come from? Where i have to look to get information to
prevent this? And at last the system warns me at restart that my
raid-superblocks are not correct.
How do i resolve this?
If i connect the two ide devices to the same ide port (hda and hdb used for
raid array) i also get a message about invalid raid superblocks.
Someone knows something about this?
Regards
Arnt Schepke
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: SW-RAID 1 and kernel 2.4.18
2002-11-26 13:56 SW-RAID 1 and kernel 2.4.18 SCHEP. - Schepke, Arnt
@ 2002-11-26 19:33 ` Steven Dake
2002-11-26 22:52 ` H. Peter Anvin
2002-12-03 16:01 ` some IDE trays are bad (was Re: SW-RAID 1 and kernel 2.4.18) Louis-David Mitterrand
1 sibling, 1 reply; 7+ messages in thread
From: Steven Dake @ 2002-11-26 19:33 UTC (permalink / raw)
To: SCHEP. - Schepke, Arnt; +Cc: 'linux-raid@vger.kernel.org'
Schep,
IDE was not designed to hotswap. The trays are not "hot swappable" in
that they can only be swapped while the system is off.
For hotswap support, look to SCSI or even better, FibreChannel. These
systems are designed to be electrically safe in hotswap operations and
maintain the integrity of the data transfers.
Thanks
-steve
SCHEP. - Schepke, Arnt wrote:
>Hi, i have a running software raid 1. This consist of two ide devices hda
>and hdc. The root filesystem is running on this raid array. The harddiscs
>are installed in removable frames.
>The system seems to work correctly. But i get some errors. In the file
>messages i found:
>
>linux kernel: hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
>linux kernel: hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
>
>Are the removables frames my problem? If i remove the frames (connect the
>ide direct to the cable) the system runs better. I could not find the
>message above.
>
>If i start a stress test (lot of file copies) the raid array starts
>sometimes a resync process. I can't find more information at messages-file.
>
>Where does this come from? Where i have to look to get information to
>prevent this? And at last the system warns me at restart that my
>raid-superblocks are not correct.
>
>How do i resolve this?
>If i connect the two ide devices to the same ide port (hda and hdb used for
>raid array) i also get a message about invalid raid superblocks.
>
>Someone knows something about this?
>
>Regards
>
>Arnt Schepke
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: SW-RAID 1 and kernel 2.4.18
2002-11-26 19:33 ` Steven Dake
@ 2002-11-26 22:52 ` H. Peter Anvin
2002-11-26 23:05 ` Alvin Oga
0 siblings, 1 reply; 7+ messages in thread
From: H. Peter Anvin @ 2002-11-26 22:52 UTC (permalink / raw)
To: linux-raid
Followup to: <3DE3CC8D.2080104@mvista.com>
By author: Steven Dake <sdake@mvista.com>
In newsgroup: linux.dev.raid
>
> IDE was not designed to hotswap. The trays are not "hot swappable" in
> that they can only be swapped while the system is off.
>
There are IDE cards which can tristate -- effectively disconnect -- their
outputs. Some of them can even control the power to the drive. Such
drives are safe to hotswap, if they have been disconnected before
removing them. This requires driver support, however, and I'm not
sure if Linux has that.
-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: SW-RAID 1 and kernel 2.4.18
2002-11-26 22:52 ` H. Peter Anvin
@ 2002-11-26 23:05 ` Alvin Oga
0 siblings, 0 replies; 7+ messages in thread
From: Alvin Oga @ 2002-11-26 23:05 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: linux-raid
hi ya
On 26 Nov 2002, H. Peter Anvin wrote:
> Followup to: <3DE3CC8D.2080104@mvista.com>
> By author: Steven Dake <sdake@mvista.com>
> In newsgroup: linux.dev.raid
> >
> > IDE was not designed to hotswap. The trays are not "hot swappable" in
> > that they can only be swapped while the system is off.
> >
>
> There are IDE cards which can tristate -- effectively disconnect -- their
> outputs. Some of them can even control the power to the drive. Such
> drives are safe to hotswap, if they have been disconnected before
> removing them. This requires driver support, however, and I'm not
> sure if Linux has that.
electrical hotswap is easy to implement ?? ( many different ways )
since one has to make the hotswap tray too ..
i think the problem is after the new drive is inserted, how does
the IDE drivers know to start rewriting all the data to the fresh/virgin
disk .. that was aborted during the time it was previously attempting
to write a 4GB file when the disk was pulled out...
- if the raid drivers can do all the right magic...
it should be good to build a nice tri-stated hotwap ide tray
( to me.. powering up a system with the system power switch or
( inserting a disk into a properly isolated ide connectors
( is the same issue... start the motors... than allow the cable
( connections than the normal system access to the disks
c ya
alvin
http://www.Linux-1U.net
... 9" 1U w/ 2-4 laptop drives
... 26" 1U w/ 8x 180GB drives - 1.6TB - 1U-Raid5[tm]
^ permalink raw reply [flat|nested] 7+ messages in thread
* some IDE trays are bad (was Re: SW-RAID 1 and kernel 2.4.18)
2002-11-26 13:56 SW-RAID 1 and kernel 2.4.18 SCHEP. - Schepke, Arnt
2002-11-26 19:33 ` Steven Dake
@ 2002-12-03 16:01 ` Louis-David Mitterrand
2002-12-03 21:06 ` Maurice Hilarius
2002-12-03 22:10 ` Gregory Leblanc
1 sibling, 2 replies; 7+ messages in thread
From: Louis-David Mitterrand @ 2002-12-03 16:01 UTC (permalink / raw)
To: SCHEP. - Schepke, Arnt; +Cc: 'linux-raid@vger.kernel.org'
On Tue, Nov 26, 2002 at 02:56:41PM +0100, SCHEP. - Schepke, Arnt wrote:
> Hi, i have a running software raid 1. This consist of two ide devices hda
> and hdc. The root filesystem is running on this raid array. The harddiscs
> are installed in removable frames.
^^^^^^^^^^^^^^^^^
That is the issue.
> The system seems to work correctly. But i get some errors. In the file
> messages i found:
>
> linux kernel: hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> linux kernel: hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
I've just had the same problem. My setup: 4 Maxtor 160G connected to a
Promise 133TX2 card, one of them was in an Icy Dock removable rack, the
three remaining were directly connected to the IDE cable.
The tray-connected disk would always give us the BadCRC error upon
resynching with the raid5 array. That kind of error is typical of bad
cabling.
It seems the additionnal connectors and cable-length in these IDE trays
is too much to bear for picky/sensitive ATA133 drives. In any case the
BadCRC disappeared the moment the drive was directly connected the IDE
ribbon.
hdparm -t /dev/md1 gives me over 100MB/s on IDE raid5. Incredible! Over
twice what a top-of-the-line 15k scsi drive gives me.
--
PHEDRE: Comme il ne respirait qu'une retraite prompte !
Et combien sa rougeur a redoublé ma honte !
(Phèdre, J-B Racine, acte 3, scène 1)
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: some IDE trays are bad (was Re: SW-RAID 1 and kernel 2.4.18)
2002-12-03 16:01 ` some IDE trays are bad (was Re: SW-RAID 1 and kernel 2.4.18) Louis-David Mitterrand
@ 2002-12-03 21:06 ` Maurice Hilarius
2002-12-03 22:10 ` Gregory Leblanc
1 sibling, 0 replies; 7+ messages in thread
From: Maurice Hilarius @ 2002-12-03 21:06 UTC (permalink / raw)
To: Louis-David Mitterrand; +Cc: linux-raid
With regards to your message at 09:01 AM 12/3/02, Louis-David Mitterrand.
Where you stated:
>On Tue, Nov 26, 2002 at 02:56:41PM +0100, SCHEP. - Schepke, Arnt wrote:
> > Hi, i have a running software raid 1. This consist of two ide devices hda
> > and hdc. The root filesystem is running on this raid array. The harddiscs
> > are installed in removable frames.
> ^^^^^^^^^^^^^^^^^
>
>That is the issue.
>
><<snip>>
>I've just had the same problem. My setup: 4 Maxtor 160G connected to a
>Promise 133TX2 card, one of them was in an Icy Dock removable rack, the
>three remaining were directly connected to the IDE cable.
>
>The tray-connected disk would always give us the BadCRC error upon
>resynching with the raid5 array. That kind of error is typical of bad
>cabling.
That type of error is also typical of Promise and other inferior IDE cards.
using IDE ports on motherboards, and using 3Ware cards we rarely see this
issue.
Using Promise we frequently see it.
Also, cables are important, I agree. Yellow Teflon/TPE cables make a big
difference.
The cheap grey ones are not suitable for this type of use.
With our best regards,
Maurice W. Hilarius Telephone: 01-780-456-9771
Hard Data Ltd. FAX: 01-780-456-9772
11060 - 166 Avenue mailto:maurice@harddata.com
Edmonton, AB, Canada http://www.harddata.com/
T5X 1Y3
Ask me about NAS and near-line storage
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: some IDE trays are bad (was Re: SW-RAID 1 and kernel 2.4.18)
2002-12-03 16:01 ` some IDE trays are bad (was Re: SW-RAID 1 and kernel 2.4.18) Louis-David Mitterrand
2002-12-03 21:06 ` Maurice Hilarius
@ 2002-12-03 22:10 ` Gregory Leblanc
1 sibling, 0 replies; 7+ messages in thread
From: Gregory Leblanc @ 2002-12-03 22:10 UTC (permalink / raw)
To: 'linux-raid@vger.kernel.org'
On Tue, 2002-12-03 at 08:01, Louis-David Mitterrand wrote:
> On Tue, Nov 26, 2002 at 02:56:41PM +0100, SCHEP. - Schepke, Arnt wrote:
> > The system seems to work correctly. But i get some errors. In the file
> > messages i found:
> >
> > linux kernel: hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> > linux kernel: hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
>
> I've just had the same problem. My setup: 4 Maxtor 160G connected to a
> Promise 133TX2 card, one of them was in an Icy Dock removable rack, the
> three remaining were directly connected to the IDE cable.
>
> The tray-connected disk would always give us the BadCRC error upon
> resynching with the raid5 array. That kind of error is typical of bad
> cabling.
>
> It seems the additionnal connectors and cable-length in these IDE trays
> is too much to bear for picky/sensitive ATA133 drives. In any case the
> BadCRC disappeared the moment the drive was directly connected the IDE
> ribbon.
It's probably far more the quality of the connectors and such than the
length of the cables.
> hdparm -t /dev/md1 gives me over 100MB/s on IDE raid5. Incredible! Over
> twice what a top-of-the-line 15k scsi drive gives me.
Are you saying that a RAID 5 array gives you better performance than a
single disk? Make sense to me. I'd be far more interested in a real
benchmark, rather than hdparm. Across given runs on a single disk, I've
found it to be reasonably reliable, but from one disk to another, not
necessarily.
Greg
--
Gregory Leblanc <gleblanc@linuxweasel.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-12-03 22:10 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-26 13:56 SW-RAID 1 and kernel 2.4.18 SCHEP. - Schepke, Arnt
2002-11-26 19:33 ` Steven Dake
2002-11-26 22:52 ` H. Peter Anvin
2002-11-26 23:05 ` Alvin Oga
2002-12-03 16:01 ` some IDE trays are bad (was Re: SW-RAID 1 and kernel 2.4.18) Louis-David Mitterrand
2002-12-03 21:06 ` Maurice Hilarius
2002-12-03 22:10 ` Gregory Leblanc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).