Difference between revisions of "Mkswap"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
  
  
 +
 +
mkswap: error: swap area needs to be at least 40 KiB
 +
Solution: [[flocate]]
  
 
  Setting up swapspace version 1, size = 30 GiB (32212250624 bytes)
 
  Setting up swapspace version 1, size = 30 GiB (32212250624 bytes)

Revision as of 14:55, 24 August 2023

mkswap set up a Linux swap area and it is included on util-linux package.


mkswap /dev/nvme5n1
mkswap -f /dev/nvme5n1


mkswap: error: swap area needs to be at least 40 KiB
Solution: flocate
Setting up swapspace version 1, size = 30 GiB (32212250624 bytes)
no label, UUID=2c828d0e-4820-49a6-a9a9-af0facc12345


Related

See also

Advertising: