Date: Mon, 8 Nov 2004 09:57:22 -0600 From: M.Keith.Thompson@hurlburt.af.mil To: freebsd-questions@freebsd.org Subject: Gvinum boot Message-ID: <B9B5368FF0E0C6439E0C34F823DDE79808747536@vexncc2.hurlburt.af.mil>
next in thread | raw e-mail | index | archive | help
I have read all of the messages on this board pertaining to vinum & gvinum and I am still having problems. I re-installed and started from scratch, but gvinum starts and says my plexes are stale. I am following the instructions in Chapter 12 of online docs. I am trying to mirror 2 drives. I am just trying to get the boot drive up and running before I start the mirror. Does the partition need to be called gvinum in the bsdlabel program? Output from bsdlabel before changes: # /dev/da0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 2097152 1050624 4.2BSD 2048 16384 28552 b: 1050624 0 swap c: 17774160 0 unused 0 0 # "raw" part, don't edit d: 262144 3147776 4.2BSD 2048 16384 16392 e: 6291456 3409920 4.2BSD 2048 16384 28552 f: 8072784 9701376 4.2BSD 2048 16384 28552 Output from bsdlabel after changes: # /dev/da0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 2097152 1050624 4.2BSD 2048 16384 28552 b: 1050343 281 swap c: 17774160 0 unused 0 0 # "raw" part, don't edit d: 262144 3147776 4.2BSD 2048 16384 16392 e: 6291456 3409920 4.2BSD 2048 16384 28552 f: 8072784 9701376 4.2BSD 2048 16384 28552 h: 17774144 16 vinum Create.foo: drive foo device /dev/da0s1h volume root plex org concat # a: 2097152 1050624 4.2BSD sd len 2097152s driveoffset 1050608s drive foo volume swap plex org concat # b: 1050343 281 swap sd len 1050343s driveoffset 265s drive foo volume tmp plex org concat # d: 262144 3147776 4.2BSD sd len 262144s driveoffset 3147760s drive foo volume var plex org concat # e: 6291456 3409920 4.2BSD sd len 6291456s driveoffset 3409904s drive foo volume usr plex org concat # f: 8072784 9701376 4.2BSD sd len 8072784s driveoffset 9701360s drive foo Here is the error I get at boot: GEOM_VINUM: subdisk swap.p0.s0 is stale GEOM_VINUM: subdisk root.p0.s0 is stale GEOM_VINUM: subdisk tmp.p0.s0 is stale GEOM_VINUM: subdisk var.p0.s0 is stale GEOM_VINUM: subdisk usr.p0.s0 is stale Mounting root from ufs:/dev/da0s1a gvinum: lost drive 'foo' GEOM_VINUM: subdisk swap.p0.s0 is down GEOM_VINUM: plex swap.p0 is down GEOM_VINUM: subdisk root.p0.s0 is down GEOM_VINUM: plex root.p0 is down GEOM_VINUM: subdisk tmp.p0.s0 is down GEOM_VINUM: plex tmp.p0 is down GEOM_VINUM: subdisk var.p0.s0 is down GEOM_VINUM: plex var.p0 is down GEOM_VINUM: subdisk usr.p0.s0 is down GEOM_VINUM: plex usr.p0 is down Fstab before vinum: # Device Mountpoint FStype Options Dump Pass# /dev/da0s1b none swap sw 0 0 /dev/da1s1b none swap sw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/da1s1d /nofuture ufs rw 2 2 /dev/da0s1d /tmp ufs rw 2 2 /dev/da0s1f /usr ufs rw 2 2 /dev/da0s1e /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 Fstab after vinum: # Device Mountpoint FStype Options Dump Pass# /dev/gvinum/swap none swap sw 0 0 /dev/da1s1b none swap sw 0 0 /dev/gvinum/root / ufs rw 1 1 /dev/da1s1d /nofuture ufs rw 2 2 /dev/gvinum/tmp /tmp ufs rw 2 2 /dev/gvinum/usr /usr ufs rw 2 2 /dev/gvinum/var /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B9B5368FF0E0C6439E0C34F823DDE79808747536>