Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 2002 11:16:39 +0100
From:      Roman Neuhauser <neuhauser@bellavista.cz>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: vinum mirror
Message-ID:  <20021226101639.GC348@freepuppy.bellavista.cz>
In-Reply-To: <20021226075651.GA348@freepuppy.bellavista.cz>
References:  <20021226075651.GA348@freepuppy.bellavista.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
# 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.

    got it going now.

    oh, BTW, if you read this, Greg, I got panic with these two config
    files ("drive a" in both):

    mirror.a:
    drive a device /dev/da0s1e
    volume mirror
      plex name mirror.p0 org concat volume mirror
        sd name mirror.p0.s0 drive a plex mirror.p0 len 69729144s driveoffset 265s

    mirror.b:
    drive b device /dev/da1s1e
      plex name mirror.p1 org concat volume mirror
        sd name mirror.p1.s0 drive a plex mirror.p1 len 69729144s driveoffset 265s

-- 
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?20021226101639.GC348>