Re: Stability of unionfs - general recommendation?

看板FB_questions作者時間11年前 (2014/06/09 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/6 (看更多)
On 06/06/2014 03:35 AM, Matthias Petermann wrote: > Hello, > > I'm planning a new server for the purpose of hosting multiple Jails. > Each jail will get a dedicated UFS2 filesystem sourced from gvinum volumes. > To make maintenance of the Jail base installation more efficient I consider > to mount the dedicated filesystem(s) as an overlay above the base > installation. > > Here is where unionfs comes into play as it provides these capabilities. > > My internet research yielded some questionable results on the stability of > unionfs. I understood there was an "old" implementation and a "newer" one > introduced in FreeBSD 6.3[1]. > > Anyway - I'm curious if someone has a similiar setup running and can > provide > me some advice when to use unionfs and when not. > > > Thanks in advance & kind regards, > Matthias > > > [1] http://people.freebsd.org/~daichi/unionfs/ I use it extensively in jailed hosting on 9.x and 10.x, but only for certain directories. It works perfectly fine for my use case. To elaborate, I have a single prepared base tree null-mounted read-only as root for each jail; upon this, things like /var, /home, and /usr/local are null-mounted read-write from jail-specific directories, as these are fully under control of the jail. I also have /etc mounted from a jail-specific directory, as a union over the base /etc, because the vast majority of the files in /etc will never be changed except upon an upgrade, and everything else is changed solely by root. To my knowledge, unionfs only seems to cause problems when permissions come into play, or when you do things like running autotools on it, as it does break certain critical expectations. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <CyberLeo@CyberLeo.Net> Furry Peace! - http://www.fur.com/peace/ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1JbAmYjl (FB_questions)
討論串 (同標題文章)
文章代碼(AID): #1JbAmYjl (FB_questions)