ARM SBC: overlayfs error -2
overlayfs errors had began from 2025/05/25, since the SBC was launched at 2024/09/23::
zram-config stop 2025-02-25-08:00:44-JST ztab remove log /zram1 /var/log /opt/zram/log.bind serviceConfiguration: Stopping services that interfere with zram device configuration. removeZdir: Beginning removal of device /dev/zram1. umount: /var/log (overlay1) unmounted mergeOverlay: Beginning merge of /opt/zram/opt/zram/log.bind. ls: /opt/zram/zram1/upper: Input/output error /opt/zram: ls: /opt/zram/zram1: Input/output error
I think, it is worth to use overlayfs and zram-config at the sametime, then the overlayfs cannot mount at boot::
kernel: overlayfs: "xino" feature enabled using 2 upper inode kernel: overlayfs: failed to verify origin (/, ino=12, kernel: overlayfs: failed to verify upper root origin
to fix it, disable the features of overlayfs at mount. by::
index=off,metacopy=off
here is my fstab.
overlay /var/log overlay noauto,index=off,metacopy=off,workdir=/mnt/external/var-log.tmp,lowerdir=/var/log,upperdir=/mnt/external/var-log 0 0
thanks for arch linux BBS
overlayfsにエラー発生して、以後書き込みができなくなっていた。
その後、再起動してもマウントできなくなった。
あまり起こらないエラーのようで
対処法がなかった。
上のようにすると回避はできた。
何の機能でどういうメリットがあるのかは
調べていないが...
コメント
Comments powered by Disqus