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 [EMAIL PROTECTED] for PGP public key


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to