Overlay filesystem is still a disaster
Have tried to use it many times since the early days of EasyOS in 2017. Here are recent posts:
https://bkhome.org/news/202205/tried-overlay-filesystem-again.html
https://bkhome.org/news/202304/overlayfs-is-still-pathetic.html
I have remained hopeful. After all, other Linux developers are using Overlay, so why is it so awful for me? Yesterday, I compiled the 5.15.149 kernel, and this time ticked all these boxes:
Booted, but Xorg failed:
(EE)
Fatal server error:
(EE) Cannot move old log file "/var/log/Xorg.0.log" to "/var/log/Xorg.0.log.old"
So many basic operations fail. For example, cannot do a recursive remove:
# rm -rf /var/log
rm: cannot remove '/var/log' directory: not empty
Cannot move:
# mv -f /var /varBAK
mv: cannot move '/var' to a subdirectory of itself, '/varBAK'
Try remove a folder that has files in it, and no sub-directories:
# rm -rf /root/Web-Server
...removed the files, but not directory 'Web-Server'
I tried various combinations of turning off those default options, still got the same failures. At least didn't get that "invalid cross-device link" from previous tests.
I just have to give up. When Dr. Okajima retires from developing
Aufs, I will also retire from Linux development.
Tags: easy