Re: Vinum Bootstrap Help

2005-07-22 Thread David Kelly


On Jul 22, 2005, at 5:51 PM, Ben Craig wrote:

However, it appears that the vinum config isn't being saved, as  
rebooting
the machine can't find the vinum root partition, and after manually  
booting
to the pre-vinum root (ufs:ad0s1a) running vinum > list shows no  
volume

information.


Wasn't trying to boot root but had same problem. Changed  
start_cmd="gvinum start" (note the "g") in /etc/rc.d/vinum (note the  
filename was not renamed) and suitably edit /etc/fstab and have had  
no problem since.


Or apparently rather than use "start_vinum=YES" in /etc/rc.conf and  
changing /etc/rc.d/vinum, placing geom_vinum_load="YES" in /boot/ 
loader.conf does the trick.


gvinum is said not to have all the features of vinum, but if vinum  
won't start on boot then it isn't of much good. gvinum has enough  
features for me to work.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Vinum Bootstrap Help

2005-07-22 Thread Ben Craig
Hi All,
 
I've been trying to get a bootstrapped vinum volume up and running on a 5.4
release system (generic kernel, minimal install), based this How-to:
 
http://devel.reinikainen.net/docs/how-to/Vinum/
 
But I've managed to run into a problem that no amount of Googling, reading
the archive of this list, or reading the manual seems help me get by.
 
Basically, I have Vinum configured fine and can successfully run:
 
vinum > create -f /etc/vinum.conf
 
The Vinum volume is all fine and a vinum > list shows no problems.  I can
also successfully do a fsck on each of the mounts, which are:
 
/
/home
/tmp
/var
 
However, it appears that the vinum config isn't being saved, as rebooting
the machine can't find the vinum root partition, and after manually booting
to the pre-vinum root (ufs:ad0s1a) running vinum > list shows no volume
information.
 
During the reboot, vinum appears to load ok, but it can't find the root (as
shown by the last bit of the dmesg):
 
vinum: loaded
vinum: no drives found
Mounting root from ufs:/dev/vinum/root
setrootbyname failed
ffs_mountroot: can't find rootvp
Root mount failed: 6
 
The relevant config files look like this:
 
/etc/fstab
 
#DeviceMountpoint   FStypeOptionsDumpPass#
/dev/vinum/swapnoneswap   sw00
/dev/vinum/root  /ufsrw   1
1
/dev/vinum/home/homeufsrw2 2
/dev/vinum/tmp  /tmpufs   rw2
2
/dev/vinum/var   /var ufsrw2
2
/dev/acd0 /cdromcd9660  ro,noauto  00

 
 
/boot/loader.conf
 
vinum_load="YES"
vinum.autostart="YES"
 
Any suggestions as to how to sort this would be greatly appreciated.
 
Regards,
 
Ben Craig.
 
 
 
 
 
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"