[mythtv-users] Hardware Setup Advice

Steven Adeff adeffs.mythtv at gmail.com
Wed May 23 18:38:53 UTC 2012


On Wed, May 23, 2012 at 2:35 PM, Michael T. Dean
<mtdean at thirdcontact.com> wrote:
> On 05/23/2012 02:28 PM, Steven Adeff wrote:
>>
>> On Wed, May 23, 2012 at 2:25 PM, Michael T. Dean
>> <mtdean at thirdcontact.com>  wrote:
>>>
>>> On 05/23/2012 02:06 PM, Steven Adeff wrote:
>>>
>>>> On Wed, May 23, 2012 at 1:31 PM, Mark Boyum wrote:
>>>>>>
>>>>>> Mike wrote a really nice way to deal with storage groups and having an
>>>>>> Archive storage group that Mythtv didn't write to.
>>>>>>
>>>>>> http://www.gossamer-threads.com/lists/mythtv/users/516083#516083
>>>>>
>>>>> I can vouch for that method working well as I had to use it recently.
>>>>> It allows you to record to one directory and then move the recordings
>>>>> at your convenience to slower storage, a NFS mount in my case.  This
>>>>> was done manually in my case but could probably be scripted pretty
>>>>> easily.
>>>>
>>>> do you have to change file permissions with this method? I assumed so,
>>>> but it is sounding like that assumption may have been misguided?
>>>
>>>
>>> Changing permissions will allow you to make the archived recordings
>>> undeletable from within MythTV--but it's better to do that through
>>> changing
>>> permissions of the recording files rather than the directory (as nothing
>>> in
>>> MythTV allows you to override per-file permissions, even if the directory
>>> allows it).  Other than making a recording undeletable, changing
>>> permissions
>>> has no benefits as long as you ensure none of your recording rules are
>>> set
>>> to use the Archive Storage Group (meaning that MythTV will never attempt
>>> to
>>> write recordings to it).  By not preventing MythTV from writing to the
>>> Archive Storage Group directories, you will allow it to write other
>>> files,
>>> such as preview pixmaps, that you probably do want.  (You would also be
>>> able
>>> to transcode recordings (though transcoding will ultimately fail since
>>> MythTV will be unable to delete the original file, but future versions of
>>> MythTV will eventually be able to "successfully" do transcoding, even
>>> when
>>> they can't remove the original recording file).)
>>>
>>> Mike
>>
>> So by the recording rule not writing to the Archive group, it prevents
>> MythTV from attempting to delete a recording from that rule that is
>> now in the Archive group? I guess that is where my confusion in this
>> lay, and I'd hate to see one of those recordings deleted.
>
>
> No, recording rule specifies where MythTV writes the recording, so not using
> Archive Storage Group in rules just means MythTV won't record to there.
>
> Changing permissions of the individual recording files when you move them to
> the Archive Storage Group can prevent MythTV from deleting them (the same as
> changing the permissions of the Archive Storage Group directories would
> allow, but by allowing write permissions on the directory, you're not
> preventing MythTV from creating preview pixmaps for the archived
> recordings).
>
>
> Mike

Ah, gotcha! thanks for clearing that up!


-- 
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette


More information about the mythtv-users mailing list