Jump to content

[Odroid XU4] no overlayfs


Petr Stehlík

Recommended Posts

The ChangeLog of Armbian says that overlayfs was added in V5.15. I got installed V5.20 (or actually an earlier and then apt-get upgraded) yet the overlayfs is not available (kernel  3.10.103-odroidxu4). I have even tried installing linux-*-next and *uboot*-next (not even knowing what the -next mean) but it didn't help, still no overlayfs in /proc/filesystems.

 

Also, on reboot the Odroid is missing LAN connection randomly. It can be fixed by running dhclient manually but then the ethernet card is named by systemd. Normally it's eth0 and the networking works. I couldn't figure out what is the root cause of this issue, it seems random. I have also read in a ChangeLog that this got fixed long time ago. (?)

 

Please help. I'd like to end up with a read-only root and the overlayfs seemed like the best option for that. I just don't understand the difference between the ChangeLog and my exprience.

 

Thanks,

 

Petr

Link to comment
Share on other sites

@Petr

 

I have little idea but I read overlayfs was available with kernel 3.18 (any backport to 3.10?)

https://en.wikipedia.org/wiki/OverlayFS

 

it looks there is CONFIG_OVERLAYFS_FS=m for legacy 3.10

https://github.com/igorpecovnik/lib/blob/master/config/kernel/linux-odroidxu4-default.config

 

so check if you can load the kernel module

 

--

"next" is vanilla kernel (recent) but for XU4 it is still experimental for Armbian

just see http://forum.armbian.com/index.php/topic/2005-patching-the-kernel/

currently the default 'next' kernel config has # CONFIG_OVERLAY_FS is not set

 

(try to load the legacy kernel module first please)

Link to comment
Share on other sites

Oh well, sudo modprobe overlayfs indeed adds the overlay filesystem to /proc/filesystems. I am so used to automagic loading of modules that I didn't think of this. My fault.

Thank you, goldfish_paris!

 

Though adding "overlayfs" to /etc/modules didn't help the overlayroot package to start working correctly. Something else is wrong.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines