[mythtv-users] Mythlink.pl & Recordings Directory
Justin Alcorn
justin at jalcorn.net
Thu Nov 20 20:06:07 UTC 2014
On Thu, Nov 20, 2014 at 2:12 PM, jim <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.
#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. )
#3 - if you're really stuck, us a bind mount. This allows you to mount a
directory from one place so it looks like it's another place. make sure
/var/lib/mythtv/recordings is empty, and in /etc/fstab:
/home/mythtv/recordings /var/lib/mythtv/recordings none defaults,
bind 1 1
--
Justin B. Alcorn
PGP Fingerprint A36D D691 C5B0 BE15 5A2A AF49 AA1C 372C
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20141120/660887d2/attachment.html>
More information about the mythtv-users
mailing list