Date: Tue, 26 Aug 2003 11:04:15 +0930 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: Thomas Smith <tom@openadventures.org> Cc: freebsd-questions@freebsd.org Subject: Re: Need Vinum help Message-ID: <20030826013415.GK45617@wantadilla.lemis.com> In-Reply-To: <3F4AB59D.1010802@openadventures.org> References: <3F4AB59D.1010802@openadventures.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--OHOABd/r1N6D/+xo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Monday, 25 August 2003 at 18:19:25 -0700, Thomas Smith wrote:
> I think I have the process of creating a Vinum volume but I'm missing
> something.
>
> My config file (config1) contains:
>
> drive a device /dev/ad0
> volume root
> plex org concat
> sd length 36g drive a
>
> When I run /vinum create config1/ I get the error "Can't initialize
> device a: Operation not supported by device"
>
> I've huffed, and I've puffed, and I've blown over many a page of docs
> and can't seem to figure out what gives.
Try this part of the man page:
DRIVE LAYOUT CONSIDERATIONS
vinum drives are currently BSD disk partitions. They must be of type
vinum in order to avoid overwriting data used for other purposes. Use
disklabel -e to edit a partition type definition. The following display
shows a typical partition layout as shown by disklabel(8):
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 81920 344064 4.2BSD 0 0 0 # (Cyl. 240*- 297*)
b: 262144 81920 swap # (Cyl. 57*- 240*)
c: 4226725 0 unused 0 0 # (Cyl. 0 - 2955*)
e: 81920 0 4.2BSD 0 0 0 # (Cyl. 0 - 57*)
f: 1900000 425984 4.2BSD 0 0 0 # (Cyl. 297*- 1626*)
g: 1900741 2325984 vinum 0 0 0 # (Cyl. 1626*- 2955*)
In this example, partition ``g'' may be used as a vinum partition. Par-
titions ``a'', ``e'' and ``f'' may be used as UFS file systems or ccd
partitions. Partition ``b'' is a swap partition, and partition ``c''
represents the whole disk and should not be used for any other purpose.
The vinum utility uses the first 265 sectors on each partition for con-
figuration information, so the maximum size of a subdisk is 265 sectors
smaller than the drive.
> The FStype in /etc/fstab for / is ufs--as I understand it, Vinum
> needs an FStype of vinum.
No. It requires a partition type 'vinum'
Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers
--OHOABd/r1N6D/+xo
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)
iD8DBQE/SrkXIubykFB6QiMRAo8wAJ0aLdtMs6IdVCeTyJaoXT5UKgnKrgCfW2vw
Izp+Fpy1e1mSTSfM99pHaz4=
=BwCn
-----END PGP SIGNATURE-----
--OHOABd/r1N6D/+xo--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030826013415.GK45617>
