Questions tagged [overlayfs]

OverlayFS is a union mount filesystem that presents an overlay a read/write partition (typically tmpfs) over a read-only partition. An implementation has been available in the Linux kernel since 2014.

Filter by
Sorted by
Tagged with
0 votes
1 answer
138 views

Accessing group-only folder on Overlayfs2 on NFSv4 with root_squash enabled?

Background For a NFSv4 export/share the by default enabled root_squash option will force NFS to change the client’s root to an anonymous ID. This will, in effect, increase security by preventing ...
Rovanion's user avatar
  • 639
1 vote
0 answers
51 views

Does OverlayFS support Quotas?

I tried mounting an overlayfs upper directory with quotas enabled (Linux system). The quota tools, however, keep telling me that quotas are not enabled on that filesystem. This makes me wonder if ...
Holger's user avatar
  • 19
0 votes
0 answers
111 views

Protecting a Linux against root users

I'm searching for a way to "protect" a Linux operating system against (root) users that can potentially misbehave. My threat model is the one of university students, having access to root ...
user19917937's user avatar
2 votes
2 answers
878 views

Install software on Ubuntu using apt without root?

I’ve got accounts on many HPC clusters. The machines have a minimal install, and the admins won’t add much else. I need to install lots of typical software. Normally I’d do this with apt, but of ...
projectshave's user avatar
0 votes
0 answers
115 views

How to sync two overlay network shares?

There is a ceph mount on two nodes. The content should be available to applications running on one of the two nodes but they should not make changes to the content. Instead I want those applications ...
Hoffmann's user avatar
  • 121
1 vote
1 answer
1k views

Mount is unable to allocate memory

Invoking the following crashes immediately with mount claiming its unable to allocate memory: sudo mount -t overlay overlay -o lowerdir=/home/foo,upperdir=/mnt/home /home/foo For context, /mnt/home ...
fuzzybear3965's user avatar
0 votes
1 answer
90 views

Filesystem to protect the storage medium

I'm working on an embedded system which will act as a server, the problem is the environment where it will run is so aggressive and it will suffer abrupt power interruptions. So I'm planning to mount ...
jfernandz's user avatar
3 votes
0 answers
588 views

How to properly backup / restore an overlayfs

I am currently working with a small Ubuntu-Server running on a raspberry pi to provide some services in my network. To extend the lifetime of my SD-card, I am trying to use an overlay-fs (see here for ...
Martin's user avatar
  • 2,384
1 vote
0 answers
895 views

OverlayFS failing with "Stale NFS file handle" error

I have a RootFS that's a read-only SquashFS overlayed with writable storage (ext4, if it matters). This is generally working but, after a while, one file became unaccessible: # cat /etc/init.d/update ...
ZioByte's user avatar
  • 296
0 votes
1 answer
507 views

Which docker storage driver for new server with NVMe drives?

I am building new server for GitLab CI jobs. Currently we already have one home-made. It's using classic HDDs + SSDs for caching so I chose ZFS storage driver which is not performing optimally. New ...
user3063800's user avatar
0 votes
1 answer
2k views

How to remove whiteouts from overlayfs uppper layer?

I have an OpenWrt-based system on an embedded device. Rootfs is mounted as overlayfs # mount mtd:ubi_rootfs on /rom type squashfs (ro,relatime) overlayfs:/overlay on / type overlay (rw,noatime,...
kyb's user avatar
  • 125
1 vote
0 answers
4k views

Docker overlay2 file system corruption

I have a small home server where I host a few services I like. Recently the server enters a read only state on the main LVM volume, this is the volume where Ubuntu is installed. I have very little ...
LizardMaster's user avatar
1 vote
1 answer
576 views

Netboot from common nfs share. How to incorporate small differences (e.g. in /etc)?

I have a set of (Ubuntu 16.04) servers, which are diskless and boot from a common nfs share. The share is read only and I use a tmpfs overlay. To achieve that I set the /etc/overlayroot.local.conf ...
mbeyss's user avatar
  • 111
1 vote
2 answers
2k views

debian : mount /var as overlayfs at boot

I'm trying to mount /var with an overlayfs (with a tmpfs) at boot but don't manage to make it works. Here is what I've done : # creating tmpfs mkdir /var.tmpfs mount -t tmpfs -o rw,nosuid,nodev,...
BDR's user avatar
  • 111
2 votes
1 answer
6k views

NFS export an overlay of ext4 and btrfs

I have 2 data sources. One is btrfs (raid) and one is a simple ext4 partition. Those should be transparently displayed as one. This is a simple read only example, but the lower/upper/workdir version ...
wuppi's user avatar
  • 123
1 vote
2 answers
4k views

Docker service not able to start anymore because of modprobe error

I just ran in some issues with my server running docker that I cannot fix myself. Im using Docker version 18.09.0, build 4d60db4 with Ubuntu 16.04.5 LTS. During the day I noticed, that my docker ...
Dominik Spiertz's user avatar
0 votes
3 answers
2k views

Union multiple mounts to a single point, but keep them all read write

I've got over 1,000 directories, spread out over 6 servers. Technically they are home folders. It's guaranteed that there will never be any duplicate folder names. What I'd like to do is to mount ...
Nick's user avatar
  • 287
3 votes
0 answers
575 views

Alpine Linux - root mounted as ro iso9660 filesystem how can I remount as rw overlay? [closed]

The root filesystem is an iso9660 mount. / # mount |grep iso /dev/sr0 on / type iso9660 (ro,relatime) Is there a way to remount root, using aufs in order that I can install packages, compile code, ...
Bryan Hunt's user avatar
1 vote
0 answers
948 views

Is it possible to disable the overlayfs directory cache

I have a process that's continuously writing files into a directory structure that looks like: 152527 ├── 1525270000000 │   ├── 01be6dc0b6e3e087.json │   ├── 067e2490bb7ee05c.json │   ├── ...
squidpickles's user avatar