Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 590 Bytes

2012-09-adding-swap-file.markdown

File metadata and controls

17 lines (14 loc) · 590 Bytes

Adding swap file

[root@rascal14:~]: dd if=/dev/zero of=/home/root/swap bs=1M count=100        
100+0 records in
100+0 records out
[root@rascal14:~]: chmod 0600 swap
[root@rascal14:~]: mkswap swap
Setting up swapspace version 1, size = 102396 KiB
no label, UUID=4b17557d-afce-4e73-aea7-5a124e92355b
[root@rascal14:~]: swapon swap

Useful refs: