HomeFreeBSD

Add the ability to uninitialize

Description

Add the ability to uninitialize

zpool initialize functions well for touching every free byte...once.
But if we want to do it again, we're currently out of luck.

So let's add zpool initialize -u to clear it.

Co-authored-by: Rich Ercolani <rincebrain@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #12451
Closes #14873

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on May 18 2023, 5:02 PM
Parents
rGe2176f12a9e4: Probe vdevs before marking removed
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGe97637d484c3: Add the ability to uninitialize (authored by Brian Behlendorf <behlendorf1@llnl.gov>).May 26 2023, 5:09 PM