11th Mar, 2015, 09:08 PM
(10th Mar, 2015 06:40 AM)Killerbee Wrote: [ -> ]This doesn't work on a btrfs file system,
Terminal
modprobe loop
truncate -s 512M /swapfile
losetup /dev/loop0 /swapfile
mkswap /dev/loop0
swapon /dev/loop0
truncate -s 512M /swapfile
losetup /dev/loop0 /swapfile
mkswap /dev/loop0
swapon /dev/loop0
I'm not used to btrfs (and I'm on NFS) but I should think about some issue setting swap space on it.