Questions tagged [unionfs]

22 questions
30
votes
1 answer

Unionfs vs Aufs vs Overlayfs vs mhddfs, which one do I use

I have randomly been reading about union file system which enables a user to mount multiple filesystems on top of one another simultaneously. However, am finding trouble deciding on which one to use(Unionfs vs Aufs vs Overlayfs vs mhddfs) and why…
David Okwii
  • 435
  • 1
  • 4
  • 7
11
votes
1 answer

Has anybody heard of (a trick to make) a local hard drive based cache of NFS? (primarily in FreeBSD)

Problem: NFS can be slow, when starting binaries (e.g. /usr/bin) over NFS, such as in a network booted system. RAM buffer cache might not be sufficient to avoid slowness. Idea: it seems we should be able to have a local disk cache which would save…
Gunther Schadow
  • 399
  • 2
  • 10
8
votes
1 answer

Stackable file system that works like a cache

I am looking for a stackable file system (Like UnionFS, aufs, and OverlayFS) that works similar to bcache or lvmcache but on file level - not on block level: Reads will be done from top-layer. If the file is not there, read the file from…
Ole Tange
  • 33,591
  • 31
  • 102
  • 198
7
votes
1 answer

/etc/fstab - fuse-compatible alternative to nofail

I want to join several external usb-disks with mergerfs to one large data-storage. Because the disks might not be available at all times I added the nofail-option, to prevent errors during boot. This leads to the curious situation that everything…
Gedi Nixan
  • 71
  • 2
7
votes
1 answer

chroot with unionfs-fuse, can't access /dev/*

I have created the a chroot jail in combination with unionfs-fuse so that I don't need to install another system inside it. However, the resulting system's /dev entries are not readable.This is causing problems with programs needing access to…
user48923
3
votes
1 answer

Ubuntu 16.04 with read-only filesystem and writable layer

(This is a cross post from askubuntu, as I think here are more people to know how to get this working) I want to set up Ubuntu 16.04 like a live CD. This worked great in Ubuntu 12.04 but with 16.04 there are problems. Services are crashing, CRON…
Michael
  • 1,583
  • 3
  • 13
  • 19
3
votes
1 answer

overlay-filesystem that can differentiate between metadata and file content?

AFAIK with aufs when a file is touched (ie. only it's metadata changed, not it's contents), then the copy-on-write mechanism of the file system will copy the whole file into the r/w layer, essentially duplicating the file. Say, I only want to change…
Udo G
  • 1,123
  • 3
  • 12
  • 27
2
votes
0 answers

Using unionfs or similar as root file system in Linux?

After building Linux From Scratch several times I realized that package management is really a hard thing to do. After thinking for some time, I came across an idea. My idea is to install all packages into separate directories, then combine them…
2
votes
0 answers

chroot of entire filesystem, except for one file

I want to create a chroot for a command that I'll run, and I want the chroot to be completely identical to the "real" filesystem, except for one altered file. (Let's just assume that this is indeed the right way to approach my problem - I'm…
jwd
  • 1,282
  • 8
  • 12
2
votes
0 answers

unionfs for cifs mounts

I want to merge some cifs mounts together. There are /extDrives/cifs_001 /extDrives/cifs_002 /extDrives/cifs_003 /extDrives/cifs_common cifs_common should show all content of cifs_00* Writes to cifs_common should be placed on one of the 00* with…
Rüdiger Gubler
  • 141
  • 1
  • 9
2
votes
0 answers

Is there a "supported" way in RHEL/CentOS 7 to union-mount a directory tree on top of an NFS mount point?

I have an NFS share containing almost 500 chrooted (s)ftp user's home directories. This NFS share is mounted on several FTP servers forming a highly available FTP cluster. I would like to enable syslog logging on all the cluster nodes at the same…
MattBianco
  • 3,676
  • 6
  • 27
  • 43
1
vote
1 answer

Which (if any) union filesystems allow you to mount them without an underlying filesystem?

I am considering using a union filesystem, such as aufs, UnionFS or OverlayFS. I have a 138GB of Android source, to which I want to make minor changes and keep them under version control. My plan is to mount a unionfs on top of the (now read-only)…
fadedbee
  • 797
  • 1
  • 5
  • 23
1
vote
1 answer

Mount fuse.mergerfs in udev script

I use a udev rule to recognize when a specific USB stick is plugged. When it's plugged in, a bash script is started which mounts some devices. That works very well after I did some changes to the systemd-udev service as described here. However, one…
Biggie
  • 243
  • 2
  • 9
1
vote
2 answers

Can aufs be used as fuse filesystem like unionfs-fuse?

I'm experimenting with different union/overlay filesystem types. I've found unionfs-fuse package in Ubuntu which allowed me to use unionfs mount command as non-root user. But it seems aufs, which is created to provided similar options as unionfs,…
Anwar
  • 123
  • 1
  • 15
1
vote
2 answers

How safe is it to use unionfs in FreeBSD?

From man mount_unionfs: BUGS: THIS FILE SYSTEM TYPE IS NOT YET FULLY SUPPORTED (READ: IT DOESN'T WORK) AND USING IT MAY, IN FACT, DESTROY DATA ON YOUR SYSTEM. USE AT YOUR OWN RISK. BEWARE OF DOG. SLIPPERY WHEN WET. BATTERIES NOT INCLUDED. This code…
Stilez
  • 1,221
  • 14
  • 28
1
2