From owner-freebsd-current@FreeBSD.ORG Mon Mar 16 06:41:06 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB4581065675 for ; Mon, 16 Mar 2009 06:41:06 +0000 (UTC) (envelope-from kevinxlinuz@163.com) Received: from m12-11.163.com (m12-11.163.com [220.181.12.11]) by mx1.freebsd.org (Postfix) with SMTP id 0CF6D8FC0A for ; Mon, 16 Mar 2009 06:41:05 +0000 (UTC) (envelope-from kevinxlinuz@163.com) Received: from [127.0.0.1] (unknown [60.191.86.3]) by smtp7 (Coremail) with SMTP id C8CowLA7Gz999L1J5BsZHw--.16920S2; Mon, 16 Mar 2009 14:41:02 +0800 (CST) Message-ID: <49BDF486.4070403@163.com> Date: Mon, 16 Mar 2009 14:41:10 +0800 From: kevin User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Michael David Crawford References: <49BD117B.2080706@163.com> <49BD36C1.6040107@prgmr.com> In-Reply-To: <49BD36C1.6040107@prgmr.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CM-TRANSID: C8CowLA7Gz999L1J5BsZHw--.16920S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7KF48CrW8Kw43JrWDCry5twb_yoW5JF1fpF WrGa90kr4vvr17ur1xW34jk3ZYgrs3trW5Gr98G342y3W5GryIvryxta1UuFW7Crnagw1Y yFWSgrykAF95ZaDanT9S1TB71UUUUUUv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UU Uef7k042IE42xK82IY6r43WwAYjxAI6xAIw28IcVAK0I8IjxAxM7k042IE4IxYO2xFxVAq jxCEw4Av424lb7Iv0xC_Jr1lb4IE77IF4wAFF20E14v26r1j6r4UM7C26xCjj4IEI4klw4 CSwwAFxVCaYxvI4VCIwcAKzIAtM7CIcVAFz4kK6r1j6r18M28EF7xvwVC0I7IYx2IY67AK xVWDJVCq3wA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIE14 v26rxl6s0DM28EF7xvwVC2z280aVCY1x0267AKxVW0oVCq3wAawVAYYI1S6c8GOVWUur45 Jrylnx0Ec2IEnICE548m6r1DJrWUZwAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI 8IcVAFwI0_JF0_Jw1lYx0Ex4A2jsIE14v26F4j6r4UJwACjcxG0xvEwIxGrwAC62BYpTIE 1TZKA3svLVAKvSnIqfZI6r4l7I0Y64k_MxkIecxEwVAFwVW8AwCY0x0Ix7I2Y4AK6F4j6F yUMxAIw28IcxkI7VAKI48JMxCjnVAqn7xvrwC2zVAF1VAY17CE14v26r1Y6r17MIIYrxkI 7VAKI48JYxBIdaVFxhVjvjDU0xZFpf9x0zib_-QUUUUU= X-CM-SenderInfo: pnhyx0x0ol03r26rljoofrz/ Cc: FreeBSD Current Subject: Re: ZFS data error without reasons X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2009 06:41:07 -0000 Michael David Crawford wrote: > kevin wrote: >> Will any changes cause zfs data error?I find my disk data error >> without any reasons(shutdown or reboot normally).disk was bought >> yesterday. > > If it's really a brand-new disk, I suggest running the manufacturer's > disk testing utility to see if the drive could actually be defective. > > Don't just depend on Open Source tools - the proprietary utilities can > often access proprietary, undocumented drive firmware features that > are put there specifically for diagnostic purposes, and so do a better > job of testing the drive than any Open Source tool could. > > The problem might just be some bad sectors on your media. If that's > the case, the diagnostic utility will remap the bad sectors. If the > utility does report bad sector remapping, do a full scan again, and > keep repeating until no more bad sectors are found. > > If you scan more than a couple times and bad sectors are still turning > up, your drive is probably beyond repair, and should be RMAed. > > All the drive manufacturers provide these utilities; go to the > manufacturer's website and look either in the Support link, or the > Drivers and Downloads link. > > Hope That Helps, > > Mike I checked the disk with Seatools and no error was detected.No one reported the disk firmware's problem.Now the kernel with latest patch from www.FreeBSD.org/~jhb/patches/zfs_ea.patch , the problem go away now,except the panic. My error history: #zpool status pool: tank state: ONLINE status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://www.sun.com/msg/ZFS-8000-8A scrub: scrub in progress for 0h4m, 29.21% done, 0h10m to go config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 8.98K ad4s3d ONLINE 0 0 18.6K 852K repaired errors: 9182 data errors, use '-v' for a list #zpool status pool: tank state: ONLINE status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://www.sun.com/msg/ZFS-8000-8A scrub: scrub in progress for 0h4m, 29.83% done, 0h10m to go config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 9.38K ad4s3d ONLINE 0 0 19.4K 852K repaired errors: 9598 data errors, use '-v' for a list Thanks, kevin