Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 1999 11:32:14 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Mgmt-PC <mgmt.pc@liwest.at>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: problems with vinum on FreeBSD-3.2RELEASE
Message-ID:  <19990921113214.W55065@freebie.lemis.com>
In-Reply-To: <01d201befa86$9908b940$fb2421d4@CM36-251.liwest.at>; from Mgmt-PC on Thu, Sep 09, 1999 at 07:45:59AM %2B0200
References:  <01d201befa86$9908b940$fb2421d4@CM36-251.liwest.at>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday,  9 September 1999 at  7:45:59 +0200, Mgmt-PC wrote:
>>
>> The following config should do what you want:
>>
>> drive a device /dev/da2a
>> drive b device /dev/da3a
>> volume userdisk
>>   plex org striped 512k
>>    sd length 8192M drive a
>>    sd length 8192M drive b
>>
>> You'll probably have to relabel the drives first.
>
> Thanks for your reply!
>
> Yes, that's what i tried first, but then the drive is not found at
> all, although the whole slice is unused.

To quote vinum(8):

   Where to put the data

     The first choice you need to make is where to put the data.  You
     need dedicated disk partitions for vinum. They should be
     partitions, not de- vices, and they should not be partition
     c. For example, good names are /dev/da0e or /dev/wd3s4a. Bad
     names are /dev/da0 and /dev/da0s1, both of which represent a
     device, not a partition, and /dev/wd1c, which represents a
     complete disk and should be of type unused. See the example under
     DRIVE LAYOUT CONSIDERATIONS above.

Previously, it shows an example:

   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.

> The disklabel shows only one entry, which is c and of type unused.
> But using da2c gives the same result as da2s1.
>
> Do i have to create some dummy partitions on da2s1 to get one extra
> unused or how do i go about it if i want the whole drive to be used by
> vinum?
>
> Helpless, confused and unable
> to understand the manual,

OK, what part of the text above don't you understand?

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


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?19990921113214.W55065>