aboutsummaryrefslogtreecommitdiffstats
path: root/man/man8
diff options
context:
space:
mode:
authorGraham Perrin <[email protected]>2023-06-02 19:25:13 +0100
committerGitHub <[email protected]>2023-06-02 11:25:13 -0700
commit6c29422e90dca7a7ef6a69c721238a1c33f393f9 (patch)
treefa5d9eb8ed3d0e07e475e557ecc53c2fb8b9113c /man/man8
parent482da24e20735ebd67fb582ad8025ba517801503 (diff)
zfs-create(8): ZFS for swap: caution, clarity
Make the section heading more generic (the section relates to ZFS files as well as ZFS volumes). Swapping to a ZFS volume is prone to deadlock. Remove the related instruction, direct readers to OpenZFS FAQ. Related, but not linked from within the manual page: <https://openzfs.github.io/openzfs-docs/Project%20and%20Community/FAQ.html#using-a-zvol-for-a-swap-device-on-linux> (Using a zvol for a swap device on Linux). Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Graham Perrin <[email protected]> Issue #7734 Closes #14756
Diffstat (limited to 'man/man8')
-rw-r--r--man/man8/zfs-create.813
1 files changed, 5 insertions, 8 deletions
diff --git a/man/man8/zfs-create.8 b/man/man8/zfs-create.8
index a7b6097c3..b3997d327 100644
--- a/man/man8/zfs-create.8
+++ b/man/man8/zfs-create.8
@@ -234,14 +234,11 @@ if the volume is not sparse.
Print verbose information about the created dataset.
.El
.El
-.Ss ZFS Volumes as Swap
-ZFS volumes may be used as swap devices.
-After creating the volume with the
-.Nm zfs Cm create Fl V
-enable the swap area using the
-.Xr swapon 8
-command.
-Swapping to files on ZFS filesystems is not supported.
+.Ss ZFS for Swap
+Swapping to a ZFS volume is prone to deadlock and not recommended.
+See OpenZFS FAQ.
+.Pp
+Swapping to a file on a ZFS filesystem is not supported.
.
.Sh EXAMPLES
.\" These are, respectively, examples 1, 10 from zfs.8