gvinum/vinum on 6.0

Stijn Hoop stijn at win.tue.nl
Wed Jan 11 05:23:32 PST 2006


On Wed, Jan 11, 2006 at 06:58:34AM -0500, Brian Szymanski wrote:
> Stijn, thanks for your help, I'm getting closer...

Great!

> > > But most importantly, gvinum configuration (at least for a raid-5 plex)
> > > still doesn't persist across a reboot :(
> >
> > That's a bug; I think it might be related to compiling gvinum in the
> > kernel
> > as opposed to loading it from /boot/loader.conf. I also think there is a
> > fix already commited to 6-STABLE.
> 
> Hmm, I upgraded to 6-STABLE and I'm still having the problem.
> 
> Here's basically how it happens:
> gvinum create /etc/vinum.cnf
> newfs /dev/gvinum/VOLUME
> mount /dev/gvinum/VOLUME /mnt
> #screw with /mnt, everything works and is happy, yay!
> reboot
> 
> At this point I call "gvinum l" (which loads geom_vinum.ko) by hand (after
> the reboot). My configuration mostly seems to persist - except or the
> "drives" section...

Ah ok. Hmm. Lukas will need to look at the initialization code path again
I think. Sounds like some random pointer is being used somewhere.

> Would I have better luck compiling gvinum into the kernel instead of
> loading the module? What do other folks who have successful config's do?

I use a third method: load geom_vinum.ko in /boot/loader.conf:

[stijn at sandcat] <~> cat /boot/loader.conf | grep geom_vinum
geom_vinum_load="YES"

But maybe those lost configurations have something to do with
disks/controllers as well? Mine are Promise Ultra133 with Maxtor
200/250G drives, as well as an internal IDE chipset with Maxtor 120G
drives.

In any case, that's really an area that I'm unable to help you with,
it all depends on a lot of GEOM internal stuff that I don't understand
(yet).

HTH,

--Stijn

-- 
> Thus again, we have succesfully proven that I cannot read minds.
It doesn't help. Almost all you ever get is "This mind intentionally left
blank."
		-- Steve VanDevender, alt.sysadmin.recovery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060111/e0d9f8b1/attachment.bin


More information about the freebsd-stable mailing list