From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jean-Rene Cormier" Subject: Re: Software RAID1 problems Date: Thu, 20 Feb 2003 23:12:26 -0400 Sender: linux-raid-owner@vger.kernel.org Message-ID: <002801c2db4b$6cac0c40$8400a8c0@jrc> References: <1045747209.795.7.camel@localhost.localdomain> <15957.28314.314427.191061@notabene.cse.unsw.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: To: Neil Brown Cc: linux-raid@vger.kernel.org List-Id: linux-raid.ids ----- Original Message ----- From: "Neil Brown" To: "Jean-Rene Cormier" Cc: Sent: Thursday, February 20, 2003 8:11 PM Subject: Re: Software RAID1 problems > On February 20, jean-rene.cormier@cipanb.ca wrote: > > Well since I had some trouble with raidtools giving me a Segfault when I > > tried to create an array, I decided to try mdadm, I can create an array > > and format it and mount it afterwards but after I unmount it I can't > > mount it again. I get an error saying unknown FS type or something like > > that. When I do an mdadm --detail /dev/md0 in the state it says dirty, > > no-error, shouldn't that be clean, no-error? How can I get that array to > > that state? I tried recreating that array like 5 times already and still > > the same thing. btw I'm running Linux 2.4.20 with glibc-2.3.1 if that > > changes anything. > > It is always dirty when assembled and writable. This is normal. > > If you switch to read-only, it should should clean. > If you stop the array and use --examine on the devices, they should > show clean. > > I cannot explain the mounting problem. Maybe if you give more > specifics.... Well what I did was: mdadm -Cv -l2 -n2 /dev/hde1 /dev/hdg1 /dev/md0 mke2fs -j /dev/md0 mount /dev/md0 /home then I unmounted it and when I tried to mount it again right after unmounting it I got the Wrong FS type error and I get a bunch of error message on the console. Jean-Rene Cormier