Re: softraid 1 with a failed device

2009-03-06 Thread Nick Nauwelaerts
On Fri, 6 Mar 2009 11:07:06 -0500 Ted Unangst wrote: > On Fri, Mar 6, 2009 at 10:14 AM, Alexander Hall > wrote: > > Would the ffs partition end at the end of the raid partition, i.e. > > would it be ($raidsize-64) blocks? > > Technically yes, you should trim it down, though only matters so far

Re: softraid 1 with a failed device

2009-03-06 Thread Ted Unangst
On Fri, Mar 6, 2009 at 10:14 AM, Alexander Hall wrote: > Would the ffs partition end at the end of the raid partition, i.e. would it > be ($raidsize-64) blocks? Technically yes, you should trim it down, though only matters so far as you shouldn't have overlapping partitions. The file system size

Re: softraid 1 with a failed device

2009-03-06 Thread Alexander Hall
Marco Peereboom wrote: That should work. Softraid offsets 64 blocks so that should be the start of your disk. Btw making this work is not for the faint hearted or people who are attached to their data. I believe Nick missed the "adjust the disklabel location and" part as noted below. Would

Re: softraid 1 with a failed device

2009-03-06 Thread Marco Peereboom
That should work. Softraid offsets 64 blocks so that should be the start of your disk. Btw making this work is not for the faint hearted or people who are attached to their data. On Wed, Mar 04, 2009 at 11:07:43PM +0100, Nick Nauwelaerts wrote: > On Tue, 3 Mar 2009 14:14:22 -0500 > Ted Unangst

Re: softraid 1 with a failed device

2009-03-06 Thread Nick Nauwelaerts
On Tue, 3 Mar 2009 14:14:22 -0500 Ted Unangst wrote: > On Tue, Mar 3, 2009 at 2:02 PM, Nick Nauwelaerts > wrote: > > # bioctl -C force -c 1 -l /dev/sd1d softraid0 > > bioctl: not enough disks > > > > Any clues? I'm looking for a way to use it with just one disk while > > the other gets replaced.

Re: softraid 1 with a failed device

2009-03-03 Thread Ted Unangst
On Tue, Mar 3, 2009 at 2:02 PM, Nick Nauwelaerts wrote: > # bioctl -C force -c 1 -l /dev/sd1d softraid0 > bioctl: not enough disks > > Any clues? I'm looking for a way to use it with just one disk while the > other gets replaced. Since there's no special format for raid1, as a last resort you can

Re: softraid 1 with a failed device

2009-03-03 Thread Nick Nauwelaerts
On Mon, 02 Mar 2009 15:39:43 -0600 Aaron Poffenberger wrote: > You can't rebuild a softraid(4) right now (manually or > automatically). You have to recreate it. The process is to make a new > softraid and restore(8) the data from a recent dump(8). > > If you don't have a dump you can create the

Re: softraid 1 with a failed device

2009-03-02 Thread Aaron Poffenberger
Nick Nauwelaerts wrote: Hello, I was wondering how one can recover from a softraid in raid1 with a failed device. Recover being: just run on 1 leg until I can find a replacement disk. The error on reboot I'm faced with after loosing one disk is the following: softraid0: not assembling partial di

softraid 1 with a failed device

2009-03-02 Thread Nick Nauwelaerts
Hello, I was wondering how one can recover from a softraid in raid1 with a failed device. Recover being: just run on 1 leg until I can find a replacement disk. The error on reboot I'm faced with after loosing one disk is the following: softraid0: not assembling partial disk that used to be volume