You are not logged in.

#1 2015-01-15 20:02:58

Holzhaus
Member
Registered: 2013-10-25
Posts: 11

[solved] OverlayFS not usable?

Hi,

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.

Any hints?

Last edited by Holzhaus (2015-01-15 20:15:37)

Offline

#2 2015-01-15 20:06:19

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [solved] OverlayFS not usable?

The module seems to be called overlay. Maybe so is the fs?

Try modprobing the module.

Offline

#3 2015-01-15 20:15:17

Holzhaus
Member
Registered: 2013-10-25
Posts: 11

Re: [solved] OverlayFS not usable?

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

Offline

#4 2016-01-21 03:06:47

eungjun.yi
Member
Registered: 2016-01-21
Posts: 2

Re: [solved] OverlayFS not usable?

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)

Offline

#5 2016-01-22 08:08:45

eungjun.yi
Member
Registered: 2016-01-21
Posts: 2

Re: [solved] OverlayFS not usable?

Now it works. Rebooting and running `sudo modprobe overlay` fixes it for me.

Offline

#6 2016-01-29 06:28:30

x33a
Forum Moderator
Registered: 2009-08-15
Posts: 3,424
Website

Re: [solved] OverlayFS not usable?

@eungjun.yi,

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.

https://wiki.archlinux.org/index.php/Fo … bumping.22

Closing.

Offline

Board footer

Powered by FluxBB