Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.5/8.12.5) with ESMTP id g6BDUtRw030541 for ; Thu, 11 Jul 2002 06:30:55 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.5/8.12.3/Submit) id g6BDUtMi030540 for linux-xfs-outgoing; Thu, 11 Jul 2002 06:30:55 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-linux-xfs@oss.sgi.com using -f Received: from mx.de.kpnqwest.net (mx.de.kpnqwest.net [193.141.40.5]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id g6BDUZRw030512 for ; Thu, 11 Jul 2002 06:30:36 -0700 Received: from lizard.webland.de (lizard.webland.de [194.122.76.201]) by mx.de.kpnqwest.net (Postfix (mxkq02)) with ESMTP id AD1F9C23C; Thu, 11 Jul 2002 15:16:25 +0200 (MEST) (envelope-from simon.matter@ch.sauter-bc.com) Received: (from uucp@localhost) by lizard.webland.de (8.8.8/8.8.7) id PAA27410; Thu, 11 Jul 2002 15:16:24 +0200 (MET DST) >Received: from mobile.sauter-bc.com (unknown [10.1.6.21]) by basel1.sauter-bc.com (Postfix) with ESMTP id 9047B57306; Thu, 11 Jul 2002 14:02:16 +0200 (CEST) Received: from ch.sauter-bc.com (sup.cad.sba [10.1.200.117]) by mobile.sauter-bc.com (Postfix) with ESMTP id 9679525835; Thu, 11 Jul 2002 14:02:15 +0200 (CEST) Message-ID: <3D2D73C7.1AC7D9CA@ch.sauter-bc.com> Date: Thu, 11 Jul 2002 14:02:15 +0200 From: Simon Matter Organization: Sauter AG, Basel X-Mailer: Mozilla 4.77 [de] (X11; U; Linux 2.2.19-6.2.16 i686) X-Accept-Language: de-CH MIME-Version: 1.0 To: Mihai RUSU Cc: Seth Mos , Linux XFS List Subject: Re: md + xfs (fwd) References: Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, hits=0.0 required=5.0 tests= version=2.20 X-Spam-Level: Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Mihai RUSU schrieb: > > On Thu, 11 Jul 2002, Seth Mos wrote: > > > > > I think that the raid device has a older state in which the filesystem was > > clean. But this one is rather awkward. I don't think it is normally possible. > > When booting a RedHat system with softraid, the linuxrc script looks something like this: #!/bin/nash echo "Loading raid1 module" insmod /lib/raid1.o mount -t proc /proc /proc echo Mounting /proc filesystem echo Creating root device mkrootdev /dev/root raidautorun /dev/md0 echo 0x0100 > /proc/sys/kernel/real-root-dev umount /proc echo Mounting root filesystem mount --ro -t xfs /dev/root /sysroot pivot_root /sysroot /sysroot/initrd The mount command is a builtin command of /bin/nash, maybe this explains the different behaviour. I hope one of the gurus can explain it to us. Simon > > That is why I asked here in the first place. I was not sure about how > RAID1 on linux works but it seems to me that when a crash occured it > choses one of the RAID1 images and rebuilds from that, but I am afraid > that maybe in that state only the databytes that tell XFS it is clean, > where set right, and other fs structures are corupt. > > I should xfscheck that partition but I would really prefer to do that when > all other fails (beeing a production server). > > ---------------------------- > Mihai RUSU > > Disclaimer: Any views or opinions presented within this e-mail are solely > those of the author and do not necessarily represent those of any company, > unless otherwise specifically stated.