Difference between revisions of "Add a swap disk"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
** <code>[[swapon --show]]</code>
 
** <code>[[swapon --show]]</code>
 
** <code>[[lsblk]] | grep [[disk]]</code>
 
** <code>[[lsblk]] | grep [[disk]]</code>
 +
** <code>[[ls]] /dev/nvme*</code>
 
* [[Add a disk]] to the server
 
* [[Add a disk]] to the server
 
* Check the new volume with <code>[[lsblk]]</code>
 
* Check the new volume with <code>[[lsblk]]</code>

Revision as of 16:03, 24 August 2023


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


UUID=4f724150-4b94-11e9-b2d3-5254001d0c45 none swap defaults 0 0

Related

See also

Advertising: