[mythtv-users] Storage group question

Paul Stillwell bigboi at wackywombats.com
Tue Jan 15 04:12:40 UTC 2013


On Jan 14, 2013, at 8:39 AM, Joseph Fry wrote:

> 
> Thanks for the clearification Mike... I suspected that it did store the
> storage group in the metadata... but then I recalled that mythtv will let
> you move a recording from one storage group to another (at least at the
> file system level).  Does it preserve the storage group even if the current
> folder containing the recording isn't part of that storage group?
> 
> Yes, so if you move it from a directory in Default to a directory that's only in, say, Archive, it will still show as being "in" the Default Storage Group--though it's finding it in another directory.
> 
> Similarly, if your Default Storage Group contains the directory /srv/mythtv/tv/c/recordings, today, and MythTV records a new recording to that directory, and tomorrow you edit the directory list for Default to no longer contain the /srv/mythtv/tv/c/recordings directory, the recordings is still "in" the Default Storage Group, even though it's in a directory that's no longer in that Storage Group.
> 
> Storage Groups are simply used a) as a way to command MythTV where to write a recording and b) as a hint about where to find a recording once it's recorded--to order our directory search for the recording file.  But, since changing the hint doesn't have any appreciable performance benefit, there's no reason to update it when you move the recording file.  In the future, though, we'll have a better (specific-to-the-directory-level) hint for where to find the recording file, and that will be updated (automatically) when the recording moves.  At that point, the Storage Group will really only mean anything to the recording rule, and not the recording itself.
> 
> So, really, Storage Group has little meaning once a recording is recorded, which is why the vast majority of users probably only ever need a Default Storage Group (for writing TV recordings) and, possibly, an Archive Storage Group (for storing recordings on a "safe" file system that won't ever experience auto-expiration)--in addition, of course, to the "special" Storage Groups used by, for example, Video Library or DB Backups or whatever.
> 
> Thanks again!  You would think that after over 10 years of using Myth I would know all of this stuff... but I rarely experiment with my mythtv setup once I have it working the way I like.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users

Thanks for all the great info! I think I'll explore the "archiving" method that Mike mentioned.

Paul

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130114/8b383b16/attachment.html>


More information about the mythtv-users mailing list