From owner-freebsd-fs@FreeBSD.ORG Fri Feb 15 12:08:52 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 153F6A70 for ; Fri, 15 Feb 2013 12:08:52 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from graal.it-profi.org.ua (graal.shurik.kiev.ua [193.239.74.7]) by mx1.freebsd.org (Postfix) with ESMTP id A7E63776 for ; Fri, 15 Feb 2013 12:08:50 +0000 (UTC) Received: from [217.76.201.82] (helo=thinkpad.it-profi.org.ua) by graal.it-profi.org.ua with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1U6JVI-000MyB-Uc for freebsd-fs@freebsd.org; Fri, 15 Feb 2013 13:31:08 +0200 Message-ID: <511E1C6B.50101@shurik.kiev.ua> Date: Fri, 15 Feb 2013 13:30:51 +0200 From: Alexandr Krivulya User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130210 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 217.76.201.82 X-SA-Exim-Mail-From: shuriku@shurik.kiev.ua X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on graal.it-profi.org.ua X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 Subject: error destroying zfs filesystem X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on graal.it-profi.org.ua) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2013 12:08:52 -0000 Hello everyone! After upgrading my zfs-only system from 8.2 to 9.1 I have many errors related to zfs in my /var/log/messages: Feb 15 13:12:44 gw kernel: metaslab_free_dva(): bad DVA 0:264842321920Solaris: WARNING: metaslab_free_dva(): bad DVA 0:338480095232 Feb 15 13:12:44 gw kernel: Solaris: WARNING: metaslab_free_dva(): bad DVA 0:277633901056Solaris: WARNING: Feb 15 13:12:45 gw kernel: metaslab_free_dva(): bad DVA 0:277263710208Solaris: WARNING: metaslab_free_dva(): bad DVA 0:277633606144Solaris: WARNING: metaslab_free_dva(): bad DVA 0:278349642240Solaris: WARNING: metaslab_free_dva(): bad DVA 0:278429099008Solaris: WARNING: metaslab_free_dva(): bad DVA 0:278349926400Solaris: WARNING: metaslab_free_dva(): bad DVA 0:278245378560Solaris: WARNING: metaslab_free_dva(): bad DVA 0:256838777344Solaris: WARNING: metaslab_free_dva(): bad DVA 0:327364684800 Feb 15 13:12:45 gw kernel: Solaris: WARNING: metaslab_free_dva(): bad DVA 0:312373604864 root@gw:/ # zpool status -v pool: zmirror 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://illumos.org/msg/ZFS-8000-8A scan: scrub repaired 0 in 1h39m with 1 errors on Thu Feb 14 17:48:53 2013 config: NAME STATE READ WRITE CKSUM zmirror ONLINE 0 0 2 mirror-0 ONLINE 0 0 8 gpt/disk01 ONLINE 0 0 8 gpt/disk02 ONLINE 0 0 8 errors: Permanent errors have been detected in the following files: zmirror/usr:<0x0> <0xc8>:<0x0> zfs clear and zfs scrub didn't help me, so I have created a new filesystem zmirror/usr2 with mountpoint=/usr and copy all files manually from zmirror/usr to zmirror/usr2 because zfs send failed with i/o error. The system whith new /usr boots fine and now I try to remove broken zmirror/usr, but still no luck: root@gw:/ # zfs destroy zmirror/usr internal error: Unknown error: 122 Аварийное завершение(core dumped) How can I solve this issue?