Howdy! I am setting up a fileserver using two completely mirrored disks using vinum. I am using vinum on the root partition.
I booted from a third disk and setup the vinum volumes and mounted them under /mnt, then just did "make installworld DESTDIR=/mnt" Everything was cool, could fsck -n /dev/da1a (the "fake" a partition) no problem. Everything is happy booting from a third drive and mounting vinum volumes. The loader comes up fine and shows the vinum module loaded and the variables vinum_root and vinum_drives correctly as specified in loader.conf. The system is 4.8-STABLE from about 3 weeks ago. /boot/loader.conf (on vinum/root) contains vinum_load="YES" # Concatenated/mirror/raid driver vinum_root="root" # Concatenated/mirror/raid driver vinum_drives="/dev/da0 /dev/da1"# Concatenated/mirror/raid driver Loader is finding the correct "fake" disk partition "a" and everything but when the kernel boots mountroot fails with "missing unit number". Any ideas for debugging, or what I am doing wrong welcome. thanx - steve Additional info follows ... kernel boot ... The Regents of the University of California. All rights reserved. FreeBSD 4.8-STABLE #0: Fri Jul 25 10:41:22 EDT 2003 [EMAIL PROTECTED]:/usr/src/sys/compile/MFS Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1130456212 Hz CPU: Intel(R) Pentium(R) III CPU family 1133MHz (1130.46-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 2147418112 (2097088K bytes) avail memory = 2087862272 (2038928K bytes) Preloaded elf kernel "kernel" at 0x4038a000. Preloaded elf module "vinum.ko" at 0x4038a09c. Pentium Pro MTRR support enabled Using $PIR table, 13 entries at 0x400f3b60 [snip] vinum: loaded Mounting root from ufs:/dev/vinum/root missing unit number setrootbyname failed ffs_mountroot: can't find rootvp Root mount failed: 6 Mounting root from ufs:da0s4a Root mount failed: 6 Mounting root from ufs:da0a Root mount failed: 6 mountroot> ? Possibly valid devices for 'ufs' root: "console" "ctty" "mem" "pts" "ptc" "log" "fd" "da" "FD" "pass" "pci" "vinum" "xpt" /etc/fstab in /dev/vinum/root .... /dev/vinum/swap none swap sw 0 0 /dev/vinum/root / ufs rw 1 1 /dev/vinum/usr /usr ufs rw 2 2 /dev/vinum/var /var ufs rw 2 2 proc /proc procfs rw 0 0 disklabels for both mirrored disks .... 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 253671 281 4.2BSD 2048 16384 97 # (Cyl. 0*- 15*) c: 35843670 0 unused 0 0 # (Cyl. 0 - 2231*) h: 35843654 16 vinum # (Cyl. 0*- 2231*) This is vinum configuration file that was used to set up the volume They were originally recongnized as da1 da2, but I moved them to da0 da1. cause I need the other disk to boot and setup other volumes on other boxen. # vinum.cfg # # # drive d0 device /dev/da1h drive d1 device /dev/da2h volume root setupstate plex org concat sd length 253671s driveoffset 265s drive d0 plex org concat sd length 253671s driveoffset 265s drive d1 volume swap setupstate plex org concat sd length 2097152s driveoffset 253936s drive d0 plex org concat sd length 2097152s driveoffset 253936s drive d1 volume usr setupstate plex org concat sd length 2097152s driveoffset 2351088s drive d0 plex org concat sd length 2097152s driveoffset 2351088s drive d1 volume var setupstate plex org concat sd length 409600s driveoffset 4448240s drive d0 plex org concat sd length 409600s driveoffset 4448240s drive d1 volume netb setupstate plex org concat sd length 10485760s driveoffset 4857840s drive d0 plex org concat sd length 10485760s driveoffset 4857840s drive d1 volume netb_root setupstate plex org concat sd length 16777216s driveoffset 15343600s drive d0 plex org concat sd length 16777216s driveoffset 15343600s drive d1 volume netb_host setupstate plex org concat sd length 3722838s driveoffset 32120816s drive d0 plex org concat sd length 3722838s driveoffset 32120816s drive d1 _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"