From owner-freebsd-current@freebsd.org Thu Sep 29 18:13:53 2016 Return-Path: Delivered-To: freebsd-current@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 AD08FC0286F for ; Thu, 29 Sep 2016 18:13:53 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yb0-x230.google.com (mail-yb0-x230.google.com [IPv6:2607:f8b0:4002:c09::230]) (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 6B16FA76 for ; Thu, 29 Sep 2016 18:13:53 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yb0-x230.google.com with SMTP id v83so18781214ybv.0 for ; Thu, 29 Sep 2016 11:13: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:cc; bh=CkfPBesBe/sqb/ZNjF3mHCYdwPwT/gaulXyFW2J6F98=; b=dEGUJ26Yv0kCvMozVECFdtryahld+GhJUTGfKsW0pY+luF4++XpyGsDYiYohghzndr YHS8SmDKZXKesCPR/8Yi1AtbiJqVDbjQRdJB7rUm/3NYXZMnxHmu/JVKeW+633HXj5LR ecoSEz3KB6rS3yx3XYUzbX3qMpZ0EmTJDuvb19LAu9X0jVNe8lwlwnn6duXKh0gwWGY4 /GJDIW5+tma2DLSvSPMU6sFu0gqSKr1V4gcZh8uj8lnwcROVEd/izl3QdkLm8yUrz6K8 jslkHhs1DLcxkst2q9coR0PvWEWTaJv7Jhax+kdYa8gU3OMXjgmsjc0v31dkAL4QPsV0 r+nA== 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:cc; bh=CkfPBesBe/sqb/ZNjF3mHCYdwPwT/gaulXyFW2J6F98=; b=Oyo2P74iiAGMIBQU2ZpKW447Dn6kGhLRFcctXNx66JKgzWf1jlfmUy61SLo+L8a5k5 YOpoTWT3kQtm9Qvf09uecWasnvqhFQMz9SZpEpPzCw125JZ/8OEqVCo/cIkiMpk71pyt cfuUHBDFwa8lZU0pjUB8nMXcPK6a9buGL3Tvg+7BWcS4k/2S9B0jl1k7WsLpUveldiGg rAvEgTJWdPQzY65cNmmWVWPFXdzyytB6gnVmAUnBlj2At00g0jus/+MAxgwpwTJRMOQA lpjvwZqzl4X260xJd1oc9ZQI2aXEqtQJLADPPOazdxhlyVx9wA0Bi2V0uiQXY1nHrcYa 4eOA== X-Gm-Message-State: AA6/9Rkb969OP+QZzJQqR0i7w2OrGEo2WPkUozmyWPbP7D3TdaeeW7uEwBxvn8GLa5hhSOb1VprPmULs0IJw8w== X-Received: by 10.37.217.204 with SMTP id q195mt1018010ybg.97.1475172832598; Thu, 29 Sep 2016 11:13:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.18.213 with HTTP; Thu, 29 Sep 2016 11:13:52 -0700 (PDT) In-Reply-To: <20160929121325.M80322@martymac.org> References: <20160929121325.M80322@martymac.org> From: Ultima Date: Thu, 29 Sep 2016 14:13:52 -0400 Message-ID: Subject: Re: zpool (online|replace|labelclear) issues, -f option also failing Cc: freebsd-current@freebsd.org, freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Thu, 29 Sep 2016 18:13:53 -0000 This patch looks good its too bad the core hasn't looked at it yet. Ill do some testing and report any issues found. Some points you bring up in the bug are quite valid. Thanks for working on this! =] Ultima On Thu, Sep 29, 2016 at 8:25 AM, Ganael LAPLANCHE wrote: > On Wed, 28 Sep 2016 19:00:42 -0400, Ultima wrote > > Hi Ultima, > > > I really think the force (-f) flag needs a bump in power (for both > > replace and labelclear) [...]. > > In case you are interested, I have posted a patch to improve the 'zpool > labelclear' command here : > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204622 > > - force ('-f') will now allow to erase labels, even if they are broken > (restoring the behaviour of our previous -FreeBSD- version of labelclear) > - You can select which label you want to erase (beginning, end or > specific index) > - You can use a 'minimal' mode which will invalidate a label by changing > only a single byte. This is useful to minimize the chances to > overwrite/destroy a FS that would have been created over the label, but > still leaving the label visible. > > Regards, > > -- > Ganael LAPLANCHE > http://www.martymac.org | http://contribs.martymac.org > FreeBSD: martymac , http://www.FreeBSD.org > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >