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

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 fil

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 hau

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 hd

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).

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. than

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 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 likel

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 d

[gentoo-user] Raid 1 problems

2007-10-21 Thread Arnau Bria
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 devices) and see data. So after ensuring my raid was sync, I dec