From: Florian Dazinger <florian.dazinger@umit.at>
To: linux-raid@vger.kernel.org
Subject: problems with raid=noautodetect
Date: Mon, 22 May 2006 14:41:44 +0200 [thread overview]
Message-ID: <4471B188.3060400@umit.at> (raw)
hi list,
I read somewhere that it would be better not to rely on the
autodetect-mechanism in the kernel at boot time, but rather to set up
/etc/mdadm.conf accordingly and boot with raid=noautodetect. Well, I
tried that :)
I set up /etc/mdadm.conf for my 2 raid5 arrays:
---- snip ----
# mountpoint: /home/media
ARRAY /dev/md0
level=raid5
UUID=86ed1434:43380717:4abf124e:970d843a
devices=/dev/sda1,/dev/sdb1,/dev/sdd3
# mountpoint: /mnt/raid
ARRAY /dev/md1
level=raid5
UUID=baf59fb5:f4805e7a:91a77644:af3dde17
# devices=/dev/sda2,/dev/sdb2,/dev/sdd2
---- snap ----
and rebooted with raid=noautodetect. It booted fine, but the 3rd disks
from each array (/dev/sdd2 and /dev/sdd3) were removed, so I had 2
degraded raid5 arrays. It was possible to readd them with sth. like:
mdadm /dev/md0 -a /dev/sdd3
(synced and /proc/mdstat showed [UUU])
but after the next reboot, the two partitions were again removed
([UU_])?! This was a reproducible error, I tried it several times with
different /etc/mdadm.conf settings (ARRAY-statement with UUID=,
devices=, UUID+devices, etc.).
I´m now running autodetect again, all raid arrays are working fine, but
can anyone explain this strange behaviour?
(kernel-2.6.16.14, amd64)
thanks,
florian
PS: please cc me, as I´m not subscribed to the list
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2006-05-22 12:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-22 12:41 Florian Dazinger [this message]
2006-05-22 22:39 ` problems with raid=noautodetect Neil Brown
2006-05-24 12:47 ` problems with raid=noautodetect - solved Florian Dazinger
2006-05-26 0:10 ` Nix
2006-05-26 7:53 ` problems with raid=noautodetect Luca Berra
2006-05-26 7:56 ` Luca Berra
2006-05-29 4:21 ` Neil Brown
2006-05-29 5:02 ` Luca Berra
2006-05-29 8:38 ` Michael Tokarev
2006-05-29 8:54 ` Luca Berra
2006-05-30 17:10 ` Bill Davidsen
2006-05-30 17:30 ` Luca Berra
2006-05-31 13:23 ` Bill Davidsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4471B188.3060400@umit.at \
--to=florian.dazinger@umit.at \
--cc=linux-raid@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.