Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Oct 2000 13:15:54 +0930
From:      Greg Lehey <grog@lemis.com>
To:        keith@telestream.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: vinum
Message-ID:  <20001007131554.D28501@wantadilla.lemis.com>
In-Reply-To: <Pine.LNX.4.10.10010061044350.20585-100000@mail.telestream.com>; from keith@telestream.com on Fri, Oct 06, 2000 at 10:52:20AM -0700
References:  <Pine.LNX.4.10.10010061044350.20585-100000@mail.telestream.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday,  6 October 2000 at 10:52:20 -0700, keith@telestream.com wrote:
> In the man page for vinum it states the following
>
> device devicename -  Specify the device on which the drive resides.
> devicename must be the name of a disk partition, for example /dev/da1e
> or /dev/wd3s2h, and it must be of type vinum. Do not use the c
> partition, which is reserved for the complete disk.
>
> How do I get the device to be of type vinum? In the disk slice editor it
> only allows for a couple different types. 165 for freebsd, 6 for DOS, 131
> for Linux etc. I tried just typing in vinum and it didn't recognise it all
> all.

The "disk slice editor" you're talking about is probably
/stand/sysinstall, and it duplicates the functionality of fdisk.
Specifically, in this example it describes the properties of the
slices /dev/da1s1, /dev/da1s2, /dev/da1s3 and /dev/da1s4.  What you
need is disklabel, which handles the partitions (the letters at the
end of the device names).  But that's in the man page too:

   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.
If you don't, I may ignore the reply.
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?20001007131554.D28501>