SWAP

Create Swap

vgcreate /dev/sdb1 lvcreate vg_swap /dev/sdb1 lvcreate -L 100M -n lvswap swap mkswap /dev/vg_swap/lvswap swapon -v /dev/vg_swap/lvswap vi /etc/fstab /dev/vg_swap/lvswap swap swap 0 0 cat /proc/swaps

Swappiness

Huidige swap opzoeken in: /proc/sys/vm/swappiness of sysctl -a | grep swap Aanpassen in: /etc/sysctl.conf Reload via: sysctl -p