Questions tagged [overlayfs]

30 questions
0
votes
0 answers

How to mount to lowerdir (overlayfs)

I need to include some PHP code in the docker image and at the same time use some code from host directory while maintaining a certain file structure inside the running container. How to write mount of hostdir1 in docker-compose.yml file…
0
votes
0 answers

How can I have a fuse-overlayfs filesystem directly show modifictions on the lower layer?

Context I am exploring some options around overlayfs, in order to mount a directory inside a docker container with a "copy on write" behavior -- the container should be able to read any file from the host directory, but write actions should not…
LeGEC
  • 46,477
  • 5
  • 57
  • 104
0
votes
0 answers

Pulling / saving a few docker images in parallel - failure

I am trying to pull and save a few docker images in parallel (they are quite big and parallelism can save a lot of time - it is done within a Python script activating docker pull and then save within each thread). However, it fails all the time with…
Igor
  • 1
  • 1
  • 2
0
votes
0 answers

Mount a directory over another and keep them in sync

I wasn't sure how to title this, but basically whenever I write to my NFS mount I'd also like to keep a local copy for 48 hours, and mount all this under a normal file system, i.e. my application can't be modified to look into different…
tiktak
  • 1,214
  • 8
  • 15
0
votes
0 answers

/proc/id/maps filepath is lack of root path when the path is mounted by overlayfs

My project root path is mounted by overlayfs. Then I build the project, get an executable program and just run it. But when I check /proc/id/maps, I see the filepath in maps is wrong. It is lack of my project root path. Now I'm very confused about…
IcyFlame
  • 11
  • 1
0
votes
0 answers

kernel crash and hung up while umounting xfs

Ubuntu 18.04.2 LTS Linux node-b02-08-06 5.3.0-45-generic #37~18.04.1-Ubuntu SMP Fri Mar 27 15:58:10 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Using XFS with Ceph rdb and mount by OverlayFS, sometimes system hung up with kernel crash like…
xiaozi
  • 1
0
votes
0 answers

How to nfs_export on raspberry with enabling overlay write protection raspi-config

I want to run small nfs server on raspberian sdcard write protected. It's work good raspberian as nfs server without enabled overlay with raspi-config. But when I run raspi-config to enable overlayfs write protection, after reboot, nfs unable to…
0
votes
0 answers

how configure overlayroot on ubuntu 20.04

My system disk has 4 partition /dev/sda1 2048 976895 974848 476M EFI System /dev/sda2 976896 125976575 124999680 59.6G Linux filesystem /dev/sda3 125976576 146948095 20971520 10G Linux filesystem /dev/sda4 146948096 250069646…
0
votes
1 answer

K0s in LXC and ZFS issues

I'm trying to get K0s working in LXC (LXD) containers on Ubuntu 20.04 using ZFS and I've managed to get past the apparmor challenges (for now at least) but stuck on overlayfs issues during the install phase. kernel: [1617529.987422] overlayfs:…
Matt
  • 75
  • 7
0
votes
1 answer

Migrating docker instance to another server

I am trying to migrate an existing docker installation to a new server. I created a tar file from /var/lib/docker from the old host and unpacked the tar folder on the new host in /var/lib/docker. It seems most space is utilized by the next…
GregM
  • 3
  • 1
0
votes
1 answer

Overlayfs volume to docker container

I have a set of directories that I would like to overlay mount into a container: # On host /opt/a - bin - lib /opt/b - bin - lib /opt/c - bin - lib # In container /usr/local - bin - lib - cuda I am able to create an overlayfs…
0
votes
0 answers

Linux mount script runs in PHP interpreter but not in web Apache

My website is about copying files. Instead of copy the files to avoid to much time and server lagging, I decided to use overlayfs. The code mount the folder to the location specified in the terminal using the PHP interpreter. But, when I run the php…
user3502626
  • 838
  • 11
  • 34
0
votes
2 answers

How to verify base device size of docker container

I know that Docker uses a storage pool to allocate storage to each container. When using devicemapper storage by default the size of the storage pool is 100GB and the default limit of each container is 10G. This data are shown in Base Device Size…
Abhishek
  • 763
  • 7
  • 18
0
votes
1 answer

Overlayfs copy-up creates an empty file

I'm doing something which is kind of weird, creating an overlayfs mount in which the lower directory is a FUSE volume (which I've implemented). This seems to mostly work, I can read files from the FUSE mount through the overlayfs mount, and they…
Joe Doliner
  • 2,058
  • 2
  • 15
  • 19
0
votes
0 answers

Can I get information from other filesystems from overlayfs?

Can you solve the problem of not knowing the inode information when modifying the path of upperdir in overlayfs? After changing the upperdir path: root@bcd0d4e391f8:~/myDir# ls -i ls: cannot access 'ssd.c': No such file or directory ls: cannot…
권세훈
  • 1
  • 1
1
2