Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 1999 17:22:29 -0400 (EDT)
From:      "Andrew Atrens" <atrens@nortelnetworks.com>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        current@freebsd.org, hackers@freebsd.org
Subject:   help! - strange vn behaviour
Message-ID:  <Pine.BSF.4.10.9908201708330.1384-100000@hcarp00g.ca.nortel.com>
In-Reply-To: <6117.935182962@critter.freebsd.dk>

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


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9908201708330.1384-100000>