I'm trying to get OverlayFS working.
$ cd /tmp $ mkdir lower upper merged $ touch lower/file1 upper/file2 $ sudo mount -t overlayfs -o lowerdir=/tmp/lower,upperdir=/tmp/upper overlayfs /tmp/merged mount: unknown filesystem type 'overlayfs' $ uname -a Linux jan-laptop 3.18.2-2-ARCH #1 SMP PREEMPT Fri Jan 9 07:37:51 CET 2015 x86_64 GNU/Linux
It should be available since Kernel 3.18, but unfortunately, it isn't.
Last edited by Holzhaus (2015-01-15 20:15:37)
The module seems to be called overlay. Maybe so is the fs?
Try modprobing the module.
Thanks, I got it working now.
I had to do this:
mkdir work sudo mount -t overlay -o lowerdir=/tmp/lower,upperdir=/tmp/upper,workdir=/tmp/work overlay /tmp/merged
overlayfs does not work for me too:
$ sudo mount -t overlay -o lowerdir=/tmp/lower,upperdir=/tmp/upper,workdir=/tmp/work overlay /tmp/merged mount: unknown filesystem type 'overlay'
My kernel is:
$ uname -a Linux naomint 4.3.3-2-ARCH #1 SMP PREEMPT Wed Dec 23 20:09:18 CET 2015 x86_64 GNU/Linux
And "lsmod | grep overlay" shows nothing.
Last edited by eungjun.yi (2016-01-21 03:30:35)
Now it works. Rebooting and running `sudo modprobe overlay` fixes it for me.
Glad you got it sorted out. In the future, please open a new thread for your issues instead of bumping old and especially, solved ones.