Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Dec 2002 13:01:01 +0300
From:      Vladimir B.Grebenschikov <vova@sw.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        current@freebsd.org
Subject:   GEOM-related problem sysutils/diskcheckd does not work
Message-ID:  <E18InNt-0000QG-00@vbook.express.ru>

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

>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 root@vbook.express.ru:/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 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?E18InNt-0000QG-00>