Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] recovering RAID from an old server
Date: Sat, 20 Feb 2010 04:33:16
Message-Id: 1266640317.3445.95.camel@localhost
In Reply to: Re: [gentoo-user] recovering RAID from an old server by Stroller
1 On Fri, 2010-02-19 at 14:44 +0000, Stroller wrote:
2 > On 19 Feb 2010, at 12:15, Iain Buchanan wrote:
3 > > ...
4 > > Can I randomly mount partitions read-only or will this screw things up
5 > > further?
6 >
7 > If this is unsafe I will have ketchup & mustard on my baseball cap.
8
9 er... could you translate that? How about "dead horse on my baggy
10 green"?
11
12 Should I be able to mount them automatically and let the SW RAID module
13 sort it out or do I have to know how they're tied together beforehand?
14
15 The message from the kernel is:
16
17 Linux version 2.4.19-snap (root@BuildSys) (gcc version egcs-2.91.66
18 19990314/Linux (egcs-1.1.2 release)) #1 Tue Jul 13 20:24:35 PDT 2004
19
20 and later there's output from "md" which is (I assume) the linux
21 software raid module (this is a grep, so there are other messages in
22 between):
23
24 md: linear personality registered as nr 1
25 md: raid0 personality registered as nr 2
26 md: raid1 personality registered as nr 3
27 md: raid5 personality registered as nr 4
28 md: spare personality registered as nr 8
29 md: md driver 0.91.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
30 md: Autodetecting RAID arrays.
31 md: autorun ...
32 md: ... autorun DONE.
33 md: bind<hdg2,1>
34 md: bind<hde2,2>
35 md: bind<hda2,3>
36 md: hda2's event counter: 0000039d
37 md: hde2's event counter: 0000039d
38 md: hdg2's event counter: 0000039d
39 md: md100: raid array is not clean -- starting background reconstruction
40 md: RAID level 1 does not need chunksize! Continuing anyway.
41 md100: max total readahead window set to 124k
42 md100: 1 data-disks, max readahead per data-disk: 124k
43 raid1: md100, not all disks are operational -- trying to recover array
44 raid1: raid set md100 active with 3 out of 4 mirrors
45 md: updating md100 RAID superblock on device
46 md: hda2 [events: 0000039e]<6>(write) hda2's sb offset: 546112
47 md: recovery thread got woken up ...
48 md: looking for a shared spare drive
49 md100: no spare disk to reconstruct array! -- continuing in degraded
50 mode
51 md: recovery thread finished ...
52 md: hde2 [events: 0000039e]<6>(write) hde2's sb offset: 546112
53 md: hdg2 [events: 0000039e]<6>(write) hdg2's sb offset: 546112
54 md: bind<hdg5,1>
55 md: bind<hde5,2>
56 md: bind<hda5,3>
57 md: hda5's event counter: 000003a4
58 md: hde5's event counter: 000003a4
59 md: hdg5's event counter: 000003a4
60 md: md101: raid array is not clean -- starting background reconstruction
61 md: RAID level 1 does not need chunksize! Continuing anyway.
62 md101: max total readahead window set to 124k
63 md101: 1 data-disks, max readahead per data-disk: 124k
64 raid1: md101, not all disks are operational -- trying to recover array
65 raid1: raid set md101 active with 3 out of 4 mirrors
66 md: updating md101 RAID superblock on device
67 md: hda5 [events: 000003a5]<6>(write) hda5's sb offset: 273024
68 md: recovery thread got woken up ...
69 md: looking for a shared spare drive
70 md101: no spare disk to reconstruct array! -- continuing in degraded
71 mode
72 md: looking for a shared spare drive
73 md100: no spare disk to reconstruct array! -- continuing in degraded
74 mode
75 md: recovery thread finished ...
76 md: hde5 [events: 000003a5]<6>(write) hde5's sb offset: 273024
77 md: hdg5 [events: 000003a5]<6>(write) hdg5's sb offset: 273024
78 XFS mounting filesystem md(9,100)
79 Ending clean XFS mount for filesystem: md(9,100)
80
81 The partitions look like:
82 9 100 546112 md100
83 9 101 273024 md101
84 34 0 78150744 hdg
85 34 1 16041 hdg1
86 34 2 546210 hdg2
87 34 3 1 hdg3
88 34 4 76656636 hdg4
89 34 5 273104 hdg5
90 34 6 273104 hdg6
91 33 0 78150744 hde
92 33 1 16041 hde1
93 33 2 546210 hde2
94 33 3 1 hde3
95 33 4 76656636 hde4
96 33 5 273104 hde5
97 33 6 273104 hde6
98 22 0 78150744 hdc
99 22 1 16041 hdc1
100 22 2 546210 hdc2
101 22 3 1 hdc3
102 22 4 76656636 hdc4
103 22 5 273104 hdc5
104 22 6 273104 hdc6
105 3 0 78150744 hda
106 3 1 16041 hda1
107 3 2 546210 hda2
108 3 3 1 hda3
109 3 4 76656636 hda4
110 3 5 273104 hda5
111 3 6 273104 hda6
112
113 many thanks!
114 --
115 Iain Buchanan <iaindb at netspace dot net dot au>
116
117 By golly, I'm beginning to think Linux really *is* the best thing since
118 sliced bread.
119 -- Vance Petree, Virginia Power

Replies

Subject Author
Re: [gentoo-user] recovering RAID from an old server Iain Buchanan <iaindb@××××××××××××.au>
[gentoo-user] Re: recovering RAID from an old server Francesco Talamona <francesco.talamona@××××.eu>
Re: [gentoo-user] recovering RAID from an old server Stroller <stroller@××××××××××××××××××.uk>
Re: [gentoo-user] recovering RAID from an old server Andrea Conti <alyf@××××.net>