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.

[email protected]:~$ free
                  total        used        free      shared  buff/cache   available
Mem:        3969104      309332     3161484       26324      498288     3603600
Swap:       1984536           0     1984536
[email protected]:~$ 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
[email protected]:~$ 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
[email protected]:~$ 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
  Reply
#2
(08-27-2018, 09:08 AM)jzhang18 Wrote: how to release /dev/zram0 to 5 during boot time? 
Just
sudo apt-get purge zram-config
ROCKPro64 v2.1 2GB, SM961 128GB NVMe for rootfs, HDMI video & sound, Bluetooth keyboard & mouse
Started Bionic minimal - now Cosmic, Openbox desktop for general purpose daily PC.
  Reply
#3
(08-27-2018, 10:42 AM)dukla2000 Wrote:
(08-27-2018, 09:08 AM)jzhang18 Wrote: how to release /dev/zram0 to 5 during boot time? 
Just
sudo apt-get purge zram-config

Thanks  a lot.   after reboot, looks clean:
 
[email protected]:~$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.8G        284M        3.2G         23M        292M        3.5G
Swap:          6.0G          0B        6.0G
[email protected]:~$ sudo swapon --show
[sudo] password for jzhang18:
NAME      TYPE SIZE USED PRIO
/swapfile file   6G   0B   -1
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  New Stable release from Ayufan (0.8.3) Luke 13 1,405 08-06-2019, 05:19 PM
Last Post: andyburn
Big Grin Feature Complete Debian Desktop Release Mrfixit2001 145 13,450 08-04-2019, 04:26 PM
Last Post: Nikolay_Po
  ayufan 0.7.12 pre-release images (help testing) Luke 11 1,522 03-22-2019, 05:10 PM
Last Post: Luke
Star 0.7.9 Linux release from ayufan Luke 48 16,240 02-25-2019, 02:55 PM
Last Post: Luke
  RETRO-GAMING: ANNOUNCING BETA RELEASE OF RECALBOX FOR THE ROCKPRO64 Mrfixit2001 28 2,625 02-22-2019, 04:03 PM
Last Post: Luke
Big Grin ANNOUNCING RECALBOX FOR THE ROCKPRO64 - ALPHA RELEASE Mrfixit2001 20 4,467 01-10-2019, 11:42 AM
Last Post: Luke
  0.7.11 pre-release Bullet64 0 463 10-25-2018, 01:53 PM
Last Post: Bullet64
  0.7.10 pre-release Luke 29 2,134 10-23-2018, 06:16 AM
Last Post: duckkcud
  No more update on ayufan's github release Ryan 4 777 09-30-2018, 06:16 PM
Last Post: Takenover83
Star [Archived] Initial Linux release from ayufan (0.6.XX) Luke 49 6,813 07-24-2018, 03:23 PM
Last Post: Luke

Forum Jump:


Users browsing this thread: 1 Guest(s)