From owner-freebsd-fs@FreeBSD.ORG Fri Feb 15 12:44:54 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 08E1967C for ; Fri, 15 Feb 2013 12:44:54 +0000 (UTC) (envelope-from alexandr.kovalenko@gmail.com) Received: from mail-ie0-x231.google.com (ie-in-x0231.1e100.net [IPv6:2607:f8b0:4001:c03::231]) by mx1.freebsd.org (Postfix) with ESMTP id D5A4A95F for ; Fri, 15 Feb 2013 12:44:53 +0000 (UTC) Received: by mail-ie0-f177.google.com with SMTP id 16so4680205iea.22 for ; Fri, 15 Feb 2013 04:44:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=iPVEYjMqiptT3QgB/AMvBWj4c4RDfAqH3WFmjrRhdJw=; b=XgLubv8o49WGMUFQBEHspF5npTAEC7i7ynZTEj3QNzZxKz14m2HJtmkXiNppfCJlKR MnaHXLKTir9XS654faSNr/erBYu0MffKRM5k4bBbjN4bpsmRD/1A580w06/51j53sZOh A9tmJnxBpsYsvcOlFyYv5l2ofZk6ksBgLIuEnW7dQvoC6Q6ruJ7un/rx5eLA19lsqUUe 0hLPL4dxwm4Nua0Xa9UXkk2HXP/edEjzSdJECYkJ1r0g7wND/jX/J67xxaai86BzC+YK 0SbHi5/qn7QEaHGJFfkCUoqYWT5wOjNMjvsNHkXXWng2oMMuOewfvoxUpt9+YeM02nyK ollw== MIME-Version: 1.0 X-Received: by 10.42.28.130 with SMTP id n2mr1235284icc.6.1360932279900; Fri, 15 Feb 2013 04:44:39 -0800 (PST) Received: by 10.50.183.228 with HTTP; Fri, 15 Feb 2013 04:44:39 -0800 (PST) In-Reply-To: <511E1C6B.50101@shurik.kiev.ua> References: <511E1C6B.50101@shurik.kiev.ua> Date: Fri, 15 Feb 2013 12:44:39 +0000 Message-ID: Subject: Re: error destroying zfs filesystem From: Alexandr Kovalenko To: Alexandr Krivulya Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-fs@freebsd.org 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:44:54 -0000 On Fri, Feb 15, 2013 at 11:30 AM, Alexandr Krivulya wrote: > 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> [dd] > How can I solve this issue? Make smartctl -t long /dev/ and then take a look if there any pending sectors/errors in output of smartctl -a /dev/ ? (for both of drives used) -- Alexandr Kovalenko http://uafug.org.ua/