From owner-freebsd-fs@freebsd.org Sun May 29 18:31:53 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 978EEB54BB7 for ; Sun, 29 May 2016 18:31:53 +0000 (UTC) (envelope-from blackcatzilla@gmail.com) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (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 5759711A4 for ; Sun, 29 May 2016 18:31:53 +0000 (UTC) (envelope-from blackcatzilla@gmail.com) Received: by mail-ig0-x229.google.com with SMTP id ct2so20038257igb.0 for ; Sun, 29 May 2016 11:31:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Qz98ax4sJtOSImvCkinOp++kFIH/1YcAwgVyG4el0OE=; b=bNTeU0hXxHZdVFtZOKOYh5ItRomeWTcSpskmddPBETGPj/wW6PZ+g3p5YjOeE+UqI4 1+6sBuATt/i3xFK6GmkNFv1/99QzZ1A7bHLZ47Afou4hrjC/3wVgS4uq4V96MZ0+YvTO ndASoQtXfRj9mc9F+MNF5Smlkjg4BWlbcp+S+mDG22I88Iaz0R18OHV/g/XqUPlYzArx aDH8421QzlgG7YOXMT7AYRGIfS7CxanwareaU6/muJyW+WcXqLx2u5gj5bnmUbV2T0uo hzfR6G0s+ek0b2Gb+vwK+TDPx1pZE9sdlCPL2iW94Pn9+NdP+SgmuOdIuTh6PFO5Ga7h ZAYw== 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:from:date :message-id:subject:to:cc; bh=Qz98ax4sJtOSImvCkinOp++kFIH/1YcAwgVyG4el0OE=; b=WmmCCvwkQRpTE5iY7dH7T1adhUsOwSYUu2sfqpA3vI+TEexS6kSdvp2V/VpRf47Ndm szRJUDnBGtpVpan2mR5BawGEhfgVuMIGgLfLNIHupy6jveZ0JNeVd5pJvgt1ONMxUBVJ 7oaWPiT5Q2iS/xmVg9MTTR6Njyx0CIjva/UawrRq2T55KRnUaullHVUhjcp9Cix9/kBk 7R4SnQFPRIeu6JHuyIK3pcwKsgvTqPcwHPGgH49xi8bfi1Yr3frPEcT5na4IhTdxvU9M MCtRk+zcD634GMqIm2/GV0UgIk5zKYDre2hwvGZcXFP7XOajII1QCARahwelAHJKRZb8 ze8A== X-Gm-Message-State: ALyK8tKaKHw9FmctRfgjdFnYXNJwxiWkqE92VTa15QSV8Qv/EgVzUOuDdUdl+6nSaWLcTUA9XgchViYRXPyJtw== X-Received: by 10.50.11.169 with SMTP id r9mr305928igb.77.1464546712615; Sun, 29 May 2016 11:31:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.46.201 with HTTP; Sun, 29 May 2016 11:31:33 -0700 (PDT) In-Reply-To: References: From: BlackCat Date: Sun, 29 May 2016 21:31:33 +0300 Message-ID: Subject: Re: ZFS - RAIDZ1 Recovery (Evgeny Sam) To: Evgeny Sam Cc: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 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 18:31:53 -0000 Evgeny, I still can not figure, what happened to ada2 drive. You say that the broken drive is ada3 and you attempt to replace it. But then something went wrong, you attempted to recover the pool but without success. After that you attach original ada3 drive back to machine and write your initial post to this mailing list? Log, which you attached to your initial post, shows that you attempted to remove _ada2_ from the pool, then you create new pool with the same name and add _ada2p2_ to it. zfs added _ada2p2_ to new pool without any warnings. Then you try to add _ada1p2_ to the new pool and zfs rejects to do that since it suspects that _ada1p2_ already belongs to other pool. The dump of labels from your message shows that: * _adad1p2 is partially Ok (labels at the end of partition are missed) * _ada2p2 is Ok, but belongs to new pool * _ada3p2_ is Ok: all labels exists and belongs to old pool I am really puzzled what happened with each of your drives. -- BC