Feature #1789
closed"zpool labelclear" should remove ZFS label on desired devices
0%
Description
Add the "zpool labelclear" command. This command can be used to wipe the label data from a device that is not active in a pool. The optional "-f" argument can be used to treat an exported or foreign vdev as "inactive" thus allowing its label information to be cleared.
Patch author: Justin T. Gibbs <gibbs@FreeBSD.org>
Related issues
Updated by Martin Matuška over 10 years ago
Updated webrev with correct issue number: http://cr.illumos.org/view/6np4i71b/labelclear/
Updated by Mark Musante over 10 years ago
- Status changed from New to Feedback
Workaround:
- zpool create -f tank $disk && zpool destroy tank
Updated by Martin Matuška over 10 years ago
New webrev, included changes suggested from Eric Schrock and command renamed to "wipe":
http://cr.illumos.org/view/zn6y7udd/wipe
Updated by Yuri Pankov almost 10 years ago
Anything stopping this from going forward (as provided workaround doesn't really work)?
Updated by Alexander Eremin over 9 years ago
Is it possible to implement this? This option is very useful
Updated by Yuri Pankov about 6 years ago
- Status changed from Feedback to Closed
Closing as the duplicate of #6418.
Updated by Yuri Pankov about 6 years ago
- Is duplicate of Feature #6418: zpool should have a label clearing command added