Swap

From campisano.org
Jump to navigation Jump to search

Add Swap file

dd if=/dev/zero of=/mnt/swapfile_3.5G bs=1M count=3584
mkswap -L SWAPFILE_3.5G /mnt/swapfile_3.5G
swapon /mnt/swapfile_3.5G
echo "/mnt/swapfile_3.5G none swap sw,pri=1 0 0" >> /etc/fstab

Links