Hi.
My OMV 4.x is now using swap eventhough i have alot of free memory available.
Why is it using swap. I dont recall i had any swap usage before.
My fstab does not contain swap partition.
Output: cat /etc/fstab
Code
UUID=4353d1a10-2189-4669-a8f0-96d3c0ea1504 / btrfs defaults,noatime,nodiratime,commit=600,compress=lzo 0 1
UUID=87661a22d-5ea3-4f8a-a9de-c95fceb237e6 /boot ext4 defaults,commit=600,errors=remount-ro 0 2
# >>> [openmediavault]
/dev/disk/by-id/mmc-SC16G_0xd4324bc9-part3 /srv/dev-disk-by-id-mmc-SC16G_0xf1e24bc9-part3 btrfs defaults,nofail,discard,ssd 0 2
/dev/disk/by-label/5TB /srv/dev-disk-by-label-5TB ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
/dev/disk/by-label/1TB /srv/dev-disk-by-label-1TB ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
/srv/dev-disk-by-label-5TB/ /export/5TB none bind,nofail 0 0
# <<< [openmediavault]
tmpfs /tmp tmpfs defaults 0 0
Output: cat /proc/swap
Code
Filename Type Size Used Priority
/dev/zram0 partition 127800 5376 5
/dev/zram1 partition 127800 5120 5
/dev/zram2 partition 127800 5120 5
/dev/zram3 partition 127800 5120 5
/dev/zram4 partition 127800 5120 5
/dev/zram5 partition 127800 5120 5
/dev/zram6 partition 127800 5120 5
/dev/zram7 partition 127800 5120 5
Output: free -h
Code
total used free shared buff/cache available
Mem: 2.0G 566M 166M 311M 1.2G 1.0G
Swap: 998M 40M 958M
I have considered if it is the flashmemory plugin (folder2ram) which is using the swap partition.
However if i copy a 50MB file to /var/log, the swap usage doe snot change.
Can someone please asist in this.
Furthermore, if I run
It will disable all the zram, and thereby effectively disabling the folder2ram plugin.