From owner-freebsd-fs@freebsd.org Thu Sep 29 18:13: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 B68D0C02872 for ; Thu, 29 Sep 2016 18:13:53 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yb0-x236.google.com (mail-yb0-x236.google.com [IPv6:2607:f8b0:4002:c09::236]) (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 740F7A77 for ; Thu, 29 Sep 2016 18:13:53 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yb0-x236.google.com with SMTP id e2so20224294ybi.1 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=0RrOPJRAKg4HvXLy1IRJvdoYZ5p5SDAF8rWNZpmablI=; b=uj2JYEUIDEBhmVZW9XgdA5N6QuLruGQ2wGRW1pbwneopvrACCASGLdNX8dV4Zmkrhn acxl3FAWmNELUs2XYa5Ts0BBxHE0xl7mMqkz4SrLTfea5RzHDKyOWyrDbt1SoES60iOf nqbyQlgnsM51Cc6F7e7x571NZOR9Ab6PheRBrfSHm9vs3kXJWG7uQa/iXt7EqXWnsn8B wItbr7p19dzIsQOxG+MQ8AvmxjKv3fsG9PpAnjK7BdtBhHlbybXUA4uI8ZJ5MQy/m0po IjS59ghSM4jnLxjnAENAsFFDUMvJ9kES+yrySA37kKbATLVX14HfGKUDItSLM5GoRHmg vJUw== 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=0RrOPJRAKg4HvXLy1IRJvdoYZ5p5SDAF8rWNZpmablI=; b=UEDO9FZ35dtra5EJPQkGTBW47GecVW52cqWepLa91NnWkANqOUroaK0eLV7C1ICpmp rqJMJakJLGnInjz8HpXJh/AoJouxLaFyJjwGkdlkqn6phCjupYch+Xy/qJVct0bB292X wp1qgp8bU3wjp3PNev4wrYiuHvynm5mtXoGQM2A/k/ieLAcnNRUtkJw9fCdKHLHfMoOM kOEMIcxr1iGwGY2Spey3+0qi1cio/LrsqRxZf3tdvPqzCLqBc5mdGyHw5umaFTEzGID4 IV715msybLdqmE+t9sbJTETpCEsWtMbaIPTk0z0YpqLUsIbdFKBx9yC0wh+bU6JHdUph jh+g== X-Gm-Message-State: AA6/9RnALD66UAtwIXGJf545vs8SF3+T4TM2RXief043WA5z8uBSRgC+izxvjeNHcRbv+2Lf/SbR6jcv/CE5oQ== X-Received: by 10.37.217.204 with SMTP id q195mt1018009ybg.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-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems 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" >