Date: Fri, 27 Dec 2002 01:51:58 +0100 From: Roman Neuhauser <neuhauser@bellavista.cz> To: Greg 'groggy' Lehey <grog@FreeBSD.org> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: vinum mirror Message-ID: <20021227005158.GN348@freepuppy.bellavista.cz> In-Reply-To: <20021227002040.GB59463@wantadilla.lemis.com> References: <20021226075651.GA348@freepuppy.bellavista.cz> <20021226101639.GC348@freepuppy.bellavista.cz> <20021227002040.GB59463@wantadilla.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
# grog@FreeBSD.org / 2002-12-27 10:50:40 +1030:
> On Thursday, 26 December 2002 at 11:16:39 +0100, Roman Neuhauser wrote:
> > # neuhauser@bellavista.cz / 2002-12-26 08:56:51 +0100:
> >> I'm trying to setup a mirrored volume, but haven't gotten too far.
> >>
> >> A freshly installed 4.7-RELEASE, with
> >> ad0s1{a,b,e} - /, swap, /usr
> >> da{0,1}s1{b,e} - swap, <future-mirrored-var>
> >>
> >> right now, I have /var on da0s1e, the goal is to have it mirrorred on
> >> da1s1e. I've read www.vinumvm.org/vinum/fullintro.html (a bit over my
> >> head), and am trying to go along /usr/share/doc/articles/vinum/.
> >
> > ...
> >
> >> # fsck -n /dev/vinum/mirror
> >> ** /dev/vinum/mirror (NO WRITE)
> >> BAD SUPER BLOCK: MAGIC NUMBER WRONG
> >> /dev/vinum/mirror: CANNOT FIGURE OUT FILE SYSTEM PARTITION
> >
> > got past that: the "bootstrapping vinum" article doesn't mention
> > that disklabel output is in sectors while vinum defaults to bytes;
> > and I didn't notice this for some reason.
>
> There wasn't anything obviously wrong in the output you posted before.
yes I know. I thought I implied in the followup that the problem was
in the part I didn't show: in the `vinum create` config files. The
len and driveoffset values didn't specify the "s" suffix; the
numbers were as output by disklabel (sectors), but vinum interprets
unqualified values as bytes. Once I turned the the
"len 69729144 driveoffset 265" into "len 69729144s driveoffset 265s"
all was well.
> > oh, BTW, if you read this, Greg, I got panic with these two
> > config files ("drive a" in both):
>
> What was the panic? Where's the dump?
signal 12, and I don't know more. it was early in the morning after
a night of RTFMing and other futile attempts to get it to work, and
I couldn't wait to get to bed. :)
> I've just put up review drafts for the Vinum chapter of the upcoming
> fourth edition of "The Complete FreeBSD" at
> http://www.vinumvm.org/cfbsd/vinum.pdf and
> http://www.vinumvm.org/cfbsd/vinum.txt. It contains a considerable
> amount of completely new material There may be some loose ends there.
> I'd be interested in feedback.
I'll take a look. Thanks for the software, by the way.
--
If you cc me or remove the list(s) completely I'll most likely ignore
your message. see http://www.eyrie.org./~eagle/faqs/questions.html
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021227005158.GN348>
