SWAP
SWAP PARTITION
1. Create
partition using FDISK utlity.
2. Create SWAP
partition.
mkswap /dev/sdb1
3. Start SWAP
swapon /dev/sdb1
4. Make swap entry
in file
Vim /proc/swaps
5. Make entry in
fstab file for permanent mounting.
vim /etc/fstab
/dev/sdb1 swap swap defaults 0 0
How to disable SWAP?
1. Stop the SWAP
swapoff /dev/sdb1
2. Remove entry
from below files.
vim /proc/swaps
Comments
Post a Comment