Date: Sun, 17 Jul 2005 15:57:06 GMT From: trasz <trasz@buziaczek.pl> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/83619: 'diskinfo -t' fails with disks smaller than about 6.3GB. Message-ID: <200507171557.j6HFv6jf005130@www.freebsd.org> Resent-Message-ID: <200507171600.j6HG0bxY037694@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83619
>Category: bin
>Synopsis: 'diskinfo -t' fails with disks smaller than about 6.3GB.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jul 17 16:00:36 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: trasz
>Release: 6.0-BETA1
>Organization:
>Environment:
FreeBSD traszkan.ds7 6.0-BETA1 FreeBSD 6.0-BETA1 #0: Sun Jul 17 01:48:54 CEST 2005 root@:/usr/obj/usr/src/sys/TRASHCAN i386
>Description:
apparently 'diskinfo -t' does not work with disks smaller than about 6.3GB. however, instead of falling gracefully, it does it like this:
Seek times:
Full stroke: 250 iter in 6.251458 sec = 25.006 msec
Half stroke: diskinfo: read error or disk too small for test.: Input/output error
>How-To-Repeat:
dd if=/dev/zero of=test.img bs=512 seek=10000000 count=1
mdconfig -a -t vnode -f test.img
diskinfo -t /dev/md0
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507171557.j6HFv6jf005130>
