Add swap to ZFS Proxmox

Create the swap volume
zfs create -V 16G rpool/swap16gb

Format the swap volume
mkswap -f /dev/zvol/rpool/swap16gb

Edit the swap partition name in /etc/fstab

Reboot and destroy the old swap volume
zfs destroy rpool/swap


Posted

in

by

Tags:

WordPress Appliance - Powered by TurnKey Linux