How to release default swap space
#1
I want to release the default swap space and use my own swap space created on NVMe SSD.

jzhang18@rockpro64:~$ free
                  total        used        free      shared  buff/cache   available
Mem:        3969104      309332     3161484       26324      498288     3603600
Swap:       1984536           0     1984536
jzhang18@rockpro64:~$ sudo swapon --show
[sudo] password for jzhang18:
NAME       TYPE      SIZE USED PRIO
/dev/zram0 partition 323M   0B    5
/dev/zram1 partition 323M   0B    5
/dev/zram2 partition 323M   0B    5
/dev/zram3 partition 323M   0B    5
/dev/zram4 partition 323M   0B    5
/dev/zram5 partition 323M   0B    5

how to release /dev/zram0 to 5 during boot time? 
Really appreciated

After adding my own swap file in /etc/fstab, /dev/zram0 -5 is not useful to me. want to release them
jzhang18@rockpro64:~$ free -h
total used free shared buff/cache available
Mem: 3.8G 581M 2.8G 34M 423M 3.2G
Swap: 7.9G 0B 7.9G
jzhang18@rockpro64:~$ sudo swapon --show
[sudo] password for jzhang18:
NAME TYPE SIZE USED PRIO
/swapfile file 6G 0B -1
/dev/zram0 partition 323M 0B 5
/dev/zram1 partition 323M 0B 5
/dev/zram2 partition 323M 0B 5
/dev/zram3 partition 323M 0B 5
/dev/zram4 partition 323M 0B 5
/dev/zram5 partition 323M 0B 5


Messages In This Thread
How to release default swap space - by jzhang18 - 08-27-2018, 09:08 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Armbian 22.02 Release Announcement TRS-80 0 1,163 02-28-2022, 05:08 PM
Last Post: TRS-80
Big Grin Feature Complete Debian Desktop Release Mrfixit2001 158 179,297 05-29-2021, 04:05 AM
Last Post: twilite
  How to reset board to default state? kkdao 4 5,951 09-01-2020, 05:48 AM
Last Post: kkdao
  Official Debian release won't boot!?! Faradn 4 6,726 07-06-2020, 09:29 AM
Last Post: Bullet64
  UART4 in Debian Desktop Release of Mrfixit2001 Gienek 1 2,816 05-19-2020, 02:47 AM
Last Post: Gienek
  New Pre-release 0.10.9 from Ayufan Bullet64 0 2,377 04-09-2020, 06:49 AM
Last Post: Bullet64
  Ayufan 5.4.0 rc1 release - cannot boot Mentaluproar 2 5,144 01-05-2020, 02:39 PM
Last Post: mmiigg
  Release 0.9.14 Ubuntu Mate desktop, LXDE, OMV, Docker CE (container) Luke 1 3,303 12-10-2019, 01:30 PM
Last Post: Helium75
  New Stable release from Ayufan (0.8.3) Luke 13 17,387 08-06-2019, 05:19 PM
Last Post: andyburn
  ayufan 0.7.12 pre-release images (help testing) Luke 11 13,413 03-22-2019, 05:10 PM
Last Post: Luke

Forum Jump:


Users browsing this thread: 1 Guest(s)