From owner-freebsd-bugs@FreeBSD.ORG Tue Jul 13 14:50:21 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09D6716A4CE for ; Tue, 13 Jul 2004 14:50:21 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF0D043D5A for ; Tue, 13 Jul 2004 14:50:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i6DEoKYB099902 for ; Tue, 13 Jul 2004 14:50:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6DEoKFD099899; Tue, 13 Jul 2004 14:50:20 GMT (envelope-from gnats) Resent-Date: Tue, 13 Jul 2004 14:50:20 GMT Resent-Message-Id: <200407131450.i6DEoKFD099899@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Christophe Kalt Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0FCB16A4CE for ; Tue, 13 Jul 2004 14:44:04 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF12743D2F for ; Tue, 13 Jul 2004 14:44:04 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i6DEi4qG051766 for ; Tue, 13 Jul 2004 14:44:04 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i6DEi4Yq051764; Tue, 13 Jul 2004 14:44:04 GMT (envelope-from nobody) Message-Id: <200407131444.i6DEi4Yq051764@www.freebsd.org> Date: Tue, 13 Jul 2004 14:44:04 GMT From: Christophe Kalt To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/68991: vinum doesn't care which type a partition is X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 14:50:21 -0000 >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: