Gentoo Archives: gentoo-user

From: Florian Philipp <lists@×××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: raid1 grub ext4
Date: Thu, 14 Apr 2011 19:51:57
Message-Id: 4DA74FE6.1080601@binarywings.net
In Reply to: [gentoo-user] Re: raid1 grub ext4 by James
1 Am 14.04.2011 18:29, schrieb James:
2 > Florian Philipp <lists <at> binarywings.net> writes:
3 >
4 >> Are you sure sda1 and sdb1 are not in use? Did the kernel activate the
5 >> already present RAID? Then you have to deactivate it. Use
6 >> mdadm --stop /dev/md*
7 >
8 > AHHHHHHHHHHHHHHHHHHHHHh!
9 >
10 > livecd ~ # mdadm --stop /dev/md*
11 > mdadm: error opening /dev/md: Is a directory
12 > mdadm: stopped /dev/md1
13 > mdadm: stopped /dev/md125
14 > mdadm: stopped /dev/md126
15 > mdadm: stopped /dev/md127
16 > mdadm: stopped /dev/md3
17 > mdadm: stopped /dev/md4
18 >
19 >
20 > So it has 2 sets of md ?
21 >
22
23 *Head scratch* This, uhm, looks odd. No clue what to make of it.
24
25
26 > mdadm --create /dev/md127 --level=1 --raid-devices=2 --metadata=0.90 /dev/sda1
27 > /dev/sdb1
28 > mdadm: /dev/sda1 appears to be part of a raid array:
29 > level=raid1 devices=2 ctime=Sun Apr 10 17:12:42 2011
30 > mdadm: /dev/sdb1 appears to be part of a raid array:
31 > level=raid1 devices=2 ctime=Sun Apr 10 17:12:42 2011
32 > Continue creating array? y
33 > mdadm: array /dev/md127 started.
34 >
35 >
36 > What next?
37 >
38
39 Guess you also have to remove them from the old array:
40 mdadm /dev/md0 --remove /dev/sda1
41 You can also try --force.
42
43 Regards,
44 Florian Philipp

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-user] Re: raid1 grub ext4 James <wireless@×××××××××××.com>
[gentoo-user] Re: raid1 grub ext4 James <wireless@×××××××××××.com>