Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: raid1 grub ext4
Date: Thu, 14 Apr 2011 20:29:37
Message-Id: loom.20110414T222106-481@post.gmane.org
In Reply to: Re: [gentoo-user] Re: raid1 grub ext4 by Florian Philipp
1 Florian Philipp <lists <at> binarywings.net> writes:
2
3
4 > > livecd ~ # mdadm --stop /dev/md*
5 > > mdadm: error opening /dev/md: Is a directory
6 > > mdadm: stopped /dev/md1
7 > > mdadm: stopped /dev/md125
8 > > mdadm: stopped /dev/md126
9 > > mdadm: stopped /dev/md127
10 > > mdadm: stopped /dev/md3
11 > > mdadm: stopped /dev/md4
12
13 From this web page:
14 http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml
15
16
17 possibly?
18
19
20 Code Listing 2.10: Create device nodes and devices
21
22 livecd ~ # mknod /dev/md1 b 9 1
23 livecd ~ # mknod /dev/md3 b 9 3
24 livecd ~ # mknod /dev/md4 b 9 4
25
26 livecd ~ # mdadm --create /dev/md1 --level=1 --raid-devices=2 --metadata=0.90
27 /dev/sda1 /dev/sdb1
28 mdadm: array /dev/md1 started.
29 livecd ~ # mdadm --create /dev/md3 --level=1 --raid-devices=2 /dev/sda3 /dev/sdb3
30 mdadm: array /dev/md3 started.
31 livecd ~ # mdadm --create /dev/md4 --level=0 --raid-devices=2 /dev/sda4 /dev/sdb4
32 mdadm: array /dev/md4 started.
33
34 Not exactly what I did, as the (omitted forth partition
35 and only used raid 1) but it does not align with the md125-md127
36 numbers, but all are present.....
37
38 Comments and suggestions are most welcome!
39
40 James