From owner-freebsd-questions@FreeBSD.ORG Mon Apr 18 11:03:06 2005 Return-Path: Delivered-To: freebsd-questions@www.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCFAA16A4CE for ; Mon, 18 Apr 2005 11:03:06 +0000 (GMT) Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F23243D49 for ; Mon, 18 Apr 2005 11:03:06 +0000 (GMT) (envelope-from jesse@va.com.au) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 3D9BF568AE for ; Mon, 18 Apr 2005 11:02:28 +0000 (GMT) (envelope-from jesse@va.com.au) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A07D16A4CE for ; Mon, 18 Apr 2005 11:02:28 +0000 (GMT) Received: from smtp-dist.unsw.edu.au (smtp-dist-01.services.comms.unsw.EDU.AU [149.171.97.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19E2D43D2F for ; Mon, 18 Apr 2005 11:02:27 +0000 (GMT) (envelope-from jesse@va.com.au) Received: from localhost (avspam-01.services.comms.unsw.edu.au [149.171.100.16]) by smtp-dist.unsw.edu.au (8.13.1/8.13.1) with ESMTP id j3IB2PCR024949 for ; Mon, 18 Apr 2005 21:02:25 +1000 (EST) Received: from [127.0.0.1] (geordie.admin.unsw.EDU.AU [129.94.41.109]) by smtp.unsw.edu.au (8.13.1/8.13.1) with ESMTP id j3IB2Oco016852 for ; Mon, 18 Apr 2005 21:02:24 +1000 (EST) Message-ID: <426393BE.4070007@va.com.au> Date: Mon, 18 Apr 2005 21:02:22 +1000 From: Jesse Reynolds Organization: Virtual Artists Pty Ltd User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@lists.freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Big directory and the UDMA ICRC error writing fsbn message X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2005 11:03:06 -0000 Hello Recently, a server of mine running FreeBSD 4.6.2-RELEASE started getting UDMA ICRC errors and put it's disk communication into PIO mode. I'm just wondering if this could have been caused by one very big and growing directory under /var, where one new file was being created every 15 minutes. It had reached about 100,000 files in the one directory. Is this possible? Or is something more prozaic at play here, eg a dodgy cable or a disk on the way out? There are two identical disks on this box that are mirrored with a hardware raid chip. Here are the messages anyhow: Apr 2 01:13:45 eagle /kernel: ad5: UDMA ICRC error writing fsbn 119103807 of 0-255 (ad5 bn 119103807; cn 118158 tn 8 sn 39) retrying Apr 2 01:14:01 eagle /kernel: ad5: UDMA ICRC error writing fsbn 79975487 of 0-23 (ad5 bn 79975487; cn 79340 tn 12 sn 11) retrying Apr 2 01:14:02 eagle last message repeated 2 times Apr 2 01:14:02 eagle /kernel: ad5: UDMA ICRC error writing fsbn 79975487 of 0-23 (ad5 bn 79975487; cn 79340 tn 12 sn 11) falling back to PIO m ode I'm also getting some other errors about time, eg: Apr 15 03:17:13 eagle named[78]: gettimeofday returned bad tv_usec: corrected Apr 18 15:16:54 eagle /kernel: microuptime() went backwards (44815198.498490 -> 44815198.-695597409) about the disks and filesystems: # df -k Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ar0s1a 1032142 63190 886382 7% / /dev/ar0s1g 107383706 94043514 4749496 95% /large /dev/ar0s1f 4129310 1432826 2366140 38% /usr /dev/ar0s1e 4129310 649442 3149524 17% /var procfs 4 4 0 100% /proc # atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 ad5 status: READY Thanks very much Jesse