Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 2004 10:08:42 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        synrat <synrat@wirewalk.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: vinum requirements
Message-ID:  <20040424003841.GE49318@wantadilla.lemis.com>
In-Reply-To: <20040423144713.J85618@mail.wirewalk.com>
References:  <20040422110437.U73285@mail.wirewalk.com> <20040422224514.GA13249@wantadilla.lemis.com> <20040423144713.J85618@mail.wirewalk.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--WBsA/oQW3eTA3LlM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Friday, 23 April 2004 at 14:47:30 -0400, synrat wrote:
> On Fri, 23 Apr 2004, Greg 'groggy' Lehey wrote:
>
>> On Thursday, 22 April 2004 at 11:32:22 -0400, synrat wrote:
>>>
>>> does vinum configuration need to be located
>>> in the beginning of the drive after bootstrap or
>>> is it possible to store at the end of the drive ?
>>
>> Currently it must be at the beginning of a drive.
>>
>>> the reason I ask is I only have 60kb available in the beginining and
>>> the first partition is /.  I should be able to shrink swap, which is
>>> at the end of the drive, but I'm not sure I understand how vinum
>>> stores it's configuration. Does there need to be a separate
>>> partition for vinum that has at least enough space for
>>> configuration, which doesn't overlap with anything else ?
>>
>> No, it's part of the drive.  In Vinum terminology, a "drive" is a disk
>> partition, the same one on which the subdisks are stored.
>>
>>> Is the rest of vinum partition supposed to overlap with everything
>>> that I want to configure as a plex ( I'm talking about mirroring
>>> exisiting partitions ) Or should there be 2 different vinum
>>> partitions, one for configuration and another one for plexes ?
>>
>> I'd suggest you take a look at the documentation at
>> http://www.vinumvm.org/cfbsd/vinum.pdf.  It should clarify a number of
>> things.
>>
>> And yes, in retrospect it was a bad idea to put the configuration at
>> the front of the drive.
>
> Does all this mean that if I don't have ~133kb available
> for Vinum in the beginning of the disk before my first ( root )
> partition, I can't use Vinum on that disk ?

Well, you would have to rearrange things.

> or would it write half of the configuration in that first 60kb and
> the rest in whatever other freespace I have ?

No, it would write half the configuration in the first 66.5 kB and the
rest of the configuration directly behind it, overwriting important
things like the first two superblocks.

> I admit this sounds like a joke :).

It sounds more like a recipe for disaster to me.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger grog@FreeBSD.org for PGP public key.
See complete headers for address and phone numbers.

--WBsA/oQW3eTA3LlM
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQFAibcRIubykFB6QiMRAjZtAJ90rKDX6p4LTRazNnCTH8qnc3o5iwCfWQOt
cVIUnBng7FfHVuWiU+9aCts=
=43km
-----END PGP SIGNATURE-----

--WBsA/oQW3eTA3LlM--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040424003841.GE49318>