Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 1999 22:17:21 -0800
From:      Jake <jake@checker.org>
To:        Greg Lehey <grog@lemis.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: vinum is always started at boot-time... 
Message-ID:  <199901180617.WAA01907@h24-64-221-247.gv.wave.shaw.ca>
In-Reply-To: Your message of "Mon, 18 Jan 1999 15:38:05 %2B1030." <19990118153804.D55525@freebie.lemis.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Oops.  This was a thoroughly successful commit, wasn't it?  At least
> it didn't break `make world'.

:)

> 
> I'll think out another way and test more thoroughly.  How does this
> look?
> 
> if [ -f /etc/vinumslices ]; then
> 	read /etc/vinumslices
> 	if [ -r /modules/vinum.ko ]; then	# jkh paranoia
> 		kldload vinum
> 		vinum read $vinum_slices
> 	else
> 		echo "Can't find /modules/vinum.ko"
> 	fi
> fi
> 

Why not just suck in rc.conf before starting vinum?

I've modified my /etc/rc to do this, and it works fine.
I submitted a PR with a patch.

also, I tried 'pseudo-device vinum' and it does work, 
but I think I ran into trouble somewhere.  
Oh yeah, it worked once, but each subsequent 
reboot seemed to replicate my subdisks, 
until I had about 16, only two of which were real.
Finally I found my config file, recreated and switched
back to the kld.

FWIW I think its good to load the module from /etc/rc
rather than loader.rc, keeps all the vinum stuff in one
place.  Maybe we could even have the module loaded
on demand; ie if you try to run vinum before the module
is loaded, load it automatically.

Cheers 


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?199901180617.WAA01907>