From owner-freebsd-questions@FreeBSD.ORG Sat Feb 18 11:04:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50366106566B for ; Sat, 18 Feb 2012 11:04:12 +0000 (UTC) (envelope-from fortin@acm.org) Received: from hub.zap.qc.ca (hub.zap.qc.ca [200.46.208.47]) by mx1.freebsd.org (Postfix) with ESMTP id 1D43C8FC08 for ; Sat, 18 Feb 2012 11:04:11 +0000 (UTC) Received: from [192.168.1.41] (APuteaux-653-1-40-212.w86-195.abo.wanadoo.fr [86.195.195.212]) by hub.zap.qc.ca (Postfix) with ESMTPSA id D131E795AF5 for ; Sat, 18 Feb 2012 10:35:33 +0000 (UTC) Message-ID: <4F3F7EF5.80201@acm.org> Date: Sat, 18 Feb 2012 11:35:33 +0100 From: Denis Fortin User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: ZFS question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2012 11:04:12 -0000 Good morning, On a small system using FreeBSD 9.0-RELEASE, ZFS is reporting an issue on a pool, that I am not certain is really an issue, but I don't know how to investgate... Here is the situation: I have created a ZFS pool on an external 1TB Maxstor USB drive. The ZFS pool sees little or no activity, I haven't started using it for real yet. The drive spins down frequently because of lack of activity, and takes quite a few seconds to spin up. Now, I frequently get errors in the 'zpool status' thus (like, a couple of times per day): > [denis@datasink] ~> zpool status -v > pool: maxstor > state: ONLINE > status: One or more devices has experienced an unrecoverable error. An > attempt was made to correct the error. Applications are unaffected. > action: Determine if the device needs to be replaced, and clear the errors > using 'zpool clear' or replace the device with 'zpool replace'. > see: http://www.sun.com/msg/ZFS-8000-9P > scan: scrub repaired 0 in 0h0m with 0 errors on Sat Feb 18 08:49:41 2012 > config: > > NAME STATE READ WRITE CKSUM > maxstor ONLINE 0 0 0 > gptid/64a30ca9-56ad-11e1-80c4-000024ce7c30 ONLINE 1 0 0 > > errors: No known data errors > [denis@datasink] ~> zpool iostat -v maxstor > capacity operations bandwidth > pool alloc free read write read write > -------------------------------------- ----- ----- ----- ----- ----- ----- > maxstor 1.10M 928G 0 0 455 1.11K > gptid/64a30ca9-56ad-11e1-80c4-000024ce7c30 1.10M 928G 0 0 455 1.11K > -------------------------------------- ----- ----- ----- ----- ----- ----- I know that this sounds bad for the drive, but I cannot find anywhere in my logs (/var/log/messages, dmesg, etc) a reference to this supposed 'unrecoverable error' that the drive has had, and the resilvering *always* works. I am wondering whether it might not simply be a timeout issue, that is: the drive is taking too long to spin up, which causes a timeout and a read error to be reported, which then disappears completely once the drive has spun up. Does anybody have a suggestion about how I could go about investigating this issue? Shouldn't there be a log of the 'unrecoverable error' somewhere? Thank you all, Denis