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....
NeilBrown
----- Original Message -----
From: "Neil Brown" <redacted>
To: "Jean-Rene Cormier" <redacted>
Cc: <redacted>
Sent: Thursday, February 20, 2003 8:11 PM
Subject: Re: Software RAID1 problems
On February 20, jean-rene.cormier@cipanb.ca wrote:
quoted
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