Difference between revisions of "Add a swap disk"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
* Mount swap : sudo <code>[[mount -a]]</code>
 
* Mount swap : sudo <code>[[mount -a]]</code>
 
* Enable swap: <code>[[swapon]] /dev/nvme5n1</code>
 
* Enable swap: <code>[[swapon]] /dev/nvme5n1</code>
* Check swap <code>[[free -h]]</code>
+
* Check swap <code>[[free -h]]</code> or <code>[[swapon --show]]</code>
  
  

Revision as of 10:49, 24 August 2023


sudo vi /etc/fstab
UID none swap defaults 0 0


Related

See also

Advertising: