Project

General

Profile

Feature #6418

zpool should have a label clearing command

Added by Will Andrews about 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2015-10-31
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

An easy, direct means of sanitizing pool vdevs can be helpful for management purposes.

FreeBSD has had a 'zpool labelclear' for some time, see: https://svnweb.freebsd.org/base?view=revision&revision=224171

SpectraBSD has a slightly updated version, which I propose for inclusion.


Related issues

Has duplicate illumos gate - Feature #1789: "zpool labelclear" should remove ZFS label on desired devicesClosed2011-11-18

Actions
Precedes illumos gate - Feature #6865: want zfs-tests cases for zpool labelclear commandResolved2015-11-022015-11-02

Actions

History

#1

Updated by Yuri Pankov over 3 years ago

  • Category set to zfs - Zettabyte File System
  • Assignee set to Will Andrews
  • % Done changed from 0 to 50
  • Difficulty changed from Medium to Bite-size
  • Tags deleted (needs-triage)
#2

Updated by Yuri Pankov over 3 years ago

  • Status changed from New to In Progress
#3

Updated by Yuri Pankov over 3 years ago

  • Has duplicate Feature #1789: "zpool labelclear" should remove ZFS label on desired devices added
#4

Updated by Yuri Pankov over 3 years ago

  • Related to Feature #6865: want zfs-tests cases for zpool labelclear command added
#5

Updated by Yuri Pankov over 3 years ago

  • Related to deleted (Feature #6865: want zfs-tests cases for zpool labelclear command)
#6

Updated by Yuri Pankov over 3 years ago

  • Precedes Feature #6865: want zfs-tests cases for zpool labelclear command added
#7

Updated by Electric Monk over 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

git commit 6401734d545a04c18f68b448202f9d9a77216bb9

commit  6401734d545a04c18f68b448202f9d9a77216bb9
Author: Will Andrews <will@firepipe.net>
Date:   2016-04-09T16:21:29.000Z

    6418 zpool should have a label clearing command
    Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Reviewed by: George Wilson <george.wilson@delphix.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

#8

Updated by Ganael Laplanche about 3 years ago

FYI, a suggested improvement of that command is available here :

https://www.illumos.org/issues/7584

Also available in: Atom PDF