Can you show those reports?
The one point I could recall from my notes and my memories is this link to a cifs (aka smaba, right?) post.
https://openwrt.org/docs/guide-user/additional-software/extroot_configuration#remote_file_system
But yes, I agree with you, that's far from an 'officially' supported working solution.
And I also agree that obscure 3rd party halfway ideas don't count, either.
So may be that mentally I still stick deeply in the concepts and possibility of debian and bretheren? So deep that I could not even think of the possibility of major problems on our tiny little gadgets
?
nfs root requires initramfs with nfs and network drivers on a desktop linux,
Well, yes, that's the way if everything runs on nfs, aka completely diskless.
I have configured a similiar concept with aufs a decade ago for a cluster: common installation, different run data. So, may be that's where my expectations were rooted.
though nowadays only used to netboot system installer over pxe
yeah, booting an 4MB access point diskless on nfs over PXE would be the real challenge 
But back to my approach:
After gleaning over the nuts&bolts of the openWRT boot sequence, I think I'd not step not that early into the extroot
meachnism.
I find the network initiated as S20 in /etc/rc.d
I'd prefer not to touch that.
Not even the normal boot sequence, may be until S95 -> done
where rc.local
is called.
This resembles the current stage of my DuT (a TP-Link CPE 210):
- no luci
- no wpad
- no CA-bundle and other wget tls stuff
- 2 MB Flash left for playing and growing base system in the future
- ssh acces and sshfs installed
In that stage, I'd expect a read-only root or a remount of root a low risk.
So my idea was to install a 3 tier overlay
sshfs
on remote server
- existing
/overlay/upper
on jffss
- unpacked root from squashfs
In the kernel documentation
https://www.kernel.org/doc/html/latest/filesystems/overlayfs.html
we may learn that this might be implemented either by nested overlays (i. e. using the current overlay as lower for the next level) or as multi-lower-layer overlay.
However, we may also learn that there are some extra challenges for the upper fs - in particular requiring special acl features I admittedly haven't yet grasped in detail.
But as my first trials indicate, this might precisely be the point that bites me:
[84524.723235] overlayfs: upper fs does not support tmpfile.
[84524.738596] overlayfs: upper fs does not support RENAME_WHITEOUT.
[84524.744953] overlayfs: failed to set xattr on upper
[84524.750079] overlayfs: upper fs missing required features.
root@mygadget:~# /usr/bin/mount -t overlay overlay -olowerdir=/root/test,upperdir=/root/mp_extroot/up
per,workdir=/root/mp_extroot/work /root/merged
mount ....
root@homeserver:/extroot on /root/mp_extroot type fuse.sshfs
Do we really need an overlay?
Might it even be possible to boot into the current stage and then either replace / or maybe only /usr with an unlayered netmount?
I know, in contrast to a 3-tier-overlay, that may leave us in a incoherent sytem if the net file is down, but chances are that at least still we get a dhcp handshake and ssh dialin ... at least I hope so....