From owner-freebsd-current Fri Aug 20 14:23:12 1999 Delivered-To: freebsd-current@freebsd.org Received: from smtprch1.nortel.com (smtprch1.nortelnetworks.com [192.135.215.14]) by hub.freebsd.org (Postfix) with ESMTP id C27AB15B0F; Fri, 20 Aug 1999 14:22:29 -0700 (PDT) (envelope-from atrens@nortelnetworks.com) Received: from zcars01t by smtprch1.nortel.com; Fri, 20 Aug 1999 16:13:09 -0500 Received: from hcarp00g.ca.nortel.com by zcars01t; Fri, 20 Aug 1999 17:20:32 -0400 Received: from hcarp00g.ca.nortel.com (hcarp00g.ca.nortel.com [47.196.31.114]) by hcarp00g.ca.nortel.com (8.9.3/8.7.3) with ESMTP id RAA01424; Fri, 20 Aug 1999 17:22:29 -0400 (EDT) Date: Fri, 20 Aug 1999 17:22:29 -0400 (EDT) From: "Andrew Atrens" Reply-To: "Andrew Atrens" To: Poul-Henning Kamp Cc: current@freebsd.org, hackers@freebsd.org Subject: help! - strange vn behaviour In-Reply-To: <6117.935182962@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'll cc: hackers and see if this rings a bell for anyone :| .. Andrew > >Btw, can you explain why this happens? > > > > > >$ partitionsize=256 > > > >$ sects=`/bin/expr $partitionsize '*' 64 '-' 1` > > > >$ vnconfig -e -s labels -S $partitionsize"m" /dev/vn0 > > > >$ disklabel -w -r vn0 auto > >disklabel: /dev/rvn0c: Device not configured > > > >$ disklabel vn0 > >disklabel: ioctl DIOCGDINFO: Inappropriate ioctl for device > > > >$ disklabel /dev/vn0 > ># /dev/vn0: > >type: unknown > >disk: amnesiac > >label: fictitious > >flags: > >bytes/sector: 4096 > >sectors/track: 32 > >tracks/cylinder: 8 > >sectors/cylinder: 256 > >cylinders: 256 > >sectors/unit: 65536 > >rpm: 3600 > >interleave: 1 > >trackskew: 0 > >cylinderskew: 0 > >headswitch: 0 # milliseconds > >track-to-track seek: 0 # milliseconds > >drivedata: 0 > >8 partitions: > ># size offset fstype [fsize bsize bps/cpg] > > c: 65536 0 unused 0 0 # (Cyl. 0-255) > >- > > Now, if I do a - $ vnconfig -u /dev/vn0c && echo "woohoo!" vnconfig: VNIOCDETACH: Device not configured $ vnconfig -u /dev/vn0 && echo "woohoo!" woohoo! > >... > > > > > >The vn device _is_ configured but not useable via /dev/vn0[abc..z] > > > >?????? > > > >Andrew. > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message