bin/83619: 'diskinfo -t' fails with disks smaller than about 6.3GB.

trasz trasz at buziaczek.pl
Sun Jul 17 16:00:38 GMT 2005


>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:


More information about the freebsd-bugs mailing list