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:22:01
Message-Id: loom.20110414T221251-25@post.gmane.org
In Reply to: Re: [gentoo-user] Re: raid1 grub ext4 by Florian Philipp
1 > *Head scratch* This, uhm, looks odd. No clue what to make of it.
2
3 Ahhh,
4
5 Don't give up just yet?
6
7 I issued these commands:
8
9 mdadm --create /dev/md127 --level=1 --raid-devices=2
10 --metadata=0.90 /dev/sda1 /dev/sdb1
11
12 mdadm --create /dev/md125 --level=1 --raid-devices=2
13 --metadata=0.90 /dev/sda3 /dev/sdb3
14 mdadm: /dev/sda3 appears to be part of a raid array:
15 level=raid1 devices=2 ctime=Thu Apr 14 13:22:32 2011
16 mdadm: /dev/sdb3 appears to be part of a raid array:
17 level=raid1 devices=2 ctime=Thu Apr 14 13:22:32 2011
18 Continue creating array? y
19
20
21 mdadm --create /dev/md126 --level=1 --raid-devices=2
22 --metadata=0.90 /dev/sda2 /dev/sdb2
23
24 I'm not sure if I just wiped the drives clean (empty)?
25
26 If so, I'll have to start over.....?
27
28 mdadm --detail /dev/md1
29 mdadm: cannot open /dev/md1: No such file or directory
30
31 same now for md2 and md3...
32
33 Look (ma no hands!):
34
35 livecd gentoo # mdadm --detail /dev/md125
36 /dev/md125:
37 Version : 0.90
38 Creation Time : Thu Apr 14 14:15:21 2011
39 Raid Level : raid1
40 Array Size : 1948227584 (1857.97 GiB 1994.99 GB)
41 Used Dev Size : 1948227584 (1857.97 GiB 1994.99 GB)
42 Raid Devices : 2
43 Total Devices : 2
44 Preferred Minor : 125
45 Persistence : Superblock is persistent
46
47 Update Time : Thu Apr 14 15:51:46 2011
48 State : clean, resyncing
49 Active Devices : 2
50 Working Devices : 2
51 Failed Devices : 0
52 Spare Devices : 0
53
54 Rebuild Status : 37% complete
55
56 UUID : fa800cdb:33955cfd:cb201669:f728008a (local to host livecd)
57 Events : 0.6
58
59 Number Major Minor RaidDevice State
60 0 8 3 0 active sync /dev/sda3
61 1 8 19 1 active sync /dev/sdb3
62
63
64 mdadm --detail /dev/md126
65 /dev/md126:
66 Version : 0.90
67 Creation Time : Thu Apr 14 14:16:01 2011
68 Raid Level : raid1
69 Array Size : 5023680 (4.79 GiB 5.14 GB)
70 Used Dev Size : 5023680 (4.79 GiB 5.14 GB)
71 Raid Devices : 2
72 Total Devices : 2
73 Preferred Minor : 126
74 Persistence : Superblock is persistent
75
76 Update Time : Thu Apr 14 14:16:01 2011
77 State : clean
78 Active Devices : 2
79 Working Devices : 2
80 Failed Devices : 0
81 Spare Devices : 0
82
83 UUID : e4651ca8:4aae2908:cb201669:f728008a (local to host livecd)
84 Events : 0.1
85
86 Number Major Minor RaidDevice State
87 0 8 2 0 active sync /dev/sda2
88 1 8 18 1 active sync /dev/sdb2
89
90
91 # mdadm --detail /dev/md127
92 /dev/md127:
93 Version : 0.90
94 Creation Time : Thu Apr 14 14:10:56 2011
95 Raid Level : raid1
96 Array Size : 262080 (255.98 MiB 268.37 MB)
97 Used Dev Size : 262080 (255.98 MiB 268.37 MB)
98 Raid Devices : 2
99 Total Devices : 2
100 Preferred Minor : 127
101 Persistence : Superblock is persistent
102
103 Update Time : Thu Apr 14 16:12:41 2011
104 State : clean
105 Active Devices : 2
106 Working Devices : 2
107 Failed Devices : 0
108 Spare Devices : 0
109
110 UUID : 8939604f:676aa8df:cb201669:f728008a (local to host livecd)
111 Events : 0.18
112
113 Number Major Minor RaidDevice State
114 0 8 1 0 active sync /dev/sda1
115 1 8 17 1 active sync /dev/sdb1
116
117
118 We'll see in a few hours....
119
120
121 James

Replies

Subject Author
Re: [gentoo-user] Re: raid1 grub ext4 Florian Philipp <lists@×××××××××××.net>