From owner-freebsd-questions Wed May 22 15:36:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from munkboxen.mine.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by hub.freebsd.org (Postfix) with ESMTP id AEF2B37B412 for ; Wed, 22 May 2002 15:36:46 -0700 (PDT) Received: (from munk@localhost) by munkboxen.mine.nu (8.11.6/8.11.6) id g4MMZhE08523 for freebsd-questions@freebsd.org; Wed, 22 May 2002 23:35:43 +0100 (BST) (envelope-from munk) Date: Wed, 22 May 2002 23:35:43 +0100 From: Jez Hancock To: FreeBSD questions List Subject: Checking HDD disk integrity under FreeBSD Message-ID: <20020522233543.A8507@munkboxen.mine.nu> Mail-Followup-To: FreeBSD questions List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, Short question: is there a hard disk drive integrity checking utility for Unix systems that will detect problems with a HDD (similar to scandisk in windows)? Background: I recently installed a 3rd IDE HDD (Quantum Fireball) into my FreeBSD 4.4 system (FreeBSD munkboxen.mine.nu 4.4-RELEASE FreeBSD 4.4-RELEASE), and all was fine for a while until I started getting the following errors: May 22 18:29:26 munkboxen /kernel: ad2c: hard error reading fsbn 160 of 80-95 (ad2 bn 160; cn 0 tn 2 sn 34)ad2: DMA problem fallback to PIO mode May 22 18:29:26 munkboxen /kernel: ad2: DMA problem fallback to PIO mode May 22 18:29:26 munkboxen last message repeated 8 times ... continues for various blocks ... The particular file system is a ufs slice which I dedicated for use with /usr/src (I keep all my sources on that partition/slice). The fstab entry looks like this (the pertinent partition entry is commented out to stop it from choking when the system boots - fsck just halts and I go into single user mode otherwise): # Device Mountpoint FStype Options Dump Pass# /dev/ad0s2b none swap sw 0 0 /dev/ad0s2a / ufs rw 1 1 /dev/ad0s2f /usr ufs rw 2 2 #/dev/ad2c /usr/src ufs rw 2 2 /dev/ad1s1e /var ufs rw 2 2 /dev/ad1s2e /home ufs rw 2 2 /dev/acd0c /cdrom cd9660 ro,noauto 0 0 /dev/fd0 /floppy ufs rw,noauto 0 0 proc /proc procfs rw 0 0 Any help much appreciated, -- Jez Hancock - munk@munkboxen.mine.nu http://munkboxen.mine.nu - FreeBSD network http://www.freebsd.org - Probably the best OS in the world... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message