Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2001 11:42:23 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Drew Tomlinson <drewt@writeme.com>
Cc:        "FreeBSD Questions (E-mail)" <freebsd-questions@FreeBSD.org>
Subject:   Re: www.vinumvm.org
Message-ID:  <20010516114223.C35292@wantadilla.lemis.com>
In-Reply-To: <BA5D0CE1CBB2D411B6AA00A0CC3F02390AF9E3@ldcmsx01.lc.ca.gov>; from drewt@writeme.com on Tue, May 15, 2001 at 05:11:04PM -0700
References:  <20010515082954.J17428@wantadilla.lemis.com> <BA5D0CE1CBB2D411B6AA00A0CC3F02390AF9E3@ldcmsx01.lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, 15 May 2001 at 17:11:04 -0700, Drew Tomlinson wrote:

> On  Monday, May 14, 2001 4:00 PM, Greg Lehey wrote:
>>
>> On Monday, 14 May 2001 at 10:02:14 -0700, Drew Tomlinson wrote:
>>> Does anyone know the IP address of http://www.vinumvm.org or its
>>> status?
>>
>> It's up, but since it's a virtual host, an IP address won't get you
>> anywhere.
>
> Ah, but if I put it in my host table and then access it by name, I could
> still get to it.  :)

Hmm, yes.  Anyway, I'm getting an off-site name server, so that
shouldn't happen again.

>>> I am trying to setup vinum on my 4.3 system for the first time and
>>> need some help as I'm not understanding this very well.
>>> Specifically, I have 3 4.3G drives with a 100M root partition on the
>>> first and a 192M swap partition on the other two.  The remainder of
>>> the first drive has a second partition mounted as /usr.  What I
>>> would really like to have to keep the 100M root partition (only
>>> because ASFAIK one can't use vinum on root) and have a striped 384M
>>> swap and the remainder all of the space on all of the drives as one
>>> large striped partition mounted as /usr.  Is this possible?
>>
>> Only if all the Vinum drives (partitions) are thee same size.
>
> How would I do that?  Take a backup of /usr, then delete it, create
> my Vinum drive, and then restore it?  Or is there a better way?
> What "gotchas" might I come across?

Well, in fact, all you need is to have same-sized subdisks.  But if
you only want one volume, you'd have space left over if the drives
weren't all the same size.

The trick way to turn /usr into a Vinum volume is to make swap 265
sectors longer when installing, then place /usr immediately after
swap.  After installation, reboot in single user mode, shorten swap by
265 sectors and make an overlapping Vinum drive start there.  The real
/usr will then be at the beginning of the subdisk space, so you just
need to define a plex with the same location as the /usr partition.
I'll write this up in more detail some day.

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

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?20010516114223.C35292>