Gentoo Archives: gentoo-user

From: Arnau Bria <arnau@×××××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Raid 1 problems
Date: Sun, 21 Oct 2007 18:20:33
Message-Id: 20071021200821.6ccc9507@pataki.bogus.net
1 Hi,
2
3 following http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID
4 and some other docs, I moved my system to RAID 1.
5 Using gentoo LiveCD, all my config worked fine: I was able to mount md0
6 and md1 (at this point my only raid devices) and see data.
7
8 So after ensuring my raid was sync, I decided to boot to my normal
9 system, and I found that my system was not able to boot because it said
10 something about my filesystem in md1, a message like:
11
12 The filesystem size (according to the superblock) is 104420 blocks
13 The physical size of the device is 104320 blocks
14 Either the superblock or the partition table is likely to be corrupt!
15 Abort<y>? yes
16
17 (don't look at block number cause it refers to md0, and original
18 message was about md1).
19
20 So, I decided to set dump/pass option to 0 in my fstab so fs won't be
21 check at next start.
22 After that, it booted fine, but I'd like to repair my system, and now,
23 md0 complains about fs too...
24
25 # cat /proc/mdstat
26 Personalities : [raid1]
27 md1 : active raid1 hdf3[0]
28 8112704 blocks [2/1] [U_]
29
30 md0 : active raid1 hdh1[1] hdf1[0]
31 104320 blocks [2/2] [UU]
32
33 So, anyone could tell what to do for reparing mdX?¿
34
35 TIA,
36 Arnau
37 --
38 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Raid 1 problems Mike Williams <mike@××××××××.uk>