[mythtv-users] Storage Group relocation - default/recordings not working

Michael T. Dean mtdean at thirdcontact.com
Tue Oct 31 15:49:32 UTC 2017


On 10/31/2017 11:23 AM, plainface boy wrote:
> I've added a new 3TB drive to my Mythtv 0.28 Ubuntu 14.04 box.The new 
> drive mounts at start up to /media/[myname]/Storage
> I've created a folder within this called myth, and within that all the 
> separate directories for my storage groups, to mimic what I've got on 
> my main drive.
> I've added the new folders to my storage groups in set up eg in videos 
> I had;
> /home/mythtv/videos
> and added;
> /media/[myname]/Storage/myth/videos
> All fine so far, and I was able to delete the files from the 
> /home/mythtv/videos folder, and remove this from the storage group, 
> and videos play ok.
> However the same procedure does not work for the default folder, where 
> I keep all my recordings.
> home/mythtv/recordings
> Even though I've added /media/[myname]/Storage/myth/recordings to the 
> storage group, whatever I do, as soon as I remove either a file or 
> directory from the original  storage group, mythtv cannot find the 
> file.Is there something different about the default folder?

No.

> I used the 'disk' app to mount the drive at start up, rather than 
> editing fstab.....assume that is ok, as videos work fine?
>
> I've looked at the wiki, and read lots of others' questions here etc, 
> and I can't see what I'm doing wrong, but I'm guessing I must be going 
> wrong somewhere!
> Can anyone help?

The problem is probably permissions.  Most likely your mythbackend 
process runs as some other user, like mythtv, and your mythfrontend 
process is running as the user logged in to the console (you).  If the 
/media/[yourname] folder is only accessible to you, the backend (which 
reads recordings) can't find the files whereas the frontend (which reads 
videos) can.

Mike


More information about the mythtv-users mailing list