Questions tagged [aufs]

AUFS is an advanced multi layered unification filesystem.

AUFS is a free Open SOurce project that allow the unification of tree directory under one level.
Source and documentation on the official Source Forge site

39 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
8
votes
1 answer

Aufs Whiteout removal

I'm using AUFS for merging 100+ branches for a project. At runtime, I frequently add or remove few branches. Now, If I have a branch named "firefox-21.0" and If I update/modify one of it's file then AUFS creats it's whiteout file (.wh). So far so…
SHW
  • 14,454
  • 14
  • 63
  • 101
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
6
votes
1 answer

Union mount options in Fedora

I've grown up a Debian/Ubuntu guy and I'm learning Fedora by trying to recreate the services my Ubuntu trusty box currently provides. However, I'm trying to recreate a union mount and don't see any obvious way to do it. Each user on my Ubuntu-based…
Rob D.
  • 61
  • 3
5
votes
1 answer

How does AUFS store deleted files?

When I change a file in an AUFS-mount, that change gets stored somehow in the rw-layer. It is clear how new/changed files are stored in the rw-layer, but how get deleted files remembered there?
Udo G
  • 1,123
  • 3
  • 12
  • 27
3
votes
0 answers

Why does cache work better in overlay2 than aufs?

A follow-up from this question. After reading Docker Storage drivers from official doc I understood that overlay was faster than aufs because it had only one hard linked image layer. But for overlay2, document says overlay2 supports multiple layers…
rokrokss
  • 31
  • 1
3
votes
1 answer

Is this a good idea for backups using rsync, squashfs, and aufs?

I currently do my backups using rsync, and hardlinks. I create a new full one every year, and then incrementals every day. I like the way I can browse it in an ordinary file manager, and that access is quite fast. I do not like the amount of time…
user276075
  • 31
  • 2
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
3
votes
0 answers

apt-get upgrade with /usr/bin on aufs fails to create backup link

I'm trying to update a frugal persistent (root and home) install of antiX-15 x64 from stable to testing. I changed the source lists and ran apt-get update. apt-get upgrade then fails with the following error: Unpacking perl (5.20.2-6) over…
Jannis
  • 31
  • 1
3
votes
0 answers

How to start aufs for two local directories

I'm trying to create a sandbox for testing an untrusted software. I'm using Debian, I have installed aufs-tools. When I try to mount a minimal example with the following command: mount -t aufs -o dirs=./write=rw:/=ro none ./mount I'm…
vbence
  • 395
  • 1
  • 4
  • 16
2
votes
0 answers

Use SSDs as persistent buffer for HDDs to decrease power usage

similar questions have been asked multiple times ... How to use an SSD for caching, so my hard disks can spin down? Caching write changes on SSD to avoid HDD spin-up? ZFS, but (probably) not…
Max Beikirch
  • 123
  • 6
2
votes
2 answers

How to install grub to empty disk from ubuntu liveCD

Disclaimer: I'm a newb and I need step by step guide. Thanks! I want to first install grub without OS, since it will boot from ISO file off the local network storage. I'm booted into a liveCD (I can't install it since I need a volatile system) I'm…
newbie
  • 23
  • 2
2
votes
1 answer

init boot mount: mounting /root on /root.ro failed: Invalid argument, aufs

I am trying to set up a read-only filesystem at /root directory on my embedded device. I have following in code in my boot init command file /sbin/init-overlay: rootmnt=/root ro_mount_point="${rootmnt%/}.ro" rw_mount_point="${rootmnt%/}.rw" # For…
2
votes
0 answers

how to let aufs use more than 127 layers? or an alternative to it

I came to the conclusion that aufs is limited to 127 layers based on tests. (prepare) mkdir write joined {1..400} for((i=1;i<=400;i++));do echo >$i/$i.txt;done #for checks using a single mount, the limit is 84 layers (numbereds + the write…
Aquarius Power
  • 4,099
  • 5
  • 38
  • 56
2
votes
0 answers

How do I access the rw "branch" (as in "aufs branch") of an overlay mount?

According to /etc/mtab, my live CD system uses an overlay mount [/cow / overlay]. I can easily browse the /rofs mount [/dev/loop1 /rofs squashfs]. How do I get a /rwfs mount? That is, how do I access the rw component of the overlay mount? Or what is…
glarry
  • 904
  • 1
  • 7
  • 15
1
2 3