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: system1 mirror c1t0d0 c1t1d0
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. |