Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2002 16:30:23 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Rob Ellis <rob@web.ca>
Cc:        Stephen Hoover <shooverfbn@442spot.com>, Danny Pansters <danny@ricin.com>, freebsd-questions@freebsd.org
Subject:   Re: Questions about vinum and failure of root partition
Message-ID:  <20020808070022.GC8561@wantadilla.lemis.com>
In-Reply-To: <20020807170209.GC53552@web.ca>
References:  <20020807160227.GB53552@web.ca> <MOEJLOFPGBFEEOIFFMLKIEBNDCAA.shooverfbn@442spot.com> <20020807170209.GC53552@web.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday,  7 August 2002 at 13:02:09 -0400, Rob Ellis wrote:
> On Wed, Aug 07, 2002 at 11:15:53AM -0500, Stephen Hoover wrote:
>> Subject: Re: Questions about vinum and failure of root partition
>>
>>> i'm not sure about putting /usr on the vinum mirror as
>>> i've seen recommended -- you often want /usr in
>>> single user mode.
>>
>> Now this is getting out of my realm of experience, but why
>> is that an issue? I have my /usr mirrored with vinum and when
>> I dropped down to single usr mode to do an installworld for
>> instance, I just start vinum and mount the volume.
>
>
> i guess i'm anticipating having to go into single user
> to deal with problems without running vinum -- for instance,
> problems with vinum / remounting partitions? ... maybe
> vinum is solid enough that that's not an issue...

Assuming it isn't, you can still use a trick: have overlapping BSD and
Vinum partitions, and ensure that at least one plex is concatenated
with only a single subdisk.  Vinum tells you where the subdisks are,
so you can just place a disk label there.  For example:

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  6289807      265    4.2BSD        0     0     0   # (Cyl.    0 - 1050*)
  c:  6290172        0    unused        0     0         # (Cyl.    0 - 1050*)
  e:  6290172        0    vinum			        # (Cyl.    0 - 1050*)

Here partition a would coincide with the first subdisk on the e
partition.

> if you do want to put /usr on a vinum partition, you're back to the
> bootstrapping problem -- where to install /usr during the freebsd
> install, what to do with that space afterwards.

The example above solves that problem as well.

Greg
--
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?20020808070022.GC8561>