Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 2004 14:44:04 GMT
From:      Christophe Kalt <freebsd@ote.taranis.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/68991: vinum doesn't care which type a partition is
Message-ID:  <200407131444.i6DEi4Yq051764@www.freebsd.org>
Resent-Message-ID: <200407131450.i6DEoKFD099899@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         68991
>Category:       kern
>Synopsis:       vinum doesn't care which type a partition is
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 13 14:50:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Christophe Kalt
>Release:        5.2.1-RELEASE
>Organization:
>Environment:
FreeBSD flea 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004     root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
vinum(8) says:

           device devicename   Specify the device on which the drive resides.
                               devicename must be the name of a disk parti-
                               tion, for example /dev/da1e or /dev/ad3s2h, and
                               it must be of type vinum.  Do not use the ``c''
                               partition, which is reserved for the complete
                               disk.

as far as i can tell, this seems to be wishful thinking.
>How-To-Repeat:
flea# bsdlabel ad1s1
# /dev/ad1s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  8388232      281    4.2BSD        0     0     0 
  c:  8388513        0    unused        0     0         # "raw" part, don't edit
flea# cat config 
#drive disk0 device ad0s1a
drive disk1 device /dev/ad1s1a
volume test
 plex org concat
   sd length 0 drive disk1
flea# vinum create config
1 drives:
D disk1                 State: up       /dev/ad1s1a     A: 0/4095 MB (0%)

1 volumes:
V test                  State: up       Plexes:       1 Size:       4095 MB

1 plexes:
P test.p0             C State: up       Subdisks:     1 Size:       4095 MB

1 subdisks:
S test.p0.s0            State: up       D: disk1        Size:       4095 MB
flea# newfs /dev/vinum/test 
/dev/vinum/test: 4095.7MB (8387964 sectors) block size 16384, fragment size 2048
        using 23 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
super-block backups (for fsck -b #) at:
 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976,
 3387328, 3763680, 4140032, 4516384, 4892736, 5269088, 5645440, 6021792,
 6398144, 6774496, 7150848, 7527200, 7903552, 8279904
flea# bsdlabel ad1s1
# /dev/ad1s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  8388232      281    4.2BSD        0     0     0 
  c:  8388513        0    unused        0     0         # "raw" part, don't edit
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407131444.i6DEi4Yq051764>