[mythtv-users] Mythlink.pl & Recordings Directory
Michael T. Dean
mtdean at thirdcontact.com
Fri Nov 21 11:33:59 UTC 2014
On 11/20/2014 03:06 PM, Justin Alcorn wrote:
>
> On Thu, Nov 20, 2014 at 2:12 PM, jim <jim_32766 at hotmail.com
> <mailto:jim_32766 at hotmail.com>> wrote:
>
> I thought I was doing something smart but it sounds like I might
> not be using best practices. If I can use the recording group
> entries in the backend to point to /home/mythtv/recordings . . .
> and some future update/upgrade won't change it back to "factory
> default", thus breaking my setup . . . that would solve my
> problem nicely. I am fairly new to Linux and MythTV and really
> like both. I appreciate all the help from those of you with more
> knowledge/experience. Thanks.
>
>
> I believe that's what Storage Groups are for - to allow you to specify
> where to store recordings. Are you moving them because your /home is
> much larger than your /var ?
>
> Here are three options:
>
> #1 - Storage Groups, I think. I've never used them, so I'm not 100%
> sure if that is what they do.
Yes, Storage Groups are the way to go. Future upgrades will never
overwrite the
stored-in-the-MythTV-database-not-in-a-file-managed-by-your-packages
values you've specified for Storage Groups, so you don't have to worry
about changing the directory list associated with any of your Storage
Groups.
(That said, I also think you should store the recordings outside of the
/home directory structure, but if you really want it to be accessible
only by the mythtv user and to treat it as if it were user data, rather
than server/service data, you can do so.)
> #2 - Mount a different filesystem. A new drive, or a partition on
> another drive, format it (mkfs /dev/sdb1 or similar), move EVERYTHING
> under /var/lib/mythtv to it and then mount it by putting something
> like this in fstab:
> /dev/sdb1 /var/lib/mythtv ext4 defaults 1 1
>
> (lots of options here, xfs filesystem, Logical Volumes, etc. )
Or mount it elsewhere, like /var/lib/mythtv/extra and then specify a new
directory in your Default Storage Group of
/var/lib/mythtv/extra/recordings , and have multiple directories where
your recordings can be stored.
Mike
More information about the mythtv-users
mailing list