Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OS-7698 Add mkzpool -e for creating encrypted zpools (#885)
Reviewed by: Mike Gerdts <mike.gerdts@joyent.com> Reviewed by: Pedro Palazón Candel <pedro@joyent.com> Reviewed by: Brian Bennett <brian.bennett@joyent.com> Approved by: Brian Bennett <brian.bennett@joyent.com>
- Loading branch information
1 parent
dde2a7e
commit da5a750
Showing
5 changed files
with
74 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
.Dd February 26, 2020 | ||
.Dt MKZPOOL 1M | ||
.Os | ||
.Sh NAME | ||
.Nm mkzpool | ||
.Nd Create a zpool from a JSON specification | ||
.Sh SYNOPSIS | ||
.Cm mkzpool | ||
.Op Fl ef | ||
.Ar pool | ||
.Ar file.json | ||
.Sh DESCRIPTION | ||
.Nm | ||
functions as a wrapper around | ||
.Xr zpool 1M . | ||
It creates a pool named | ||
.Ar pool | ||
from a JSON specification in the file named | ||
.Ar file.json | ||
instead of command\-line arguments. | ||
The input JSON must satisfy the schema described in the | ||
.Xr disklayout 1M | ||
output specification. | ||
.Ss OPTIONS | ||
.Bl -tag -width Fl | ||
.It Fl e | ||
Encrypt. | ||
Create the zpool as an encrypted zpool. | ||
A PIV token must be present on the system for the command to succeed. | ||
.It Fl f | ||
Force. | ||
This flag has the same meaning as the same flag when passed to | ||
.Cm zpool create . | ||
.El | ||
.Sh WARNINGS | ||
Use of this command is subject to the same caveats and warnings as the | ||
.Xr zpool 1M | ||
create command. | ||
.Sh "SEE ALSO" | ||
.Xr disklayout 1M , | ||
.Xr zpool 1M |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.