Okay, I'm getting closer. I've got the drives relabeled with a FSType of vinum. Now, I can't seem to get them both up. When I run "vinum create -f /etc/vinum.conf" it creates the a1 drive but shows a2 as "State: referenced". The config file is as follows:

drive a1 device /dev/ad0a
drive a2 device /dev/ad1e
 volume root setupstate
   plex org concat
     sd length 36g drive a1
   plex org concat
     sd length 36g drive a2

The previous error no longer occurs since I'm now setting the FStype to vinum via disklabel.

Greg 'groggy' Lehey wrote:

On Monday, 25 August 2003 at 18:19:25 -0700, Thomas Smith wrote:


I think I have the process of creating a Vinum volume but I'm missing
something.

My config file (config1) contains:

drive a device /dev/ad0
volume root
plex org concat
  sd length 36g drive a

When I run /vinum create config1/ I get the error "Can't initialize
device a: Operation not supported by device"

I've huffed, and I've puffed, and I've blown over many a page of docs
and can't seem to figure out what gives.



Try this part of the man page:


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.

    The vinum utility uses the first 265 sectors on each partition for con-
    figuration information, so the maximum size of a subdisk is 265 sectors
    smaller than the drive.



The FStype in /etc/fstab for / is ufs--as I understand it, Vinum
needs an FStype of vinum.



No. It requires a partition type 'vinum'


Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers



_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to