From f432b99c67ae284d5fc57e74e8868f2bbab5f49e Mon Sep 17 00:00:00 2001 From: Richard Laager Date: Wed, 10 Apr 2019 08:59:20 -0500 Subject: [PATCH] Ubuntu/Debian: Make swap optional On Ubuntu, merge in the swap deadlock warning. --- Debian-Stretch-Root-on-ZFS.md | 4 ++-- Ubuntu-18.04-Root-on-ZFS.md | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Debian-Stretch-Root-on-ZFS.md b/Debian-Stretch-Root-on-ZFS.md index ca463e6..76ac25a 100644 --- a/Debian-Stretch-Root-on-ZFS.md +++ b/Debian-Stretch-Root-on-ZFS.md @@ -405,9 +405,9 @@ If you installed to multiple disks, install GRUB on the additional disks: # mount /boot/efi -## Step 7: Configure Swap +## Step 7: (Optional) Configure Swap -**CAUTION: Swap on ZFS pool may deadlock on systems with extremely high memory pressure, see** https://github.com/zfsonlinux/zfs/issues/7734 +**Caution**: On systems with extremely high memory pressure, using a zvol for swap can result in lockup, regardless of how much swap is still available. This issue is currently being investigated in: https://github.com/zfsonlinux/zfs/issues/7734 7.1 Create a volume dataset (zvol) for use as a swap device: diff --git a/Ubuntu-18.04-Root-on-ZFS.md b/Ubuntu-18.04-Root-on-ZFS.md index 5051702..b081ffc 100644 --- a/Ubuntu-18.04-Root-on-ZFS.md +++ b/Ubuntu-18.04-Root-on-ZFS.md @@ -527,7 +527,9 @@ If you installed to multiple disks, install GRUB on the additional disks: # mount /boot/efi -## Step 7: Configure Swap +## Step 7: (Optional) Configure Swap + +**Caution**: On systems with extremely high memory pressure, using a zvol for swap can result in lockup, regardless of how much swap is still available. This issue is currently being investigated in: https://github.com/zfsonlinux/zfs/issues/7734 7.1 Create a volume dataset (zvol) for use as a swap device: