Hello everyone,
I have a OMV 4 on a Raspberry Pi 3 ( I know it is not ideal, but this setup is only to gather some experience with OMV and docker before moving to a more powerful hardware).
As you know the Pi 3 has only 1 GB of RAM and the default OMV installation image allocates a 500 MB of swap file.
Here is my /etc/fstab
Code
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime,commit=600 0 1
/var/swap none swap sw 0 0
tmpfs /tmp tmpfs defaults 0 0
# >>> [openmediavault]
/dev/disk/by-label/SAMSUNG4 /srv/dev-disk-by-label-SAMSUNG4 ntfs defaults,nofail 0 2
/dev/disk/by-label/SAMSUNG /srv/dev-disk-by-label-SAMSUNG ntfs defaults,nofail 0 2
/dev/disk/by-label/WD1 /srv/dev-disk-by-label-WD1 ntfs defaults,nofail 0 2
/dev/disk/by-id/mmc-00000_0xf5e95df9-part3 /srv/dev-disk-by-id-mmc-00000_0xf5e95df9-part3 btrfs defaults,nofail,discard,ssd 0 2
/srv/dev-disk-by-id-mmc-00000_0xf5e95df9-part3/docker /var/lib/docker/openmediavault none bind,defaults 0 0
# <<< [openmediavault]
Alles anzeigen
and my current top command indicating 500MB of swap (just rebooted):
Code
top - 20:40:07 up 20 min, 1 user, load average: 0.36, 0.91, 0.90
Tasks: 203 total, 1 running, 129 sleeping, 0 stopped, 1 zombie
%Cpu(s): 2.5 us, 1.8 sy, 1.3 ni, 93.5 id, 0.7 wa, 0.0 hi, 0.2 si, 0.0 st
KiB Mem : 1000180 total, 13600 free, 451648 used, 534932 buff/cache
KiB Swap: 500080 total, 483184 free, 16896 used. 439468 avail Mem
As I am currently playing a lot with docker and other things I have run onto the limit of 500MB of swap size and under normal usage i'm at about 80-90% of swap usage.
I know perfectly well that this is not healty but i would like to continue for a couple months in this way.
Thus I would ask: is there a way to increase the swap size after installation?
Thanks!