Gentoo Archives: gentoo-user

From: Arnau Bria <arnaubria@×××.es>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Raid 1 problems
Date: Mon, 22 Oct 2007 19:31:53
Message-Id: 20071022212937.60054a2a@pataki.bogus.net
In Reply to: Re: [gentoo-user] Raid 1 problems by Arnau Bria
1 On Mon, 22 Oct 2007 20:03:08 +0200
2 Arnau Bria wrote:
3
4 > On Sun, 21 Oct 2007 19:34:51 +0100
5 > Mike Williams wrote:
6 >
7 > > On Sunday 21 October 2007 19:08:21 Arnau Bria wrote:
8 > Hi,
9 > [...]
10 >
11 > I'm doing this:
12 > > with /dev/md0 unmounted:
13 > >
14 > > resize2fs -f /dev/md0
15 > but with md1 and I get this error:
16 >
17 > # resize2fs -f /dev/md1
18 > resize2fs 1.39 (29-May-2006)
19 > Resizing the filesystem on /dev/md1 to 2028176 (4k) blocks.
20 > resize2fs: Attempt to read block from filesystem resulted in short
21 > read while trying to resize /dev/md1
22 >
23 > Looking google I find some posible solutions, but I'm afraid of losing
24 > data.
25 I finally followed:
26 http://www.linux.com/base/ldp/howto/Software-RAID-HOWTO-7.htmlt#ss7.6
27 and after a e2fsck -f /dev/md1, was going to do reseize2fs and I got
28 this:
29
30 livecd ~ # resize2fs -f /dev/md1
31 Segmentation fault
32 livecd ~ # ls
33 Segmentation fault
34 livecd ~ # pwd
35 /root
36 livecd ~ # ls
37 Segmentation fault
38 livecd ~ #
39 livecd ~ #
40 livecd ~ #
41 livecd ~ #
42 livecd ~ #
43 livecd ~ #
44 livecd ~ #
45 livecd ~ #
46 livecd ~ # init 0
47 Segmentation fault
48
49 looking for my backup :-)
50
51 > TIA,
52 > Arnau
53 --
54 gentoo-user@g.o mailing list