Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 1999 15:19:50 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Thierry Herbelot <herbelot@cybercable.fr>
Cc:        "David E. Cross" <crossd@cs.rpi.edu>, freebsd-current@FreeBSD.ORG
Subject:   Re: vinum in -current
Message-ID:  <19990623151950.A581@freebie.lemis.com>
In-Reply-To: <377071AF.4541C060@cybercable.fr>; from Thierry Herbelot on Wed, Jun 23, 1999 at 07:33:35AM %2B0200
References:  <grog@lemis.com> <199906230214.WAA26278@cs.rpi.edu> <19990623120730.H76907@freebie.lemis.com> <377071AF.4541C060@cybercable.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, 23 June 1999 at  7:33:35 +0200, Thierry Herbelot wrote:
> Greg Lehey wrote:
>>
>
> [SNIP]
>
>> I've also changed the names of the drives.  With the old ones, you
>> won't be able to start the volume after a reboot.  To quote vinum(8):
>>
>>      drive name option
>>
>>            Define a drive.  The option must be:
>>
>>            device devicename   Specify the device on which the drive resides.
>>                                devicename must be the name of a disk compati-
>>                                bility partition, for example /dev/da1e or
>>                                /dev/wd3h, and it should be of type vinum. Do
>>                                not use the c partition, which is reserved for
>>                                the complete disk, and should be of type
>>                                unused. It is currently possible to create
>>                                drives on other disk devices, for example
>>                                /dev/da0s1 or /dev/da0s1e, but it will not be
>>                                possible to start these drives after a reboot.
>
> Hello Greg,
>
> If I may intrude in this discussion, I was wondering what is the correct
> syntax for naming vinum drives in rc.conf.
> I've got two drives merged and striped with vinum, but I'm not sure what
> to put in rc.conf
> vinum_conf :
> drive drive1 device /dev/wd1s1h
> drive drive2 device /dev/wd2s1h

As the man page excerpt that you quoted above shows, this is wrong.
It should be /dev/wd1h and /dev/wd2h.

> volume initial
>  plex org striped 512b
>   sd length 19806208b drive drive1
>   sd length 19806208b drive drive2
>
> in rc.conf :
> Is the following correct :
> vinum_drives="/dev/wd1s1h /dev/wd2s1h"
> or should it be
> vinum_drives="/dev/wd1h /dev/wd2h"

In fact, it should be

 vinum_drives=""
 start_vinum=YES

That way, vinum will start all drives.

> 	Big kudos for vinum

Thanks.

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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