[mythtv-users] additional drive

Daryl McDonald darylangela at gmail.com
Fri Sep 12 23:24:06 UTC 2014


On Fri, Sep 12, 2014 at 6:03 PM, Hika van den Hoven <hikavdh at gmail.com>
wrote:

> Hoi Daryl,
>
> Friday, September 12, 2014, 11:22:50 PM, you wrote:
>
>
>
>
>
> > On Fri, Sep 12, 2014 at 5:05 PM, Hika van den Hoven <hikavdh at gmail.com>
> wrote:
>
> > Hoi Hika,
> >
>
> >  Friday, September 12, 2014, 10:59:15 PM, you wrote:
> >
>  >> Hoi Daryl,
> >
>  >> Friday, September 12, 2014, 10:53:01 PM, you wrote:
> >
>  >>> On Fri, Sep 12, 2014 at 3:48 PM, Daryl McDonald <
> darylangela at gmail.com> wrote:
> >
>  >>> I still need a little more clarification. Currently recordings etal
>  >>> go to /media/storage/mythtv due to a link my son installed last
>  >>> year: lrwxrwxrwx 1 root root 21 Aug 26 10:41 /var/lib/mythtv ->
>  >>> /media/storage/mythtv, is it more standard to move the
>  >>> /var/lib/mythtv directory to the drive /media/storage? If that is
>  >>> the case, then how would I move the same directory to two drives?
>  >>> When I try to add another path to storage directories I'm told that
>  >>> the directory can't be written to(or some such) and do I want to go
>  >>> back and fix this? So I delete the recent change. I've tried
>  >>> "/media/storage2/mythtv" and "/media/storage2/mythtv/recordings"
>  >>> same result, they look writeable to me:
> >
>  >>> daryl at daryl-A780L3C:~$ ls -l /media/storage2
>  >>> total 20
>  >>> drwx------ 2 root   root 16384 Aug 27 12:54 lost+found
>  >>> drwxrwxr-x 3 mythtv root  4096 Sep 11 08:33 mythtv
> >
>  >>> daryl at daryl-A780L3C:~$ ls -l /media/storage2/mythtv
>  >>> total 4
>  >>> drwxrwxr-x 2 mythtv root 4096 Sep 11 08:33 recordings
> >
>  >>> What can I do to get to a standard setup using the two 1Tb drives for
> recordings etal?
>  >>> Also with Precise, recordings went into a recordings directory in
>  >>> the mythtv dir. now in Trusty they go into the mythtv dir along side
>  >>> the recordings, videos, fan art, etcetera dir's, is that because of
>  >>> the follwoing ownership?: drwxrwxr-x 15 ntp  mythtv  4096 Sep 11
> 07:31 mythtv
> >
>  >>> Nevermind, I chown'd .mythtv /media/storage2/mythtv/recordings ,
>  >>> added it to SD's and all is well. Thanks again to all contributors!
> Daryl
> >
>  >> This last could mean there is a mix-up somewhere between the ntp user
>  >> and the mythtv user This because it doesn't get rights through the
>  >> user but it gets through the group. This is difficult to fix.
> >
> >
>
> > Can you give a listing of a recording made with this installation?
> >
>
> >  Tot mails,
> >    Hika                            mailto:hikavdh at gmail.com
> >
> >  "Zonder hoop kun je niet leven
> >  Zonder leven is er geen hoop
> >  Het eeuwige dilemma
> >  Zeker als je hoop moet vernietigen om te kunnen overleven!"
> >
> >  De lerende Mens
> >
> >  _______________________________________________
> >  mythtv-users mailing list
> >  mythtv-users at mythtv.org
> >  http://www.mythtv.org/mailman/listinfo/mythtv-users
> >  http://wiki.mythtv.org/Mailing_List_etiquette
> >  MythTV Forums: https://forum.mythtv.org
> >
>
> > Hoi HIka
>
> > -rw-rw-rw- 1 mythtv mythtv       92556 Sep 10 15:56
> 1041_20140909233000.mpg.png
> > -rw-r--r-- 1 mythtv mythtv  3070268984 Sep 10 20:00
> 1041_20140910233000.mpg
> > -rw-rw-rw- 1 mythtv mythtv       96924 Sep 11 19:11
> 1041_20140910233000.mpg.png
> > -rw-r--r-- 1 mythtv mythtv  6248783856 Sep 10 23:14
> 1041_20140911021600.mpg
> > -rw-rw-rw- 1 mythtv mythtv       88513 Sep 11 22:07
> 1041_20140911021600.mpg.png
> > -rw-r--r-- 1 mythtv mythtv  3165651536 Sep 11 20:00
> 1041_20140911233000.mpg
> > -rw-rw-rw- 1 mythtv mythtv       83296 Sep 11 20:00
> 1041_20140911233000.mpg.png
>
> That looks as it should. Why I ask, is that when you added the
> recordings directory with the rights "drwxrwxr-x 2 mythtv root" to the
> storage group it said it was inaccessible while it should have through
> the user rights. When you changed the group from root to mythtv it got
> access obviously through the group rights.
> If the same goes for the recordings above it means it will be able to
> play them (for the group has read rights) but it will not be able to
> delete or edit them (for only the user has write rights, the write
> rights to create them came through the directory for there the group
> has now write rights!).
> So keep an eye on that. If after all deleting goes ok, I don't
> understand what happend. If you get problems there, we have to look
> into the user. Possibly two users have the same uid or even something
> I can not yet think of.
>
>
> Tot mails,
>   Hika                            mailto:hikavdh at gmail.com
>
> "Zonder hoop kun je niet leven
> Zonder leven is er geen hoop
> Het eeuwige dilemma
> Zeker als je hoop moet vernietigen om te kunnen overleven!"
>
> De lerende Mens
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>

I will definitely keep an eye on them. With my new understanding of SD's
I'm thinking of removing the link my son made and correcting the path to
the Tb drive with all the recordings on it, that shouldn't affect the files
on the drive, as long as the new dir's are chown'd and chmod'd properly,
right? I'm also thinking of making use of other partitions on the 250 Gb
drive for metadata and the like again keeping permissions in line should be
all right? I've got a 50 GB and a 100 Gb partition, maybe videos on the 100
and the balance of the /var/lib/mythtv dir on the 50. thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140912/ca943884/attachment.html>


More information about the mythtv-users mailing list