Date: Sat, 13 Feb 1999 11:15:38 +1030 From: Greg Lehey <grog@lemis.com> To: Jaye Mathisen <mrcpu@internetcds.com>, questions@FreeBSD.ORG Subject: Re: Fundamental vinum question I'm missing. Message-ID: <19990213111538.V54333@lemis.com> In-Reply-To: <Pine.NEB.3.95.990212153456.27256C-100000@schizo.cdsnet.net>; from Jaye Mathisen on Fri, Feb 12, 1999 at 03:39:37PM -0800 References: <Pine.NEB.3.95.990212153456.27256C-100000@schizo.cdsnet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, 12 February 1999 at 15:39:37 -0800, Jaye Mathisen wrote:
>
> I'm using a very recent (last couple of days) 3.1-beta box, testing
> out vinum.
>
> It's working fine, except the vinum read config option doesn't seem to
> work.
>
> Here was my config file:
>
> drive drive1 device /dev/da2c
> drive drive2 device /dev/da3c
> drive drive3 device /dev/da4c
> volume vol0
> plex org striped 32b
> sd length 4000m drive drive1
> sd length 4000m drive drive2
> sd length 4000m drive drive3
>
> I can mount, it, and it works fine.
>
> I put /dev/da2 /dev/da3 /dev/da4 in rc.conf, in the vinum_disks section,
> but it never finds it in bootup, I have to manually read in the config
> each time, and then mount it.
>
> vinum read /dev/da2 /dev/da3 /dev/da4
> Feb 12 15:43:14 manipulation /kernel: vinum: no drives found
> Feb 12 15:43:14 manipulation /kernel: vinum: no drives found
Correct. c is the `whole disk' partition. Conventional wisdom says
you shouldn't be using it, so `read' ignores it.
Your easiest solution is to run disklabel -e on each of these
partitions and add another partition with the same parameters. For
example, if you have:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
c: 1173930 0 unused 0 0 # (Cyl. 0 - 358)
change it to:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 1173930 0 unused 0 0 # (Cyl. 0 - 358)
c: 1173930 0 unused 0 0 # (Cyl. 0 - 358)
I'll think about removing this restriction, since I'm sure you won't
be the last person to trip over the problem.
BTW, you should probably re-cvsup: I've finally implemented the `vinum
start' command which will go out and build a read command for you:
grog 1999/02/10 21:16:01 PST
Modified files: (Branch: RELENG_3)
sbin/vinum commands.c
Log:
Extend 'start' command: if used without any parameters, vinum scans
all disks known to devstat for vinum drives and reads their
configuration.
Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990213111538.V54333>
