From owner-freebsd-bugs@FreeBSD.ORG Mon May 5 11:50:19 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1435037B401 for ; Mon, 5 May 2003 11:50:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A824243FA3 for ; Mon, 5 May 2003 11:50:18 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h45IoIUp087359 for ; Mon, 5 May 2003 11:50:18 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h45IoIaM087358; Mon, 5 May 2003 11:50:18 -0700 (PDT) Date: Mon, 5 May 2003 11:50:18 -0700 (PDT) Message-Id: <200305051850.h45IoIaM087358@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Pawel Malachowski" Subject: Re: kern/44006: Filesystem corruption with ata(4) software-raid on HPT370. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Pawel Malachowski List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 18:50:19 -0000 The following reply was made to PR kern/44006; it has been noted by GNATS. From: "Pawel Malachowski" To: "=?ISO-8859-2?Q?S=F8ren_Schmidt?=" Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/44006: Filesystem corruption with ata(4) software-raid on HPT370. Date: Mon, 05 May 2003 20:47:28 +0200 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