Date: Mon, 6 Dec 1999 17:27:59 -0500 From: Greg Lehey <grog@mojave.sitaranetworks.com> To: Steven Honson <shonson@ist.net.au>, questions@FreeBSD.ORG Subject: Re: Vinum Message-ID: <19991206172759.59383@mojave.sitaranetworks.com> In-Reply-To: <3.0.5.32.19991206001912.007c9dc0@omega.static.net>; from Steven Honson on Mon, Dec 06, 1999 at 12:19:12AM %2B1100 References: <3.0.5.32.19991206001912.007c9dc0@omega.static.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 6 December 1999 at 0:19:12 +1100, Steven Honson wrote:
> Hi,
> Im trying to setup a machine to combine 2 18gb drives to create one 36gb
> partition in freebsd.
> Ive been playing around with Vinum, but am unshure how to partition the
> drives so that vinum can use them, when i try to create the drive in vinum,
> i get the following error,
>
> vinum -> concat -v /dev/da1a /dev/da2a
> volume vinum0
> plex name vinum0.p0 org concat
> drive vinumdrive0 device /dev/da1a
> Can't create drive vinumdrive0, device /dev/da1a: Drive vinumdrive0 has
> invalid partition type
This is telling you that drive vinumdrive0 has an invalid partition
type. Set the partition type to type 'vinum'. From vinum(8):
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 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. Parti-
tions a, e and f may be used as UFS file systems or ccd partitions. Par-
tition b is a swap partition, and partition c represents the whole disk
and should not be used for any other purpose.
Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
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?19991206172759.59383>
