Re: [Vinum-devel] loader.conf variables for vinum

2004-09-06 Thread Joerg Wunsch
[EMAIL PROTECTED] with FreeBSD 4.x]

As Bob Van Valzazh wrote:

 Short answer: don't set vinum.autostart

 Long answers: 5.x contains code to discover all attached disk drives
 whereas 4.x does not.  Hence 4.x needs to be told were to look for
 disks (that's the vinum.drives setting).  Vinum.autostart just tells
 5.x to run the discovery code.

Addition: the code to parse the name of the root device in 4.x is too
narrow-minded to parse a string like /dev/vinum/root, it can only
parse [/dev/]DDU[sS]P-style root device names (DD - driver name, U -
unit number, sS - slice number, P - partition letter).  Thus you need
to set the vinum.root variable so the vinum subsystem pre-determines
the name of the root device, and the parser for the root device name
will be bypassed.  FreeBSD 5.x contains a much more flexible parser
for the root device name, which allows each subsystem to place hooks
into it, and try translating a name like /dev/vinum/root into the
respective major/minor device number.  That's why vinum.root is no
longer needed under 5.x either.

-- 
cheers, Jorg   .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Vinum-devel] loader.conf variables for vinum

2004-09-02 Thread Bob Van Valzazh
Short answer: don't set vinum.autostart

Long answers: 5.x contains code to discover all attached disk drives
whereas 4.x does not.  Hence 4.x needs to be told were to look for disks
(that's the vinum.drives setting).  Vinum.autostart just tells 5.x to
run the discovery code.

Bob

On Thu, 2004-09-02 at 02:34, FreeBSD Daemon wrote:
 Dear list,
  
 I am using 4.10R and want to set up a mirrored / using vinum.
  
 I am confused by the note in section 17.9.1 of the handbook stating that
 the following paragraphs only apply to 5.x and refer to 17.9.5 for 4.x
 configuration.
  
 Do I have to set just vinum_load, vinum.drives, and vinum.root in 4.x?
 Or do I have to set vinum.autoload, too?
  
 TIA
  
 Zheyu
  
 ___
 Vinum-devel mailing list
 [EMAIL PROTECTED]
 http://www.auug.org.au/mailman/listinfo/vinum-devel
 Hosted by AUUG (http://www.auug.org.au/).  
 Join AUUG at http://www.auug.org.au/info#join.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]