Need Vinum help
Greg 'groggy' Lehey
grog at FreeBSD.org
Mon Aug 25 18:34:20 PDT 2003
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030826/2c7e9556/attachment.bin
More information about the freebsd-questions
mailing list