Hey guys, just wanted to relay some experiences and notes I've learned about Aufs whilst troubleshooting my system here.
Currently my home setup consists of 11 drives (with space for 13) of varying degrees of space and reliability. I set up SnapRaid and a few media sharing systems and decided on Aufs as my drive pooling solution.
All was well and good, but I noticed after a while that some folders I dumped into drone factory were failing, or a comics folder dumped into a general share wasn't accessible. I deleted the folder, but alas it was still there somehow! That, coupled with weird permissions problems prompted me to dig deeper. I enlisted the help of a friend, together we granted a user account ownership of a test file and chmodded it to 777, got onto Putty and then flicked over to it. We could see the file, we could write another file in the same directory but alas renames or anything just weren't working.
It turns out Aufs just says that it's changed the permissions, on the drives themselves the permissions remain the same. At least in my case, I've also noticed that deletes are a bit hit and miss and moves were a bit... more miss than hit really. Of course this makes it a pain in the metaphorical when I'm using a combination of SAB, Couch and Sonarr to throw files around my drives like poo in the monkey pit. I also want to make it clear that this doesn't mean Aufs is broken. The logic behind making Aufs respect underlying file permissions is simply so that data you don't want shared out with the wrong users isn't inadvertently exposed when a drive is pooled. It just means that in my context it's not super useful, especially since I'm a noob and still trying to work out the best sets of permissions/see how things interact.
I mostly deduced all this from spending far too much quality time with WinSCP, and also looking up articles like this one: http://zackreed.me/articles/84…with-mhddfs?view=comments
The one thing I'll miss is Aufs' speed which I've seen saturate gigabit connections. I hear Mhddfs is slower but only time will tell before I can know for sure.
Summing it all up:
- Changing permissions on a pooled share with Aufs doesn't seem to change the actual permissions on the disk the file is actually stored.
- My deletes didn't always delete
- My moves very often didn't move
- Speed was godly
If I weren't still trying to learn how to Linux and my data was a bit less mobile I would definitely keep using Aufs, but for now I'm going to try the other option Ryecoaaron kindly added.