Project

General

Profile

Feature #7584

Improve 'zpool labelclear' command

Added by Ganael Laplanche over 4 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2016-11-15
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

Following #6418 "zpool should have a label clearing command", find attached a patch that improves the 'zpool labelclear' command.

This patch has been tested on FreeBSD (only) and has been originally reported and described here :

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204622

The attached patch is a port of the FreeBSD patch for Illumos rev. 9185393.


Files

patch-zpool_labelclear-Illumos-9185393.txt (8.11 KB) patch-zpool_labelclear-Illumos-9185393.txt Patch for rev. 9185393 Ganael Laplanche, 2016-11-15 08:47 AM
patch-zpool_labelclear-second_take.txt (9.36 KB) patch-zpool_labelclear-second_take.txt Second version of the patch Ganael Laplanche, 2017-07-13 10:32 AM
patch-zpool_labelclear-take_three.txt (9.44 KB) patch-zpool_labelclear-take_three.txt Ganael Laplanche, 2017-07-16 12:23 PM

Also available in: Atom PDF