[mythtv-users] Help with Storage Directories

Michael T. Dean mtdean at thirdcontact.com
Fri Mar 20 03:00:19 UTC 2009


On 03/19/2009 10:14 PM, Johnny wrote:
> On Thu, Mar 19, 2009 at 6:40 PM, Moasat <mythtv at moasat.dyndns.org> wrote:
>   
>> Can anyone help me with some Storage Directories configuration?
>>
>> My set up is this:
>>
>> 1 Master backend (mbe) with 2 local drives set up as /mnt/video1 and
>> /mnt/video2 and 3 capture cards.
>>
>> 1 Slave backend (sbe) with no local drives but mbe:/mnt/video1 mounted as
>> /mnt/video1 and mbe:/mnt/video2 mounted as /mnt/video2 and 1 capture card.
>>
>> I've set up the /mnt/video[12] on mbe as storage directories.
>>
>> I've also set up (the NFS mounted) /mnt/video[12] on sbe.
>>
>> I think my question is: Do I need to set up the NFS mounted dirs on sbe?  It
>> seems that when mbe goes looking for a direrctory to write to, it is
>> considering 4 locations rather than 2, but they both point to the same 2
>> drives.
>>
>> If I don't set up any storage dirs on sbe, what will the 1 capture card on
>> sbe write to?
>>
>> Any clarification would help.
>>     
>
> Hopefully others can answer with more clarity. I was confused also
> when I recently did almost the exact same setup. I got the point you
> are at, and I didn't add any directories to the storage group on the
> slave backend. Reading other posts in the archives seemed to indicate
> this was not necessary if you have them setup in the MBE and then
> mounted to the same locations on the SBE.

Correct (assuming--currently, due to a little "bug"--that you're just 
using the Default storage group).

You define the directory list associated with a storage group on the 
master backend, and you should not override that definition on remote 
backends unless it differs substantially from the master backend's 
definition.  IMHO, you should only do an override if you /need/ to 
remove directories from consideration (i.e. they exist on the remote 
backend, but should /not/ be used for recordings--if they don't exist, 
they're not a problem, so an override is not warranted.)

The full story (far more details than you likely want) is at: 
http://www.gossamer-threads.com/lists/mythtv/users/370317#370317 and the 
following replies in the thread.

>  However, I couldn't get
> recordings or live tv to work in the exact arrangement you have. I
> added the directories to the default storage group on the SBE and then
> everything worked fine. I don't know if that is the correct/supported
> way, but I couldn't get my SBE to record to the NFS mounted drives on
> my MBE until I added them to the storage group on the SBE.

Likely there was a definition for the Default storage group on the 
remote backend (i.e. an override of the master backend's definition), so 
it didn't work until you added the directories to the remote backend's 
override.

Mike


More information about the mythtv-users mailing list