[mythtv-users] Bind mount to keep mythtv files in one place?

Richard Shaw hobbes1069 at gmail.com
Fri Nov 30 13:30:26 UTC 2018


On Fri, Nov 30, 2018 at 2:12 AM Stephen Worthington <
stephen_agent at jsw.gen.nz> wrote:

> On Fri, 30 Nov 2018 08:07:45 +0530, you wrote:
>
> >On Fri, 30 Nov 2018 07:28 Richard Shaw <hobbes1069 at gmail.com wrote:
> >
> >> Anyone see other options?
> >>
> >
> >Or create symbolic links in /var on the new SSD pointing to the correct
> >directories on the old HD mounted under /mnt, e.g.:
> >
> >cd /var
> >sudo ln - s /mnt/oldhd/pictures .
> >sudo ln - s /mnt/oldhd/mythvideos .
> >sudo ln - s /mnt/oldhd/mythmusic .
> >
> >Cheers, Ian
>
> Actually, there is no need to do anything so complicated.  All those
> directories can simply be changed in the MythTV settings.  And those
> settings are now out of date, as all of them can also be set up as
> storage groups now.  So you should probably just go into mythtv-setup
> > Storage Groups and add the groups you need.  Note that storage
> groups are referenced from the backend - the data is sent to
> mythfrontend from mythbackend, and mythbackend accesses the
> directories.  The old settings are used by mythfrontend to directly
> access the directories, so if you are running separate frontends, you
> need to have network paths to access the data if it is actually stored
> on the backend box.
>

Well, my question is more about the file system hierarchy than mythtv
settings. I am using Storage Groups but I'd like to stay within the
defaults of the RPM Fusion package (which I help maintain) if possible.

It could be that it's wildly out of date but it's also very difficult to
migrate major changes automagically for users so thing tend to stay the way
they're established.

I may need to do a "fresh" install in a VM so I can see how things default.
My combined FE/BE installation is >10 years old at this point.

The problem is there is not a single "root" folder for mythtv the way it's
currently packaged. It could have been:

/var/lib/mythtv/{pictures,mythmusic,mythvideos,recordings}

Which would have given me a single directory to tie things in but instead
it's:

/var/lib/{pictures,mythmusic,mythvideos,recordings}

Plus a bunch of other stuff in /var/lib...

So it looks like the simplest solution if I don't want to move things
around is my original idea.

Thanks,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20181130/2da6797a/attachment.html>


More information about the mythtv-users mailing list