Re: (g_)vinum]

2004-10-22 Thread Paul Mather
On Fri, 22 Oct 2004 10:55:37 +0200, Mark Frasa <[EMAIL PROTECTED]> wrote:

> On 2004.10.22 10:26:25 +, Mark Frasa wrote:

> > > On Thursday 21 October 2004 12:21, Mark Frasa wrote:

> > can you or anyone tell me how to make gvinum load automatically?
> > 
> > In /boot/loader.conf I set:
> > 
> > vinum_load="YES"
> > vinum.autostart="YES"
> > 
> > This doest not work, even:
> > 
> > gvinum_load="YES"
> > gvinum.autostart="YES"
> > 
> > When i boot in single user mode and i mount the gvinum volumes,
> everything is OK!
> > Thus it really is the problem of the autoload and start of vinum.
> > 
> > Mark.
> 
> AH, i found the error:
> 
> the configfile was named gvinum.conf
> 
> Thus vinum _did_ load but could nog find any disks.
> 
> Now i renamed it to /etc/vinum.conf it starts up, reconizes all the
> plexes and disks and tells every part is up.
> 
> The error is see is:
> 
> Mounting root from ufs:/dev/gvinum/root
> set root by name failed
> ffs_mountroot: can't find rootvp
> Root mount failed: 6
> 
> Then it goes to manual root filesystem specification.
> 
> Any ID?

It looks from the above that you are loading the vinum kernel module,
not the geom_vinum kernel module.  To load the correct one, add the
following to your /boot/loader.conf file:

 geom_vinum_load="YES"

That's all you need.  You should remove any extraneous cruft from
/etc/rc.conf that might cause the vinum kernel module to be loaded,
e.g., remove "start_vinum" if it's there.  Also remove any
non-geom_vinum Vinum entries from /boot/loader.conf.  E.g., remove
"vinum_load" and "vinum.autostart" if still present.

Note that the Vinum configuration resides on the drives, so you
shouldn't need an "/etc/vinum.conf" or similar to configure your Vinum
volumes on subsequent reboots.  You only need it initially to create the
Vinum configuration.

Geom_vinum will scan the drives during boot and activate any Vinum
configuration it discovers.

Cheers,

Paul.
-- 
e-mail: [EMAIL PROTECTED]

"Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid."
--- Frank Vincent Zappa
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: (g_)vinum]

2004-10-22 Thread Mark Frasa
On 2004.10.22 10:26:25 +, Mark Frasa wrote:
> On 2004.10.21 12:57:53 +, Kirk Strauser wrote:
> > On Thursday 21 October 2004 12:21, Mark Frasa wrote:
> > 
> > > Arg stupid, off course..
> > 
> > Nah.  There's a lot of information there to go through.  I didn't realize 
> > how ready gvinum was for production until I edited my /etc/fstab a couple 
> > of weeks ago to replace /dev/vinum with /dev/gvinum and everything Just 
> > Worked (tm).  Wish all of my software migrations were this easy.  :)
> > 
> > > You can't imagine how happy i am atm. Now i finally can move on.
> > >
> > > Thanks a million.
> > 
> > You bet.  Take care!
> > -- 
> > Kirk Strauser
> 
> Right,
> 
> can you or anyone tell me how to make gvinum load automatically?
> 
> In /boot/loader.conf I set:
> 
> vinum_load="YES"
> vinum.autostart="YES"
> 
> This doest not work, even:
> 
> gvinum_load="YES"
> gvinum.autostart="YES"
> 
> When i boot in single user mode and i mount the gvinum volumes, everything is OK!
> Thus it really is the problem of the autoload and start of vinum.
> 
> Mark.

AH, i found the error:

the configfile was named gvinum.conf

Thus vinum _did_ load but could nog find any disks.

Now i renamed it to /etc/vinum.conf it starts up, reconizes all the plexes and disks 
and tells every part is up.

The error is see is:

Mounting root from ufs:/dev/gvinum/root
set root by name failed
ffs_mountroot: can't find rootvp
Root mount failed: 6

Then it goes to manual root filesystem specification.

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


[bsd@frasa.net: Re: (g_)vinum]

2004-10-22 Thread Mark Frasa
On 2004.10.21 12:57:53 +, Kirk Strauser wrote:
> On Thursday 21 October 2004 12:21, Mark Frasa wrote:
> 
> > Arg stupid, off course..
> 
> Nah.  There's a lot of information there to go through.  I didn't realize 
> how ready gvinum was for production until I edited my /etc/fstab a couple 
> of weeks ago to replace /dev/vinum with /dev/gvinum and everything Just 
> Worked (tm).  Wish all of my software migrations were this easy.  :)
> 
> > You can't imagine how happy i am atm. Now i finally can move on.
> >
> > Thanks a million.
> 
> You bet.  Take care!
> -- 
> Kirk Strauser

Right,

can you or anyone tell me how to make gvinum load automatically?

In /boot/loader.conf I set:

vinum_load="YES"
vinum.autostart="YES"

This doest not work, even:

gvinum_load="YES"
gvinum.autostart="YES"

When i boot in single user mode and i mount the gvinum volumes, everything is OK!
Thus it really is the problem of the autoload and start of vinum.

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


(g_)vinum

2004-10-19 Thread Mark Frasa
Hello,

First i want to quote something:

>Vinum is being rewritten; the new one is called gvinum or geom_vinum.
>
> It handles swap, and it should be in 5.3.
> 
> Greg

Here Greg tells me that Vinum should be in 5.3 Yesterday after 5.3-RC1 came trough, i 
downloaded the ISO and installed 5.3-RC1.
After that i set up vinum for mirorring (RAID1)

After setting up i still get the error which should be fixed in 5.3:

swapon /dev/vinum/swap: Operation not supported by device

Do i have to wait for the 5.3-RELEASE for g_vinum?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"