[CentOS] "Overlay" Filesystem Mounts?

Tue Nov 15 22:04:59 UTC 2011
m.roth at 5-cent.us <m.roth at 5-cent.us>

Scott Silva wrote:
> on 11/15/2011 9:22 AM Tim Nelson spake the following:
>> ----- Original Message -----
>>> Vreme: 11/15/2011 05:44 PM, Tim Nelson piše:
>>>>
>>>> However, it is possible to mount all of the shares to one location,
>>>> such that there is one 'data' dir, with the combined contents of
>>>> each of the three shares? So, all shares are mounted at /mnt/s1, and
>>>> the contents of the multiple data dirs appears in one single data
>>>> dir?
>>>>
>>>> The only time I've seen such functionality is within the XBMC media
>>>> center application. It allows you to mount multiple network shares,
>>>> but shows them all in one location as a sort of 'overlay' view.
>>>> Duplicate directories are shown have their contents merged, but
>>>> remain intact on the actual shares/filesystem.
>>>>
>>>> Does any of this make sense? Is it possible with CentOS (pref. 6) ?
>>>>
>>> If nothing else, you could create ans script that would create
>>> symlinks
>>> from all files in those directories into single one. I use that
>>> technique to create combined repository directory for mrepo.
>>>
>>
>> I'm already doing this. It "works", but is quite messy. I had hoped
>> there would be an actual filesystem merging function that would do this
>> automagically.
>>
> In Microsoft terms that sounds like Distributed file system. I think you
> can do that under samba...

I hadn't been following this thread - been busy - but have you looked into
glusterfs?

        mark