>Submitter-Id:  current-users
>Originator:    Vladimir B. Grebenschikov
>Organization:  SWsoft
>Confidential:  no
>Synopsis:      GEOM-related problem sysutils/diskcheckd does not work
>Severity:      non-critical
>Priority:      low
>Category:      ports
>Class:         sw-bug
>Release:       FreeBSD 5.0-CURRENT i386
>Environment:
System: FreeBSD vbook.express.ru 5.0-CURRENT FreeBSD 5.0-CURRENT #12: Wed Nov 27 
16:18:57 MSK 2002 [EMAIL PROTECTED]:/usr/obj/usr/local/src/sys/VBOOK i386
# pkg_info -I diskcheckd\*
diskcheckd-20010823_3 Daemon to check for disk read errors
#
>Description:
It seem there are some problems with accessing HDD through GEOM:

# egrep -v \^# /usr/local/etc/diskcheckd.conf
/dev/ad0        *       28      *
# diskcheckd 
# tail /var/log/messages
...
Dec  2 12:46:50 vbook diskcheckd[1444]: DIOCGDINFO on /dev/ad0 failed: Operation not 
supported by device
# strace /usr/local/sbin/diskcheckd -d
...
open("/dev/ad0", O_RDONLY)              = 3
ioctl(3, DIOCGDINFO, 0xbfbff250)        = -1 ENODEV (Operation not supported by device)
...

When I have change /dev/ad0 in config file to /dev/ad0s2c it work. But I
want to check integrity of all drive, not only FreeBSD part.

>How-To-Repeat:
Just run diskcheckd on post-GEOM CURRENT.

>Fix:



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to