From owner-freebsd-current Mon Dec 2 2: 1: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8968937B401; Mon, 2 Dec 2002 02:01:03 -0800 (PST) Received: from vbook.express.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id D99B443EC2; Mon, 2 Dec 2002 02:01:02 -0800 (PST) (envelope-from vova@sw.ru) Received: from vova by vbook.express.ru with local (Exim 4.10) id 18InNt-0000QG-00; Mon, 02 Dec 2002 13:01:01 +0300 To: FreeBSD-gnats-submit@freebsd.org Subject: GEOM-related problem sysutils/diskcheckd does not work From: Vladimir B.Grebenschikov Reply-To: Vladimir B.Grebenschikov Cc: current@freebsd.org X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: Date: Mon, 02 Dec 2002 13:01:01 +0300 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >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