On 19/12/14 05:31, Johan Dahlberg wrote:
On Mon, 15 Dec 2014 at 09:36:59, Peter Lawler wrote:
I'm trying to work out why I'm having no luck with pivot overlay on BB. I
promise, I swear, I've tried everything on the wiki[1].
Here's my (admittedly self annotated) /etc/config/fstab
-----
# http://wiki.openwrt.org/doc/howto/extroot?s[]=pivot
config mount
option target '/overlay'
# option device /dev/sda1
option uuid 'f606c02f-aace-4d45-aa4a-206c83477451'
option fstype 'ext4'
option options 'rw,sync'
option enabled '1'
option enabled_fsck '0'
#config swap
# option target '/dev/sda2'
# option uuid 'fd757ba2-fd17-43cc-8e4a-d6b822591bb7'
# option enabled '1'
----
And here's the output of 'block detect'
----
config 'global'
option anon_swap '0'
option anon_mount '0'
option auto_swap '1'
option auto_mount '1'
option delay_root '5'
option check_fs '0'
config 'mount'
option target '/mnt/sda1'
option uuid 'f606c02f-aace-4d45-aa4a-206c83477451'
option enabled '0'
config 'swap'
option uuid 'fd757ba2-fd17-43cc-8e4a-d6b822591bb7'
option enabled '0'
----
The device can be mounted manually after boot, so I know it's not a missing
module problem. dmesg also indicates no errors during boot. It just doesn't
do the overlay.
I saw on the -devel list that there's something about OverlayFS v23 and
above needing an extra directory to be given at mount time[2]. I'm wondering
if that may be related, or whether I'm missing something else entirely.
Cheers,
P.
[1]
http://wiki.openwrt.org/doc/howto/extroot?s[]=pivot&s[]=overlay#openwrt_barrier_breaker_trunk
[2]
https://lists.openwrt.org/pipermail/openwrt-devel/2014-October/028587.html
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
It's been a while since i worked with extroot, but I'm pretty sure I had
to run /etc/init.d/fstab enable/start to make it work on bootup.
You've probably already tried this but I thought I'd mention it.
Johan
Thanks for mentioning /etc/init.d/fstab enable/start, it's something
relative and obvious I should've mentioned in my original post.
Sadly, however, I can confirm I've done this with no effect.
Regards,
Pete.
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users