Difference between revisions of "Add a swap disk"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
  sudo vi /etc/fstab
 
  sudo vi /etc/fstab
 
  UID none swap defaults 0 0
 
  UID none swap defaults 0 0
* Mount swap : sudo [[mount -a]]
+
* Mount swap : sudo <code>[[mount -a]]</code>
* Enable swap: [[swapon]] /dev/nvme5n1
+
* Enable swap: <code>[[swapon]] /dev/nvme5n1</code>
* Check swap [[free -h]]
+
* Check swap <code>[[free -h]]</code>
  
  

Revision as of 10:48, 24 August 2023


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


Related

See also

Advertising: