Questions tagged [overlayfs]
43 questions
71
votes
5 answers
How do I use OverlayFS?
This answer and email message indicate that something called "OverlayFS" is available in Ubuntu 11.10 and will forcefully replace aufs in Ubuntu 12.04.
How do I use it? Where is its documentation?
ændrük
- 78,496
17
votes
1 answer
Example OverlayFS Usage
I'm running Ubuntu 14.04 with the 3.19 kernel which should have OpenFS supported (since kernel 3.18). I've been reading about OverlayFS but am confused as to how to actually implement using it. It looks like it could be a really useful alternative…
Programster
- 6,039
9
votes
1 answer
How do I add an overlayfs to /etc/fstab?
On Ubuntu v14.04, I have a drive mounted at /mnt/log-overlay that I would like to mount over the top of /var/log.
The following mount command successfully creates that overlay, and works fine:
mount -t overlayfs -o…
Graham Leggett
- 451
5
votes
2 answers
Overlayfs to an existing directory
I have looked at
How do I use OverlayFS? but it doesn't answer my question.
I need to install some third party applications and they require /opt to be writable but the device I am running on has /opt on a readable rootfs. Essentially, I have a…
zenDev120
- 51
3
votes
0 answers
Is there an overlay file system doing a copy-up on read?
What I‘m looking for is a mixture of an overlaying file system like overlayfs or aufs that does a copy-up on read access. Or, from the other side, a service like unison that sync only files that have been requested so far. You could call it a cache,…
undko
- 131
3
votes
2 answers
How do you make my root system behave like a live system?
One of my friends doesn't have an hdd , so I will install linux distro on a usb stick. It will be a full install just like installing to hdd but it will install on a flash stick instead of hdd.
The problem here: USB 2.0 sticks are very slow , If…
Ahmed Alamassi
- 31
- 1
3
votes
1 answer
Enabling OverlayFS on ubuntu 14.04
I understand that to enable overlay file system we nedd to make changes in the overlayroot.conf file and reboot the system. But is it possible without rebooting my system
hitesh
- 43
3
votes
2 answers
Where is the upper layer of the live cd image overlayfs root filesystem stored?
When I run the live image (Ubuntu 18.04), it shows the root filesystem being an overlay with the squashfs image (/cdrom/casper/filesystem.squashfs, containing the main data) as lower layer, and /cow/upper as upper layer. But /cow is not visible…
JanKanis
- 683
2
votes
1 answer
GRUB defaulting to 30 second timeout
In my GRUB configuration, I have the following setting:
GRUB_TIMEOUT=3
In general, it works fine. However, I'm using overlayroot, which creates a protected file system (specifically, it uses OverlayFS to create a union filesystem). When I reboot,…
Eric
- 81
2
votes
1 answer
OverlayFS - Multiple Lower Directories
One should be able to combine multiple lower directories in an OverlayFS mount by using a colon to separate them according to this document.
However this fails for me. For example if I setup with:
mkdir /tmp/data
mkdir -p…
Programster
- 6,039
2
votes
2 answers
The best way to create a root filesystem, split between read only and writable
My aim is to create a system where the main parts of the root filesystem are stored on a read-only SD card, with writeable parts located on an SSD set to rw. This is to be done with a view to keeping the root filesystem free from tampering and…
Arronical
- 20,241
2
votes
0 answers
Confusion about overlay filesystem in ubuntu
Suppose some commands below:
mkdir -p /tmp/rootfs
mkdir -p /tmp/rootfs1
mkdir /mnt
mount -n -t overlayfs -o rw,upperdir=/tmp/rootfs,lowerdir=/tmp/rootfs1 none /mnt
As a result, I can see everything of /rootfs and /mnt/rootfs1 in /mnt. Besides,…
user2886717
- 131
2
votes
0 answers
unshare then overlay mount fails in WSL
I Cannot overlay mount after creating an mount namespace with unshare
$ unshare -rm
# mount -t overlay overlay -o lowerdir=/bin,upperdir=/overlay/upper/bin,workdir=/overlay/work/bin/ /overlay/merged/bin/
mount: /overlay/merged/bin: permission…
Badger
- 21
2
votes
0 answers
How can I change the timezone on a read only operating system protected by overlayroot?
I have an Ubuntu 16.04 installation mounted using overlayroot as a read only partition.
I also have a read write partition on the same drive.
I need to be able to change the timezone setting of the PC but without disabling overlayroot. I can see…
Mike Young
- 123
1
vote
0 answers
Did Ubuntu switch from overlayfs to aufs between 16.04.1 and 16.04.2?
In Ubuntu 16.04.1, booting a live USB and typing mount reveals that / is mounted as an OverlayFS with a squashfs filesystem as the lower directory and a ramdisk as the upper directory.
However, booting to a Ubuntu 16.04.2 live USB and typing mount…
Hitechcomputergeek
- 1,173