Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2001 09:47:57 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Vinesh Christopher <vineshc@ami.com>, Charlie Watts <cewatts@frontier.net>
Cc:        Shawn Ostapuk <shawno@inficad.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: vinum configuration
Message-ID:  <20010424094757.N37321@wantadilla.lemis.com>
In-Reply-To: <4A78850EF802D211BB3900805FFE555501BA29E9@atl_es1.megatrends.com>; from vineshc@ami.com on Mon, Apr 23, 2001 at 03:57:08PM -0400
References:  <Pine.LNX.4.03.10104231352480.8732-100000@animas.frontier.net> <Pine.LNX.4.03.10104231405310.8732-100000@animas.frontier.net> <20010423124652.A3926@inficad.com> <Pine.LNX.4.03.10104231352480.8732-100000@animas.frontier.net> <4A78850EF802D211BB3900805FFE555501BA29E9@atl_es1.megatrends.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 23 April 2001 at 13:58:43 -0600, Charlie Watts wrote:
> On Mon, 23 Apr 2001, Shawn Ostapuk wrote:
>
>> After upgrading to 4.3 from 4.2 my vinum configuration seems
>> to have stopped working.
> <snip>
>> Both drives are there and seem fine, only other odd behavior is..
> <snip>
>>   c: 60074721        0     vinum                    	# (Cyl.    0 - 59597*)
>> Warning, partition c is not marked as unused!
>> Warning, An incorrect partition c may cause problems for standard
>> system utilities
> <snip>
>> Am i doing something wrong? I've had this working fine for about a
>> year now and never had problems upgrading, this 4.3 release seems to
>> have broke it but I cant say I know why.
>
> Partition C is a "special" partition representing the whole disk. It is
> explicitly forbidden to use it for volumes.
>
> I believe that new versions of Vinum enforce this restriction.
>
> You should be able to fix this by creating a duplicate entry in your
> disklabel with another partition letter ...
>
> c: 60074721        0     unused                   	# (Cyl.    0 - 59597*)
> e: 60074721        0     vinum                    	# (Cyl.    0 - 59597*)
>
> And then re-creating your vinum conf with e instead of c.

Note that you can do this with no loss of data.

On Monday, 23 April 2001 at 15:57:08 -0400, Vinesh Christopher wrote:
> Partition c represents the whole harddisk and should be used
> for any file system.
>
> Using disklabel create a partition a  with fstype vinum  and
> change your vinum.conf  to use /dev/ad2a and /dev/ad3a
>
> For me it is still working in 4.2-STABLE  I got last week

On Monday, 23 April 2001 at 14:10:01 -0600, Charlie Watts wrote:
> Oh, and regarding the suggestion to use partition letter 'a' ... isn't 'a'
> historically used as root?
>
> 'b' is swap, 'c' is the whole disk ...
> And 'd' through 'f' are available?
>
> I can't find any more-specific mentions of this, though ... so I
> might have gotten the wrong idea from somewhere. Comments, anyone?

All of the partition letters are conventions, but 'c' is the most
important.  It doesn't really matter which of the other letters you
use, though in general you're right, 'a' is root and 'b' is swap.  I
tend to use 'e' or 'h'.

Note also, since I'm talking about the issue, that you should have a
maximum of one Vinum drive per spindle.  That's all you need: if you
want to create multiple volumes, create multiple subdisks on the
drive.

Greg
--
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-stable" in the body of the message




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