[mythtv-users] union file systems: unionfs vs aufs vs mhddfs vs etc

Raymond Wagner raymond at wagnerrp.com
Thu May 5 16:30:16 UTC 2011


On 5/5/2011 12:02, Steven Adeff wrote:
> On Thu, May 5, 2011 at 11:57 AM, Raymond Wagner<raymond at wagnerrp.com>  wrote:
>> On 5/5/2011 11:35, Steven Adeff wrote:
>>> My main need for one is for read only purposes, to union a few 2TB
>>> drives for MythVideo use since storage groups are not yet fully
>>> functional for this purpose and don't provide for the tree layout I
>>> wish to have.
>> The only thing lacking in storage groups currently is the support for
>> encrypted ISOs.  If multiple directories are defined in the storage
>> group, their trees are seamlessly merged together, and you should have
>> no indication that the content exists on separate volumes.  How exactly
>> is this blocking your preferred tree layout?
> When I initially tried to set MythVideo to use the storage group
> instead of pointing it to a specific directory, all the content was
> "mashed" together, so TV shows, movies, etc. that I like to have in
> separated "folders" within the MythVideo interface were all one and
> the same. Right now I have my directories with this content, which
> sits on a couple different drives bind'ed all within one directory for
> MythVideo to look at. I've recently filled these drives and purchased
> a few more but would rather not have TV1, TV2, Movies1, Movies2, in
> the tree structure.

Each root storage group directory must follow the structure you want the 
layout in MythTV to follow.  If you have multiple TV and Movie folders, 
you do not want to add each of them as their own storage group folder.  
You want to add one folder per filesystem.

/mnt/disk1
   |----- videos
      |------ TV
      |------ Movies
/mnt/disk2
   |----- more_videos
      |------ TV
      |------ Movies

In the above example, instead of adding each of /mnt/disk1/videos/TV, 
/mnt/disk2/more_videos/TV, etc... to the storage group, you would only 
add /mnt/disk1/videos and /mnt/disk2/more_videos.  The two root folders 
will be merged together, and at the root of MythVideo, you will see 
combined versions of TV and Movies.  Note that if you are in 'browse 
mode', this merging will not happen, and you will instead see videos and 
more_videos at the root view of MythVideo.


More information about the mythtv-users mailing list