| Summary: | Filesystem corruption with ata(4) software-raid on HPT370. | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Paweł Małachowski <pawmal> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.7-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Paweł Małachowski
2002-10-13 14:00:04 UTC
State Changed From-To: open->closed You cannot just dd one disk to another and then create a RAID ontop of that. You need to create the RAID *before* you create (disklabel newfs) your filesystems. What you encounter is problems because you fool the system into using a mirror where the two parts are almost but not entirely identical. On 5 May 2003 at 2:50, Søren Schmidt wrote:
> Synopsis: Filesystem corruption with ata(4) software-raid on HPT370.
>
> State-Changed-From-To: open->closed
> State-Changed-By: sos
> State-Changed-When: Mon May 5 02:48:15 PDT 2003
> State-Changed-Why:
> You cannot just dd one disk to another and then create a RAID ontop of that.
>
> You need to create the RAID *before* you create (disklabel newfs) your filesystems.
>
> What you encounter is problems because you fool the system into using a
> mirror where the two parts are almost but not entirely identical.
I was not clear, ATA-RAID was created before installing system.
Filesystem was getting corrupted, so I've tried to synchronize
disks using HPT BIOS. The problem was still there so _then_ I've
decided to copy disks using dd.
Of course system never complained me about any inconsistence
between two disks in RAID1 (when data on disk1 and disk2 are
known to be different, shouldn't array be degraded?).
However, I think this PR should stay closed cause I know machines using
HPT370 without such problems -- I suspect my card was broken somehow.
I simply removed that HPT controller from my PC and I can't verify that
right now.
--
Pawel Malachowski
|