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:   ports/45911: 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

>Number:         45911
>Category:       ports
>Synopsis:       GEOM-related problem sysutils/diskcheckd does not work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 02 02:10:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir B. Grebenschikov
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
SWsoft
>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:


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" 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>