Is there any chance to gain some space in /dev/zram0 or to configure a little bigger /dev/zram0?
(to use a part of the 265Mb remaining cache/buffer-ram)
The complete update to newer packages/kernel seems also to work with the full /dev/zram = /var/log:
Welcome to Armbian bullseye with Linux 5.5.15-sunxi
package bsp-kernel[20.05.0-trunk] u-boot[20.05.0-trunk] dtb [20.05.0-trunk]
firmware [20.05.0-trunk] config[20.05.0-trunk] branch[dev]
Linux opi-one 5.5.15-sunxi #trunk SMP Sat Apr 4 17:39:03 +03 2020 armv7l GNU/Linux
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
guidol
while updating my dev-OPiOne
Welcome to Armbian bullseye with Linux 5.5.8-sunxi package bsp-kernel[20.05.0-trunk] u-boot[20.05.0-trunk] dtb [20.05.0-trunk] firmware [20.05.0-trunk] config[20.05.0-trunk] branch[dev] Linux opi-one 5.5.8-sunxi #trunk SMP Wed Mar 18 21:19:37 +03 2020 armv7l GNU/Linux
via apt update I did get the follwing error-message:
Trigger für mime-support (3.64) werden verarbeitet ... E: Schreibfehler - ~LZMAFILE (28: Auf dem Gerät ist kein Speicherplatz mehr verfügbar)
I did found out via df that /dev/zram0 = /var/log is used up to 100% :(
root@opi-one(192.168.6.114):~# df Dateisystem 1K-Blöcke Benutzt Verfügbar Verw Eingehängt auf /dev/zram0 49584 48560 0 100% /var/log
but only zram0 seems to be full and not the complete memory:
MiB Mem : 491,5 total, 124,5 free, 101,3 used, 265,8 buff/cache MiB Swap: 245,8 total, 242,8 free, 3,0 used. 360,8 avail Mem
After a reboot there is also 64% of the /dev/zram0 used and I dont know why :(
root@opi-one(192.168.6.114):~# df Dateisystem 1K-Blöcke Benutzt Verfügbar Verw% Eingehängt auf /dev/zram0 49584 28996 17004 64% /var/log
root@opi-one(192.168.6.114):/var/log# ls -l
insgesamt 264
-rw-r--r-- 1 root root 0 Apr 4 19:06 alternatives.log
drwxr-xr-x 2 root root 4096 Apr 4 19:09 apt
-rw-r--r-- 1 root root 36237 Apr 4 19:14 armbian-hardware-monitor.log
-rw-r----- 1 root adm 2188 Apr 4 19:17 auth.log
-rw-r--r-- 1 root root 0 Apr 4 19:00 bootstrap.log
-rw-rw---- 1 root utmp 0 Apr 4 19:00 btmp
drwxr-xr-x 2 _chrony _chrony 4096 Okt 26 09:47 chrony
-rw-r----- 1 root adm 20547 Apr 4 19:15 daemon.log
-rw-r----- 1 root adm 607 Apr 4 19:14 debug
-rw-r--r-- 1 root root 0 Apr 4 19:09 dpkg.log
-rw-r--r-- 1 root root 0 Apr 4 19:00 faillog
drwxr-sr-x 3 root systemd-journal 4096 Feb 25 19:02 journal
-rw-r----- 1 root adm 35489 Apr 4 19:14 kern.log
-rw-rw-r-- 1 root utmp 292 Apr 4 19:15 lastlog
drwxr-x--- 2 www-data www-data 4096 Mär 18 21:28 lighttpd
drwx------ 2 root root 16384 Apr 4 19:14 lost+found
-rw-r----- 1 root adm 34597 Apr 4 19:14 messages
drwxr-xr-x 2 pihole pihole 4096 Feb 14 14:53 pihole
-rw-r--r-- 1 pihole pihole 4052 Apr 4 19:14 pihole-FTL.log
-rw-r--r-- 1 pihole pihole 706 Apr 4 19:14 pihole.log
-rw-r--r-- 1 root root 0 Apr 4 19:00 pihole_updateGravity.log
drwx------ 2 root root 4096 Dez 31 13:35 private
drwxr-xr-x 3 root root 4096 Mär 18 21:28 runit
-rw-r----- 1 root adm 57029 Apr 4 19:17 syslog
drwxr-xr-x 2 root root 4096 Nov 2 13:55 sysstat
drwxr-x--- 2 root adm 4096 Mär 18 21:28 unattended-upgrades
-rw-rw-r-- 1 root utmp 2688 Apr 4 19:15 wtmp
Is there any chance to gain some space in /dev/zram0 or to configure a little bigger /dev/zram0?
(to use a part of the 265Mb remaining cache/buffer-ram)
The complete update to newer packages/kernel seems also to work with the full /dev/zram = /var/log:
Welcome to Armbian bullseye with Linux 5.5.15-sunxi package bsp-kernel[20.05.0-trunk] u-boot[20.05.0-trunk] dtb [20.05.0-trunk] firmware [20.05.0-trunk] config[20.05.0-trunk] branch[dev] Linux opi-one 5.5.15-sunxi #trunk SMP Sat Apr 4 17:39:03 +03 2020 armv7l GNU/Linux
Link to comment
Share on other sites
14 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.