<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 11, 2014 at 8:25 AM, Daryl McDonald <span dir="ltr">&lt;<a href="mailto:darylangela@gmail.com" target="_blank">darylangela@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Sep 11, 2014 at 7:56 AM, Hika van den Hoven <span dir="ltr">&lt;<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hoi Daryl,<br>
<div><div><br>
Thursday, September 11, 2014, 5:58:34 AM, you wrote:<br>
<br>
<br>
<br>
<br>
<br>
&gt; On Wed, Sep 10, 2014 at 8:42 PM, Hika van den Hoven &lt;<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hoi Daryl,<br>
&gt;<br>
<br>
&gt;  Thursday, September 11, 2014, 1:43:26 AM, you wrote:<br>
&gt;<br>
&gt;<br>
 &gt;&gt; On Sep 10, 2014 6:55 PM, &quot;Hika van den Hoven&quot; &lt;<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a>&gt; wrote:<br>
 &gt;&gt;&gt;<br>
 &gt;&gt;&gt; Hoi Daryl,<br>
 &gt;&gt;&gt;<br>
 &gt;&gt;&gt; Thursday, September 11, 2014, 12:39:29 AM, you wrote:<br>
 &gt;&gt;&gt;<br>
 &gt;&gt;&gt;<br>
 &gt;&gt;&gt;<br>
 &gt;&gt;&gt;<br>
 &gt;&gt;&gt;<br>
 &gt;&gt;&gt; &gt; On Wed, Sep 10, 2014 at 6:28 PM, jacek burghardt<br>
 &gt;&gt;&gt; &gt; &lt;<a href="mailto:jaceksburghardt@gmail.com" target="_blank">jaceksburghardt@gmail.com</a>&gt; wrote:<br>
 &gt;&gt;&gt;<br>
 &gt;&gt;&gt; &gt; Well maybe it is permission issue you can can change e it to 0777<br>
 &gt;&gt;&gt; &gt; or change owner to user that runs mythtv. I hope you got one of those 10 tb hard drives from wd.<br>
 &gt;&gt;&gt;<br>
 &gt;&gt;&gt;<br>
 &gt;&gt;&gt;<br>
 &gt;&gt;&gt;<br>
 &gt;&gt;&gt;<br>
 &gt;&gt;&gt; &gt; My drives are two single Tb drives, shucks! but on a brighter note<br>
 &gt;&gt;&gt; &gt; I&#39;m back to normal. A reboot meant that I can record tonight, yeah!<br>
 &gt;&gt;&gt; &gt; so if I understand this correctly, I should &quot;cd&quot; to the newly added<br>
 &gt;&gt;&gt; &gt; drive, make a directory there called /media/storage2, reboot, and<br>
 &gt;&gt;&gt; &gt; then I should see the extra space in the FE&#39;s info pages?<br>
 &gt;&gt;&gt;<br>
 &gt;&gt;&gt; In essence correct. To sum it all up:<br>
 &gt;&gt;&gt; On what I assume is your root partition you need to have two<br>
 &gt;&gt;&gt; directories, /media/storage and /media/storage2. As you have it added<br>
 &gt;&gt;&gt; to your /etc/fstab you should, if you run df after a reboot see the<br>
 &gt;&gt;&gt; two 1 Tb volumes being mounted on those two mount-points.<br>
 &gt;&gt;&gt; Then within those two volumes you can create directories you add to<br>
 &gt;&gt;&gt; your volumegroups. By adding the same directory for every volume group<br>
 &gt;&gt;&gt; you use to each drive and adding them both to that volumegroup you<br>
 &gt;&gt;&gt; will get a balanced use over the two volumes.<br>
 &gt;&gt;&gt; Check that each directory you create on the two drives is owned by<br>
 &gt;&gt;&gt; your mythtv user ( for example: sudo chown mythtv<br>
 &gt;&gt;&gt; /media/storage/recordings etc.) and that the rights are 755 or 750<br>
 &gt;&gt;&gt; (sudo chmod 755 /media/storage/recordings) Also both /media,<br>
 &gt;&gt;&gt; /media/storage and /media/storage2 should have at least rx rights for<br>
 &gt;&gt;&gt; other ( sudo chmod o+rx /media/storage2 )<br>
 &gt;&gt;&gt;<br>
 &gt;&gt;&gt; Tot mails,<br>
 &gt;&gt;&gt;   Hika                            mailto:<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a><br>
 &gt;&gt;&gt;<br>
 &gt;&gt;&gt; &quot;Zonder hoop kun je niet leven<br>
 &gt;&gt;&gt; Zonder leven is er geen hoop<br>
 &gt;&gt;&gt; Het eeuwige dilemma<br>
 &gt;&gt;&gt; Zeker als je hoop moet vernietigen om te kunnen overleven!&quot;<br>
 &gt;&gt;&gt;<br>
 &gt;&gt;&gt; De lerende Mens<br>
 &gt;&gt;&gt;<br>
 &gt;&gt;&gt; _______________________________________________<br>
 &gt;&gt;&gt; mythtv-users mailing list<br>
 &gt;&gt;&gt; <a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
 &gt;&gt;&gt; <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
 &gt;&gt;&gt; <a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
 &gt;&gt;&gt; MythTV Forums: <a href="https://forum.mythtv.org" target="_blank">https://forum.mythtv.org</a><br>
 &gt;&gt; My set up may be slightly different, originally I started with one<br>
 &gt;&gt; 1Tb drive, and had my son come over and set up a separate partition<br>
 &gt;&gt; for recordings, what he did, apparently was create a link from<br>
 &gt;&gt; /var/lib/mythtv to the new partition, so everything that is in that<br>
 &gt;&gt; directory is on the separate partition, keeping root safe from<br>
 &gt;&gt; corruption. There is actually another directory beside mythtv called<br>
 &gt;&gt; &quot;forever&quot; where I could put recordings I wanted to keep. This was<br>
 &gt;&gt; done with limited knowledge of myth&#39;s potential and I think I will undo it, as it is not used.<br>
 &gt;&gt; So, has this original setup been done on a less than standard way,<br>
 &gt;&gt; and need to be changed to allow the second drive to come into use<br>
 &gt;&gt; properly? The OS is on a separate 250 Gb drive and the<br>
 &gt;&gt; /var/lib/mythtv directory is on one 1Tb drive (/dev/sdc1) and the<br>
 &gt;&gt; other 1Tb drive (/dev/sdb3) is ext4 with nothing on it. It was the<br>
 &gt;&gt; original drive that my son separated and partitioned for me a year ago hence sdb3.<br>
 &gt;&gt; I&#39;m hoping this is a puzzle to your liking, Hika and not too<br>
 &gt;&gt; confounded. The drive with recordings is only about 5/8 full so no<br>
 &gt;&gt; great panic to get the second on line, but with the new season<br>
 &gt;&gt; around the corner I may need the extra space.<br>
 &gt;&gt; Again many thanks to all contributes to this point.   Daryl<br>
&gt;<br>
&gt;<br>
<br>
&gt; Except for being needlessly complicated with the simlink it doesn&#39;t<br>
&gt;  seem wrong. Only if /dev/sdb3 for any reason fails to mount, the<br>
&gt;  mythtv home directory will be a dead link. So if you feel like<br>
&gt;  straitening things out I would start by letting all volume groups<br>
&gt;  point directly to the directories in /media/storage/mythtv ( as I<br>
&gt;  assume it is called) and not to /var/lib/mythtv, this including the<br>
&gt;  metadata directories (banners, coverart, fanart, screenshots,<br>
&gt;  trailers) and video and livetv. Secondly to move everything except the<br>
&gt;  storagegroups, the metadata directories and video and livetv back<br>
&gt;  to being strait on /var/lib/mythtv. This last is a bit tricky for you<br>
&gt;  have to remove the simlink to the directory, which is not easy.<br>
&gt;<br>
&gt;  Alternatively to this last part you can change the mythtv<br>
&gt;  homedirectory to /media/storage/mythtv instead of to the simlink.<br>
&gt;<br>
&gt;  sudo usermod -d /media/storage/mythtv mythtv<br>
&gt;  (assuming the directoryname and the username to be as in the command)<br>
&gt;<br>
&gt;  You then can leave the simlink as backup for wherever it might be<br>
&gt;  hardcoded in any configfile.<br>
&gt;  Be also sure to set the keep free parameter for the recording high<br>
&gt;  enough so your home directory can not get into trouble. I suggest 10<br>
&gt;  Gb<br>
&gt;<br>
&gt;  If you want to move the main home directory back to being strait on<br>
&gt;  /var/lib/mythtv. You do the following:<br>
&gt;  Make sure mythbackend is not running<br>
&gt;  log in as a different user then mythtv<br>
&gt;  unmount /media/storage:<br>
&gt;      sudo umount /media/storage<br>
&gt;  now you can delete the simlink /var/lib/mythtv for it is dead:<br>
&gt;      sudo rm /var/lib/mythtv<br>
&gt;  create the directory /var/lib/mythtv and set the rights OK:<br>
&gt;      sudo mkdir /var/lib/mythtv<br>
&gt;      sudo chown mythtv /var/lib/mythtv<br>
&gt;      sudo chmod 750 /var/lib/mythtv<br>
&gt;  remount /media/storage<br>
&gt;      sudo mount /media/storage<br>
&gt;  copy everything from /media/storage/mythtv except for the storage<br>
&gt;  directories, the metadata directories, video and livetv back to<br>
&gt;  /var/lib/mythtv. Be sure to catch the hidden directories like .mythtv.<br>
&gt;  Then as an extra check that everything is still owned by mythtv run:<br>
&gt;      sudo chown -R mythtv /var/lib/mythtv<br>
&gt;<br>
&gt;  Then on the second drive on /media/storage2 you create a recordings<br>
&gt;  directory as described earlier and add that to the storage group. You<br>
&gt;  can also do so for for instance livetv.<br>
&gt;<br>
<br>
&gt;<br>
&gt;  Tot mails,<br>
&gt;    Hika                            mailto:<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a><br>
&gt;<br>
&gt;  &quot;Zonder hoop kun je niet leven<br>
&gt;  Zonder leven is er geen hoop<br>
&gt;  Het eeuwige dilemma<br>
&gt;  Zeker als je hoop moet vernietigen om te kunnen overleven!&quot;<br>
&gt;<br>
&gt;  De lerende Mens<br>
<br>
<br>
&gt; As I read what you&#39;ve responded it&#39;s becoming clear that I<br>
&gt; misinformed you. From poking around in the BE setup storage<br>
&gt; directories, they are all pointing to /var/lib/mythtv, the symlink<br>
&gt; my son setup for me was in my home directory (on the precise system)<br>
&gt; to the mythtv directory (so I could easily manipulate recordings) so<br>
&gt; becuse of the fstab editing, I assume, the two 1Tb drives present<br>
&gt; themselves as &quot;/media/storage&quot; and &quot;/media/storage2&quot; (when I hover<br>
&gt; on them after launching files), but /media/storage only has two<br>
&gt; directories in it, mythtv ( this including the metadata directories<br>
&gt; (banners, coverart, fanart, screenshots, trailers) and video and<br>
&gt; livetv.) and forever (which I will remove) so now I would create a<br>
&gt; directory in /media/storage2 called &quot;recordings&quot;? In /media/storage<br>
&gt; there is mythtv with recordings in it, so I would have two<br>
&gt; recordings directories? &quot;/media/storage/mythtv/recordings&quot; and<br>
&gt; &quot;/media/storage2/recordings&quot; or should it be<br>
&gt; &quot;/media/storage2/mythtv/recordings&quot;?    as always, much appreciated  Daryl<br>
<br>
</div></div>De Nada. I already thought it strange for setting a simlink as<br>
homedirectory, although it would work. But then young people (I assume<br>
your son to be young) in my experience sometimes choose strange<br>
solutions without thinking it fully through. They often solve things<br>
as they come without looking at a further future and without placing<br>
themselfs in the position of the person they help solve.<br>
<div><div><br>
<br>
Tot mails,<br>
  Hika                            mailto:<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a><br>
<br>
&quot;Zonder hoop kun je niet leven<br>
Zonder leven is er geen hoop<br>
Het eeuwige dilemma<br>
Zeker als je hoop moet vernietigen om te kunnen overleven!&quot;<br>
<br>
De lerende Mens<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" target="_blank">https://forum.mythtv.org</a></div></div></blockquote><div><br></div></div></div><div>OK, I&#39;m creating the directory in /media/storage2 and I chown&#39;d it and chmod&#39;d it, and it looks like this:</div><div><br></div><div>drwxrwxr-x 2 mythtv root  4096 Sep 11 08:14 mythtv<br></div><div><br></div><div>whereas in /media/storage the same directory looks like:</div><div><br></div><div>drwxrwxr-x 15 ntp  mythtv  4096 Sep 11 07:31 mythtv<br></div><div><br></div><div>Did I not chown it properly?</div></div></div></div></blockquote><div><br></div><div> Similarly the recordings directory doesn&#39;t look the same:</div><div><br></div><div>drwxrwxr-x 2 mythtv root 4096 Sep 11 08:33 recordings<br></div><div><br></div><div>as compared to:</div><div><br></div><div>drwxrwsr-x 2 mythtv mythtv      20480 Sep 11 07:31 recordings<br></div><div><br></div><div>How do I get an &quot;s&quot; in there and what is it&#39;s numerical value? 5</div><div><br></div><div>I tried creating the directories as mythtv user, but permission was denied, and with sudo, I don&#39;t know mythtv&#39;s password. Should there be more to the command &quot;sudo chown mythtv recordings&quot;?</div></div><br></div></div>