Go to main content

Managing ZFS File Systems in Oracle® Solaris 11.4

Exit Print View

Updated: November 2021

Doing a Dry Run of Storage Pool Creation

For testing purposes, you can simulate creating a pool without actually writing to the device. The zpool create –n command performs the device in-use checking and redundancy-level validation, and reports any errors in the process. If no errors are found, you see output similar to the following example:

$ zpool create -n system1 mirror c1t0d0 c1t1d0
would create 'system1' with the following layout:


Caution  -  Some errors, such as specifying the same device twice in the same configuration, cannot be detected without actually creating the pool. Therefore, the actual pool creation can still fail even if the dry run is successful.