MKZPOOL(8) Maintenance Commands and Procedures MKZPOOL(8)

NAME


mkzpool - Create a zpool from a JSON specification

SYNOPSIS


mkzpool [-ef] pool file.json

DESCRIPTION


mkzpool functions as a wrapper around zpool(8). It creates a pool named
pool from a JSON specification in the file named file.json instead of
command-line arguments. The input JSON must satisfy the schema described
in the disklayout(8) output specification.

OPTIONS


-e Encrypt. Create the zpool as an encrypted zpool. A PIV token
must be present on the system for the command to succeed.

-f Force. This flag has the same meaning as the same flag when
passed to zpool create.

WARNINGS


Use of this command is subject to the same caveats and warnings as the
zpool(8) create command.

SEE ALSO


disklayout(8), zpool(8)

illumos February 26, 2020 illumos