createCheckpoint

Undocumented in source. Be warned that the author may not have intended to support it.
@SILdoc(`Creates a checkpoint for the specified pool. If this function returns 0 the pool was successfully checkpointed. This method may also return: ZFS_ERR_CHECKPOINT_EXISTS The pool already has a checkpoint. A pools can only have one checkpoint at most, at any given time. ZFS_ERR_DISCARDING_CHECKPOINT ZFS is in the middle of discarding a checkpoint for this pool. The pool can be checkpointed again once the discard is done. ZFS_DEVRM_IN_PROGRESS A vdev is currently being removed. The pool cannot be checkpointed until the device removal is done. ZFS_VDEV_TOO_BIG One or more top-level vdevs exceed the maximum vdev size supported for this feature. `)
void
createCheckpoint
(
string pool
)

Meta