Re: [gentoo-user] Raid 1 problems

2007-10-22 Thread Arnau Bria
On Sun, 21 Oct 2007 19:34:51 +0100 Mike Williams wrote: On Sunday 21 October 2007 19:08:21 Arnau Bria wrote: Hi, [...] I'm doing this: with /dev/md0 unmounted: resize2fs -f /dev/md0 but with md1 and I get this error: # resize2fs -f /dev/md1 resize2fs 1.39 (29-May-2006) Resizing the

Re: [gentoo-user] Raid 1 problems

2007-10-22 Thread Arnau Bria
On Mon, 22 Oct 2007 20:03:08 +0200 Arnau Bria wrote: On Sun, 21 Oct 2007 19:34:51 +0100 Mike Williams wrote: On Sunday 21 October 2007 19:08:21 Arnau Bria wrote: Hi, [...] I'm doing this: with /dev/md0 unmounted: resize2fs -f /dev/md0 but with md1 and I get this error: #

Re: [gentoo-user] Raid 1 problems

2007-10-21 Thread Mike Williams
On Sunday 21 October 2007 19:08:21 Arnau Bria wrote: Hi, following http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID and some other docs, I moved my system to RAID 1. Using gentoo LiveCD, all my config worked fine: I was able to mount md0 and md1 (at this point my only raid

Re: [gentoo-user] Raid 1 problems

2007-10-21 Thread Arnau Bria
On Sun, 21 Oct 2007 19:34:51 +0100 Mike Williams wrote: On Sunday 21 October 2007 19:08:21 Arnau Bria wrote: [...] The filesystem size (according to the superblock) is 104420 blocks The physical size of the device is 104320 blocks Either the superblock or the partition table is likely to

Re: [gentoo-user] Raid 1 problems

2007-10-21 Thread Mike Williams
On Sunday 21 October 2007 20:29:47 Arnau Bria wrote: with /dev/md0 unmounted: resize2fs -f /dev/md0 If same thing happens with md1, I suppose I must boot with livecd and do the same with md1, am I right? Yeah, you can't reduce the filesystem online. The RAIDing shrinks the space

Re: [gentoo-user] Raid 1 problems

2007-10-21 Thread Arnau Bria
On Sun, 21 Oct 2007 20:42:57 +0100 Mike Williams wrote: On Sunday 21 October 2007 20:29:47 Arnau Bria wrote: [...] Yeah, you can't reduce the filesystem online. The RAIDing shrinks the space available for the filesystem slightly. I don't know why, but I've had the same problem before. thanks

Re: [gentoo-user] Raid 1 problems

2007-10-21 Thread Arnau Bria
On Sun, 21 Oct 2007 22:30:51 +0200 Arnau Bria wrote: [...] Let me ask you one more thing. I have this device: md3 : active raid1 hdh6[1] 98727360 blocks [2/1] [_U] And I'd like to add hdf6, and then sync but against it (I mean, make hdf6 primary and copy its data to hdh6). I'd

Re: [gentoo-user] Raid 1 problems

2007-10-21 Thread Mike Williams
On Sunday 21 October 2007 22:03:23 Arnau Bria wrote: Let me ask you one more thing. I have this device: md3 : active raid1 hdh6[1]       98727360 blocks [2/1] [_U] And I'd like to add hdf6, and then sync but against it (I mean, make hdf6 primary and copy its data to hdh6). I'd

Re: [gentoo-user] Raid 1 problems

2007-10-21 Thread Neil Bothwick
Hello Mike Williams, Yeah, you can't reduce the filesystem online. The RAIDing shrinks the space available for the filesystem slightly. I don't know why, but I've had the same problem before. The RAID superblock is stored at the end of the partition. -- Neil Bothwick Puritanism: The