Gentoo Archives: gentoo-user

From: Jarry <mr.jarry@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: initramfs & RAID at boot time
Date: Sun, 18 Apr 2010 07:42:52
Message-Id: 4BCAB7D3.2080407@gmail.com
In Reply to: Re: [gentoo-user] Re: initramfs & RAID at boot time by "Ciprian Dorin
1 On 18. 4. 2010 8:57, Ciprian Dorin, Craciun wrote:
2
3 > * there is an option for the kernel that must be enabled at
4 > compile time that enables automatic RAID detection and assembly by the
5 > kernel before mounting /, but it works only for MD metadata 0.96 (see
6 > [1]);
7 > * the default metadata for `mdadm` is 1.2 (see `man mdadm`, and
8 > search for `--metadata`), so when creating the RAID you must
9 > explicitly select the metadata you want;
10
11 > [1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/md.txt;h=188f4768f1d58c013d962f993ae36483195fd288;hb=HEAD
12
13
14 Which version of mdadm are you using? I have 3.0, and defalut metadata
15 is 0.90:
16
17 -e , --metadata=
18 Declare the style of RAID metadata (superblock) to be used. The
19 default is 0.90 for --create, and to guess for other operations.
20 The default can be overridden by setting the metadata value for
21 the CREATE keyword in mdadm.conf.
22
23 BTW [1] says about kernel 2.6.9, things might have changed since then...
24
25 Jarry
26
27
28 --
29 _______________________________________________________________
30 This mailbox accepts e-mails only from selected mailing-lists!
31 Everything else is considered to be spam and therefore deleted.

Replies