From owner-freebsd-fs@freebsd.org Sun May 29 14:32:42 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9AEFDB51DC5 for ; Sun, 29 May 2016 14:32:42 +0000 (UTC) (envelope-from esamorokov@gmail.com) Received: from mail-ig0-x234.google.com (mail-ig0-x234.google.com [IPv6:2607:f8b0:4001:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6458C17D4 for ; Sun, 29 May 2016 14:32:42 +0000 (UTC) (envelope-from esamorokov@gmail.com) Received: by mail-ig0-x234.google.com with SMTP id ph1so2261671igb.1 for ; Sun, 29 May 2016 07:32:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=FjbkNAtg3jrnZ1DD7YZhM+L8RS+kODhqhNawluqc6qY=; b=J2gpzDGDOfHgNrfB+i0DFZL7oaQUypB8fKLxkw2YHCm36KPNjIsSVXW2ug5Et4Pe7N /Qw6Q7DXKozqlEaHMYNMqdO2L3Zxqqv5el3rle7m7ALtclEj/VPum3MZUM1oibL2EuEI 5ccIHo3/pzbctJ6zxysIdGoftDfPULQ53VKtO5+45/PZPp9eiwLq+kndHqv9yi88XcAV zGbYyWDeHVzqySN3FClm03QrMfoRJdX4BeDXbQcqpKPstryA3bG/a3uILvMjXWmZBW9H 8uFSB2awRU0yrGj6878TIokLw90krCBPesbBJNTSJyltpOxbJP2gPtq+ZtDctP+TMjIk p2Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=FjbkNAtg3jrnZ1DD7YZhM+L8RS+kODhqhNawluqc6qY=; b=CrRWCEDJHUQesNC6HhNqIJNYMP/bvxsuyn2OPW1tIJjZp3Vh1V8xpb/hwNLxhTOwhK GXSA1WjN19LNA2qILVVkEAxyWxnn+ADH/br9GgSJplb3qaNR50L8i6Yk8LWLw6HcWiu8 EdZzFi1D1nGJXEaF2U+9sxm2/qn5Uxiq+LTkqLy6hB0YWLAlo9o2rK0b7Xg3JjFrYz5O 0DwpfMajMRLIHJTNbpiTtKRQ7un+mLOfWdQb+Y6icEr/BFWXWtX6IMTEMaotoNW6P+Bz K9mXwDoarhlk2lvfvFTp+pxKeCWAwioNKj2JOfXYxYyyUqdYU4oHTz75AFpeyFKgM17B B1bw== X-Gm-Message-State: ALyK8tIi6hg8hvlz/XYzaNkC3ThT/GAARuQ2QqE/RKq9drqY8zvGp5XB/+ZqJkc8RQ/GlErqdcWXzfNgO3vtiw== MIME-Version: 1.0 X-Received: by 10.50.228.47 with SMTP id sf15mr4588384igc.63.1464532361408; Sun, 29 May 2016 07:32:41 -0700 (PDT) Received: by 10.107.154.16 with HTTP; Sun, 29 May 2016 07:32:41 -0700 (PDT) In-Reply-To: References: Date: Sun, 29 May 2016 07:32:41 -0700 Message-ID: Subject: Re: ZFS - RAIDZ1 Recovery (Evgeny Sam) From: Evgeny Sam To: BlackCat Cc: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 May 2016 14:32:42 -0000 [root@juicy] ~# zdb -e zh_vol zh_vol vdev_children: 1 version: 5000 pool_guid: 2918670121059000644 name: 'zh_vol' state: 0 hostid: 1802987710 hostname: 'juicy.zhelana.local' vdev_tree: type: 'root' id: 0 guid: 2918670121059000644 children[0]: type: 'raidz' id: 0 guid: 14123440993587991088 nparity: 1 metaslab_array: 34 metaslab_shift: 36 ashift: 12 asize: 8995321675776 is_log: 0 create_txg: 4 children[0]: type: 'disk' id: 0 guid: 17624020450804741401 path: '/dev/gptid/6e5cea27-7f52-11e3-9cd8-d43d7ed5b587' whole_disk: 1 DTL: 137 create_txg: 4 children[1]: type: 'disk' id: 1 guid: 3253299067537287428 whole_disk: 1 DTL: 133 create_txg: 4 path: '/dev/gptid/2b70d9c0-8e40-11e3-aa1c-d43d7ed5b587' children[2]: type: 'disk' id: 2 guid: 17999524418015963258 whole_disk: 1 DTL: 134 create_txg: 4 path: '/dev/gptid/5dacd737-18ac-11e6-9c25-001b7859b93e' zh_vol vdev_children: 2 version: 5000 pool_guid: 10149654347507244742 name: 'zh_vol' state: 2 hostid: 1802987710 hostname: 'juicy.zhelana.local' vdev_tree: type: 'root' id: 0 guid: 10149654347507244742 children[0]: type: 'disk' id: 0 guid: 5892508334691495384 whole_disk: 1 metaslab_array: 33 metaslab_shift: 23 ashift: 12 asize: 983564288 is_log: 0 create_txg: 4 path: '/dev/ada0s2' children[1]: type: 'disk' id: 1 guid: 296669430778697937 whole_disk: 1 metaslab_array: 37 metaslab_shift: 34 ashift: 12 asize: 2997366816768 is_log: 0 create_txg: 1489 path: '/dev/ada2p2' zdb: Matched 2 pools - use pool GUID instead of pool name or pool name part of a dataset name to select pool [root@juicy] ~# zdb -l /dev/ada1p2 -------------------------------------------- LABEL 0 -------------------------------------------- version: 5000 name: 'zh_vol' state: 0 txg: 14262416 pool_guid: 2918670121059000644 hostid: 1802987710 hostname: 'juicy.zhelana.local' top_guid: 14123440993587991088 guid: 17999524418015963258 vdev_children: 1 vdev_tree: type: 'raidz' id: 0 guid: 14123440993587991088 nparity: 1 metaslab_array: 34 metaslab_shift: 36 ashift: 12 asize: 8995321675776 is_log: 0 create_txg: 4 children[0]: type: 'disk' id: 0 guid: 17624020450804741401 path: '/dev/gptid/6e5cea27-7f52-11e3-9cd8-d43d7ed5b587' whole_disk: 1 DTL: 137 create_txg: 4 children[1]: type: 'disk' id: 1 guid: 3253299067537287428 path: '/dev/gptid/2b70d9c0-8e40-11e3-aa1c-d43d7ed5b587' whole_disk: 1 DTL: 133 create_txg: 4 children[2]: type: 'disk' id: 2 guid: 17999524418015963258 path: '/dev/gptid/1e898758-9488-11e3-a86e-d43d7ed5b587' whole_disk: 1 DTL: 134 create_txg: 4 features_for_read: -------------------------------------------- LABEL 1 -------------------------------------------- version: 5000 name: 'zh_vol' state: 0 txg: 14262416 pool_guid: 2918670121059000644 hostid: 1802987710 hostname: 'juicy.zhelana.local' top_guid: 14123440993587991088 guid: 17999524418015963258 vdev_children: 1 vdev_tree: type: 'raidz' id: 0 guid: 14123440993587991088 nparity: 1 metaslab_array: 34 metaslab_shift: 36 ashift: 12 asize: 8995321675776 is_log: 0 create_txg: 4 children[0]: type: 'disk' id: 0 guid: 17624020450804741401 path: '/dev/gptid/6e5cea27-7f52-11e3-9cd8-d43d7ed5b587' whole_disk: 1 DTL: 137 create_txg: 4 children[1]: type: 'disk' id: 1 guid: 3253299067537287428 path: '/dev/gptid/2b70d9c0-8e40-11e3-aa1c-d43d7ed5b587' whole_disk: 1 DTL: 133 create_txg: 4 children[2]: type: 'disk' id: 2 guid: 17999524418015963258 path: '/dev/gptid/1e898758-9488-11e3-a86e-d43d7ed5b587' whole_disk: 1 DTL: 134 create_txg: 4 features_for_read: -------------------------------------------- LABEL 2 -------------------------------------------- failed to unpack label 2 -------------------------------------------- LABEL 3 -------------------------------------------- failed to unpack label 3 [root@juicy] ~# zdb -l /dev/ada2p2 -------------------------------------------- LABEL 0 -------------------------------------------- version: 5000 name: 'zh_vol' state: 2 txg: 2057 pool_guid: 10149654347507244742 hostid: 1802987710 hostname: 'juicy.zhelana.local' top_guid: 296669430778697937 guid: 296669430778697937 vdev_children: 2 vdev_tree: type: 'disk' id: 1 guid: 296669430778697937 path: '/dev/ada2p2' whole_disk: 1 metaslab_array: 37 metaslab_shift: 34 ashift: 12 asize: 2997366816768 is_log: 0 create_txg: 1489 features_for_read: -------------------------------------------- LABEL 1 -------------------------------------------- version: 5000 name: 'zh_vol' state: 2 txg: 2057 pool_guid: 10149654347507244742 hostid: 1802987710 hostname: 'juicy.zhelana.local' top_guid: 296669430778697937 guid: 296669430778697937 vdev_children: 2 vdev_tree: type: 'disk' id: 1 guid: 296669430778697937 path: '/dev/ada2p2' whole_disk: 1 metaslab_array: 37 metaslab_shift: 34 ashift: 12 asize: 2997366816768 is_log: 0 create_txg: 1489 features_for_read: -------------------------------------------- LABEL 2 -------------------------------------------- version: 5000 name: 'zh_vol' state: 2 txg: 2057 pool_guid: 10149654347507244742 hostid: 1802987710 hostname: 'juicy.zhelana.local' top_guid: 296669430778697937 guid: 296669430778697937 vdev_children: 2 vdev_tree: type: 'disk' id: 1 guid: 296669430778697937 path: '/dev/ada2p2' whole_disk: 1 metaslab_array: 37 metaslab_shift: 34 ashift: 12 asize: 2997366816768 is_log: 0 create_txg: 1489 features_for_read: -------------------------------------------- LABEL 3 -------------------------------------------- version: 5000 name: 'zh_vol' state: 2 txg: 2057 pool_guid: 10149654347507244742 hostid: 1802987710 hostname: 'juicy.zhelana.local' top_guid: 296669430778697937 guid: 296669430778697937 vdev_children: 2 vdev_tree: type: 'disk' id: 1 guid: 296669430778697937 path: '/dev/ada2p2' whole_disk: 1 metaslab_array: 37 metaslab_shift: 34 ashift: 12 asize: 2997366816768 is_log: 0 create_txg: 1489 features_for_read: [root@juicy] ~# zdb -l /dev/ada3p2 -------------------------------------------- LABEL 0 -------------------------------------------- version: 5000 name: 'zh_vol' state: 0 txg: 14106447 pool_guid: 2918670121059000644 hostid: 1802987710 hostname: '' top_guid: 14123440993587991088 guid: 3253299067537287428 vdev_children: 1 vdev_tree: type: 'raidz' id: 0 guid: 14123440993587991088 nparity: 1 metaslab_array: 34 metaslab_shift: 36 ashift: 12 asize: 8995321675776 is_log: 0 create_txg: 4 children[0]: type: 'disk' id: 0 guid: 17624020450804741401 path: '/dev/gptid/6e5cea27-7f52-11e3-9cd8-d43d7ed5b587' whole_disk: 1 DTL: 137 create_txg: 4 children[1]: type: 'disk' id: 1 guid: 3253299067537287428 path: '/dev/gptid/2b70d9c0-8e40-11e3-aa1c-d43d7ed5b587' whole_disk: 1 DTL: 133 create_txg: 4 children[2]: type: 'disk' id: 2 guid: 17999524418015963258 path: '/dev/gptid/1e898758-9488-11e3-a86e-d43d7ed5b587' whole_disk: 1 DTL: 134 create_txg: 4 features_for_read: -------------------------------------------- LABEL 1 -------------------------------------------- version: 5000 name: 'zh_vol' state: 0 txg: 14106447 pool_guid: 2918670121059000644 hostid: 1802987710 hostname: '' top_guid: 14123440993587991088 guid: 3253299067537287428 vdev_children: 1 vdev_tree: type: 'raidz' id: 0 guid: 14123440993587991088 nparity: 1 metaslab_array: 34 metaslab_shift: 36 ashift: 12 asize: 8995321675776 is_log: 0 create_txg: 4 children[0]: type: 'disk' id: 0 guid: 17624020450804741401 path: '/dev/gptid/6e5cea27-7f52-11e3-9cd8-d43d7ed5b587' whole_disk: 1 DTL: 137 create_txg: 4 children[1]: type: 'disk' id: 1 guid: 3253299067537287428 path: '/dev/gptid/2b70d9c0-8e40-11e3-aa1c-d43d7ed5b587' whole_disk: 1 DTL: 133 create_txg: 4 children[2]: type: 'disk' id: 2 guid: 17999524418015963258 path: '/dev/gptid/1e898758-9488-11e3-a86e-d43d7ed5b587' whole_disk: 1 DTL: 134 create_txg: 4 features_for_read: -------------------------------------------- LABEL 2 -------------------------------------------- version: 5000 name: 'zh_vol' state: 0 txg: 14106447 pool_guid: 2918670121059000644 hostid: 1802987710 hostname: '' top_guid: 14123440993587991088 guid: 3253299067537287428 vdev_children: 1 vdev_tree: type: 'raidz' id: 0 guid: 14123440993587991088 nparity: 1 metaslab_array: 34 metaslab_shift: 36 ashift: 12 asize: 8995321675776 is_log: 0 create_txg: 4 children[0]: type: 'disk' id: 0 guid: 17624020450804741401 path: '/dev/gptid/6e5cea27-7f52-11e3-9cd8-d43d7ed5b587' whole_disk: 1 DTL: 137 create_txg: 4 children[1]: type: 'disk' id: 1 guid: 3253299067537287428 path: '/dev/gptid/2b70d9c0-8e40-11e3-aa1c-d43d7ed5b587' whole_disk: 1 DTL: 133 create_txg: 4 children[2]: type: 'disk' id: 2 guid: 17999524418015963258 path: '/dev/gptid/1e898758-9488-11e3-a86e-d43d7ed5b587' whole_disk: 1 DTL: 134 create_txg: 4 features_for_read: -------------------------------------------- LABEL 3 -------------------------------------------- version: 5000 name: 'zh_vol' state: 0 txg: 14106447 pool_guid: 2918670121059000644 hostid: 1802987710 hostname: '' top_guid: 14123440993587991088 guid: 3253299067537287428 vdev_children: 1 vdev_tree: type: 'raidz' id: 0 guid: 14123440993587991088 nparity: 1 metaslab_array: 34 metaslab_shift: 36 ashift: 12 asize: 8995321675776 is_log: 0 create_txg: 4 children[0]: type: 'disk' id: 0 guid: 17624020450804741401 path: '/dev/gptid/6e5cea27-7f52-11e3-9cd8-d43d7ed5b587' whole_disk: 1 DTL: 137 create_txg: 4 children[1]: type: 'disk' id: 1 guid: 3253299067537287428 path: '/dev/gptid/2b70d9c0-8e40-11e3-aa1c-d43d7ed5b587' whole_disk: 1 DTL: 133 create_txg: 4 children[2]: type: 'disk' id: 2 guid: 17999524418015963258 path: '/dev/gptid/1e898758-9488-11e3-a86e-d43d7ed5b587' whole_disk: 1 DTL: 134 create_txg: 4 features_for_read: On Sun, May 29, 2016 at 6:37 AM, BlackCat wrote: > 2016-05-29 5:42 GMT+03:00 Evgeny Sam : > > The failed drive is(has always been) 'ada3' - currently showing bad > bloks. > > The disk FreeNas sent me an alert that the drive has failed and I > verified > > that. > > > > [root@juicy] ~# zdb -e > > > > SHOWS ONLY HELP INFO > > > Ok, could you show output of following commands: > > zdb -e zh_vol > zdb -l /dev/ada1p2 > zdb -l /dev/ada2p2 > zdb -l /dev/ada3p2 > > -- > BR BC >