Questions tagged [overlayfs]

41 questions
16
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
  • 5,871
1
vote
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
  • 5,871
1
vote
3 answers

How can I mount a lowerdir into a specific subdirectory with overlayfs?

I want to mount the following directories using overlayfs: (lowerdir) /chroot in /merged (lowerdir) /home in /merged/home (upperdir) /tmpfs in /merged ...so that the resulting merged directory is a COW system that contains both the /chroot and…
alkisg
  • 550
  • 7
  • 6
1
vote
0 answers

Including full paths with overlayfs or unionfs

I have the following directories: /some/path/dir1/subdir1/* /some/path/dir1/subdir2/* /some/path/dir1/subdir3/* /some/path/dir2/subdir1/* /some/path/dir2/subdir2/* /some/path/dir2/subdir3/* I want to create an overlayfs (or similar) mount that…
0
votes
1 answer

Overlayfs working dir

on an Ubuntu (16.04 LTS) working as Webserver I have installed overlayfs (I did already some months ago on another machine). On both machine I have: overlayroot="tmpfs:swap=1,recurse=0" But on the new one, boot fails with overlayfs: missing working…
0
votes
2 answers

Make some files be persistent between system formats?

I have an Ubuntu laptop I use as a plex server, seedbox, DNS cache and ad filter for my home network. Since it's the only computer in the house that doesn't get shutdown, I have a tendency to load random stuff onto it just to have a play. This…
YodaDaCoda
  • 1,555
0
votes
0 answers

How to implement overlayfs in RAM

I have Ubuntu installed on an SSD and would like to use it as a customized live USB, allowing me to test system changes without risking corruption. I've read that Ubuntu uses overlayfs for this purpose, but I couldn't find the responsible script for…
sudoer
  • 100
0
votes
0 answers

OverlayFS - Understanding and writing files

I'm working on getting a reliable image for a kiosk style application. Currently one of our big issues is boot stability. Since there's a high likelihood of our computers being hard-reset or losing power, a frozen/stuck boot is a common fault…