<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 11, 2014 at 7:56 AM, Hika van den Hoven <span dir="ltr"><<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a>></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 class="h5"><br>
Thursday, September 11, 2014, 5:58:34 AM, you wrote:<br>
<br>
<br>
<br>
<br>
<br>
> On Wed, Sep 10, 2014 at 8:42 PM, Hika van den Hoven <<a href="mailto:hikavdh@gmail.com">hikavdh@gmail.com</a>> wrote:<br>
<br>
> Hoi Daryl,<br>
><br>
<br>
> Thursday, September 11, 2014, 1:43:26 AM, you wrote:<br>
><br>
><br>
>> On Sep 10, 2014 6:55 PM, "Hika van den Hoven" <<a href="mailto:hikavdh@gmail.com">hikavdh@gmail.com</a>> wrote:<br>
>>><br>
>>> Hoi Daryl,<br>
>>><br>
>>> Thursday, September 11, 2014, 12:39:29 AM, you wrote:<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> > On Wed, Sep 10, 2014 at 6:28 PM, jacek burghardt<br>
>>> > <<a href="mailto:jaceksburghardt@gmail.com">jaceksburghardt@gmail.com</a>> wrote:<br>
>>><br>
>>> > Well maybe it is permission issue you can can change e it to 0777<br>
>>> > or change owner to user that runs mythtv. I hope you got one of those 10 tb hard drives from wd.<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> > My drives are two single Tb drives, shucks! but on a brighter note<br>
>>> > I'm back to normal. A reboot meant that I can record tonight, yeah!<br>
>>> > so if I understand this correctly, I should "cd" to the newly added<br>
>>> > drive, make a directory there called /media/storage2, reboot, and<br>
>>> > then I should see the extra space in the FE's info pages?<br>
>>><br>
>>> In essence correct. To sum it all up:<br>
>>> On what I assume is your root partition you need to have two<br>
>>> directories, /media/storage and /media/storage2. As you have it added<br>
>>> to your /etc/fstab you should, if you run df after a reboot see the<br>
>>> two 1 Tb volumes being mounted on those two mount-points.<br>
>>> Then within those two volumes you can create directories you add to<br>
>>> your volumegroups. By adding the same directory for every volume group<br>
>>> you use to each drive and adding them both to that volumegroup you<br>
>>> will get a balanced use over the two volumes.<br>
>>> Check that each directory you create on the two drives is owned by<br>
>>> your mythtv user ( for example: sudo chown mythtv<br>
>>> /media/storage/recordings etc.) and that the rights are 755 or 750<br>
>>> (sudo chmod 755 /media/storage/recordings) Also both /media,<br>
>>> /media/storage and /media/storage2 should have at least rx rights for<br>
>>> other ( sudo chmod o+rx /media/storage2 )<br>
>>><br>
>>> Tot mails,<br>
>>> Hika mailto:<a href="mailto:hikavdh@gmail.com">hikavdh@gmail.com</a><br>
>>><br>
>>> "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!"<br>
>>><br>
>>> De lerende Mens<br>
>>><br>
>>> _______________________________________________<br>
>>> mythtv-users mailing list<br>
>>> <a href="mailto:mythtv-users@mythtv.org">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><br>
>> My set up may be slightly different, originally I started with one<br>
>> 1Tb drive, and had my son come over and set up a separate partition<br>
>> for recordings, what he did, apparently was create a link from<br>
>> /var/lib/mythtv to the new partition, so everything that is in that<br>
>> directory is on the separate partition, keeping root safe from<br>
>> corruption. There is actually another directory beside mythtv called<br>
>> "forever" where I could put recordings I wanted to keep. This was<br>
>> done with limited knowledge of myth's potential and I think I will undo it, as it is not used.<br>
>> So, has this original setup been done on a less than standard way,<br>
>> and need to be changed to allow the second drive to come into use<br>
>> properly? The OS is on a separate 250 Gb drive and the<br>
>> /var/lib/mythtv directory is on one 1Tb drive (/dev/sdc1) and the<br>
>> other 1Tb drive (/dev/sdb3) is ext4 with nothing on it. It was the<br>
>> original drive that my son separated and partitioned for me a year ago hence sdb3.<br>
>> I'm hoping this is a puzzle to your liking, Hika and not too<br>
>> confounded. The drive with recordings is only about 5/8 full so no<br>
>> great panic to get the second on line, but with the new season<br>
>> around the corner I may need the extra space.<br>
>> Again many thanks to all contributes to this point. Daryl<br>
><br>
><br>
<br>
> Except for being needlessly complicated with the simlink it doesn't<br>
> seem wrong. Only if /dev/sdb3 for any reason fails to mount, the<br>
> mythtv home directory will be a dead link. So if you feel like<br>
> straitening things out I would start by letting all volume groups<br>
> point directly to the directories in /media/storage/mythtv ( as I<br>
> assume it is called) and not to /var/lib/mythtv, this including the<br>
> metadata directories (banners, coverart, fanart, screenshots,<br>
> trailers) and video and livetv. Secondly to move everything except the<br>
> storagegroups, the metadata directories and video and livetv back<br>
> to being strait on /var/lib/mythtv. This last is a bit tricky for you<br>
> have to remove the simlink to the directory, which is not easy.<br>
><br>
> Alternatively to this last part you can change the mythtv<br>
> homedirectory to /media/storage/mythtv instead of to the simlink.<br>
><br>
> sudo usermod -d /media/storage/mythtv mythtv<br>
> (assuming the directoryname and the username to be as in the command)<br>
><br>
> You then can leave the simlink as backup for wherever it might be<br>
> hardcoded in any configfile.<br>
> Be also sure to set the keep free parameter for the recording high<br>
> enough so your home directory can not get into trouble. I suggest 10<br>
> Gb<br>
><br>
> If you want to move the main home directory back to being strait on<br>
> /var/lib/mythtv. You do the following:<br>
> Make sure mythbackend is not running<br>
> log in as a different user then mythtv<br>
> unmount /media/storage:<br>
> sudo umount /media/storage<br>
> now you can delete the simlink /var/lib/mythtv for it is dead:<br>
> sudo rm /var/lib/mythtv<br>
> create the directory /var/lib/mythtv and set the rights OK:<br>
> sudo mkdir /var/lib/mythtv<br>
> sudo chown mythtv /var/lib/mythtv<br>
> sudo chmod 750 /var/lib/mythtv<br>
> remount /media/storage<br>
> sudo mount /media/storage<br>
> copy everything from /media/storage/mythtv except for the storage<br>
> directories, the metadata directories, video and livetv back to<br>
> /var/lib/mythtv. Be sure to catch the hidden directories like .mythtv.<br>
> Then as an extra check that everything is still owned by mythtv run:<br>
> sudo chown -R mythtv /var/lib/mythtv<br>
><br>
> Then on the second drive on /media/storage2 you create a recordings<br>
> directory as described earlier and add that to the storage group. You<br>
> can also do so for for instance livetv.<br>
><br>
<br>
><br>
> Tot mails,<br>
> Hika mailto:<a href="mailto:hikavdh@gmail.com">hikavdh@gmail.com</a><br>
><br>
> "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!"<br>
><br>
> De lerende Mens<br>
<br>
<br>
> As I read what you've responded it's becoming clear that I<br>
> misinformed you. From poking around in the BE setup storage<br>
> directories, they are all pointing to /var/lib/mythtv, the symlink<br>
> my son setup for me was in my home directory (on the precise system)<br>
> to the mythtv directory (so I could easily manipulate recordings) so<br>
> becuse of the fstab editing, I assume, the two 1Tb drives present<br>
> themselves as "/media/storage" and "/media/storage2" (when I hover<br>
> on them after launching files), but /media/storage only has two<br>
> directories in it, mythtv ( this including the metadata directories<br>
> (banners, coverart, fanart, screenshots, trailers) and video and<br>
> livetv.) and forever (which I will remove) so now I would create a<br>
> directory in /media/storage2 called "recordings"? In /media/storage<br>
> there is mythtv with recordings in it, so I would have two<br>
> recordings directories? "/media/storage/mythtv/recordings" and<br>
> "/media/storage2/recordings" or should it be<br>
> "/media/storage2/mythtv/recordings"? 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 class=""><div class="h5"><br>
<br>
Tot mails,<br>
Hika mailto:<a href="mailto:hikavdh@gmail.com">hikavdh@gmail.com</a><br>
<br>
"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!"<br>
<br>
De lerende Mens<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">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>OK, I'm creating the directory in /media/storage2 and I chown'd it and chmod'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><br></div></div>