Date: Sat, 27 Oct 2001 13:29:12 +0930 From: Greg Lehey <grog@lemis.com> To: Andrew Shahoff <andrew@ardi.lv> Cc: FreeBSD Questions <questions@FreeBSD.org> Subject: Re: Vinum troubles Message-ID: <20011027132911.H8085@wantadilla.lemis.com> In-Reply-To: <NEBBLHHGELKDJKFCKFCACEJDCDAA.andrew@ardi.lv>; from andrew@ardi.lv on Thu, Oct 25, 2001 at 10:32:55AM %2B0300 References: <20011025093959.C67356@wantadilla.lemis.com> <NEBBLHHGELKDJKFCKFCACEJDCDAA.andrew@ardi.lv>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 25 October 2001 at 10:32:55 +0300, Andrew Shahoff wrote:
> How I can create vinum type of partition ?
Oops, sorry, I should have been more detailed. But if you have
questions like that, the first place to look is the man page. Search
for the word 'partition' and you'll find:
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.
vinum uses the first 265 sectors on each partition for configuration
information, so the maximum size of a subdisk is 265 sectors smaller than
the drive.
Greg
--
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers
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?20011027132911.H8085>
