From owner-freebsd-questions Thu Dec 16 13:39:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns0.sitesnow.com (ns0.sitesnow.com [216.130.1.66]) by hub.freebsd.org (Postfix) with ESMTP id D787314A28 for ; Thu, 16 Dec 1999 13:39:28 -0800 (PST) (envelope-from gskouby@ns0.sitesnow.com) Received: from gskouby (helo=localhost) by ns0.sitesnow.com with local-esmtp (Exim 2.12 #1) id 11yibn-000HDt-00; Thu, 16 Dec 1999 16:38:47 -0500 Date: Thu, 16 Dec 1999 16:38:47 -0500 (EST) From: Greg Skouby To: "Vadym V. Chepkov" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: vinum In-Reply-To: <000501bf480b$47a37cc0$639c2cc2@kharkiv.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You need to make sure the partitions are of type vinum instead of the BSD partition type. You can change the partition types using disklabel: disklabel -e wd1 disklabel -e wd0 On Thu, 16 Dec 1999, Vadym V. Chepkov wrote: > Hi! > > I'd like to concatenate two parts of two disk's. I know how to do that with > ccd support. But I'd like using vinum, if it possible. > > FreeBSD 3.4-RC i386 > > I've done > > vinum -> concat -v /dev/wd0s1g /dev/wd1s1e > volume vinum0 > plex name vinum0.p0 org concat > drive vinumdrive0 device /dev/wd0s1g > Can't create drive vinumdrive0, device /dev/wd0s1g: Drive vinumdrive0 has > invalid partition type > > > I created simple configuration file > > vinumconf: > > drive d1 device /dev/wd0s1g > drive d2 device /dev/wd1s1e > volume d12 > plex org concat > sd length 0 drive d1 > sd length 0 drive d2 > > > I've done > > bash-2.03# vinum create -f vinumconf > 1: drive d1 device /dev/wd0s1g > ** 1 Drive d1 has invalid partition type: Inappropriate file type or format > 2: drive d2 device /dev/wd1s1e > ** 2 Drive d2 has invalid partition type: Inappropriate file type or format > Configuration summary > > Drives: 0 (4 configured) > Volumes: 1 (4 configured) > Plexes: 1 (8 configured) > Subdisks: 2 (16 configured) > > D d1 State: referenced Device /dev/wd0s1g > Avail: 0/0 MB > D d2 State: referenced Device /dev/wd1s1e > Avail: 0/0 MB > > V d12 State: up Plexes: 1 Size: 0 B > > P d12.p0 C State: up Subdisks: 2 Size: 0 B > > S d12.p0.s0 State: up PO: 0 B Size: 0 B > S d12.p0.s1 State: up PO: 0 B Size: 0 B > > > What shell I do or what I'm doing wrong? > > Thanks, > > Vadym Chepkov > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message