<br><br><div class="gmail_quote">On 30 October 2011 20:48, Nick Rout <span dir="ltr">&lt;<a href="mailto:nick.rout@gmail.com">nick.rout@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Mon, Oct 31, 2011 at 9:41 AM, Tim Draper &lt;<a href="mailto:veehexx@gmail.com">veehexx@gmail.com</a>&gt; wrote:<br>
&gt; i&#39;ve done some changes with how my mythtv is configured, which includes a<br>
&gt; change in storage directory location onto another HDD.<br>
&gt; however, every time i try to record, mythtv will start the recording but it<br>
&gt; will not actually write to a file... i suspect it is a permissions issue.<br>
&gt;<br>
&gt; fstab of the Storage Group drive:<br>
&gt;<br>
&gt; /dev/sdb1       /data   ext4<br>
&gt; noatime,data=writeback,barrier=0,nobh,errors=remount-ro     0       1<br>
&gt;<br>
&gt; &#39;Default&#39; and &#39;livetv&#39; SG&#39;s are pointing to (currently these are the only<br>
&gt; two that have been set):<br>
&gt;&gt;<br>
&gt;&gt; /data/mythtv/Recordings<br>
&gt;&gt; /data/mythtv/LiveTV<br>
&gt;<br>
&gt; mythbackend log shows the following when i attempt to record:<br>
&gt;<br>
&gt; 2011-10-30 20:27:57.852 Reschedule requested for id 42.<br>
&gt; 2011-10-30 20:27:58.039 Scheduled 44 items in 0.2 = 0.00 match + 0.18 place<br>
&gt; 2011-10-30 20:27:58.041 TVRec(1): ASK_RECORDING 1 0 0 0<br>
&gt; 2011-10-30 20:27:58.055 TVRec(1): Changing from None to RecordingOnly<br>
&gt; 2011-10-30 20:27:58.055 TVRec(1): HW Tuner: 1-&gt;1<br>
&gt; 2011-10-30 20:27:58.078 AutoExpire: CalcParams(): Max required Free Space:<br>
&gt; 3.0 GB w/freq: 14 min<br>
&gt; 2011-10-30 20:27:58.079 Started recording: &quot;The X Factor Results&quot;: channel<br>
&gt; 13140 on cardid 1, sourceid 3<br>
&gt; 2011-10-30 20:27:58.139 MainServer::ANN Monitor<br>
&gt; 2011-10-30 20:27:58.139 adding: server as a client (events: 2)<br>
&gt; 2011-10-30 20:27:58.143 MainServer::ANN Monitor<br>
&gt; 2011-10-30 20:27:58.143 adding: server as a client (events: 2)<br>
&gt; 2011-10-30 20:27:58.396 ProgramInfo(13140_20111030202800.mpg), Error:<br>
&gt; GetPlaybackURL: &#39;13140_20111030202800.mpg&#39; should be local, but it can not<br>
&gt; be found.<br>
&gt; 2011-10-30 20:27:58.621 TVRec(2): ASK_RECORDING 2 0 0 0<br>
&gt;<br>
&gt; permissions of the folders at the new location. i have compared them to the<br>
&gt; default ones at /var/lib/mythtv/, and they match based off &#39;ls -l&#39;<br>
&gt;<br>
&gt;&gt; /data/mythtv/$ ls -l<br>
&gt;&gt;<br>
&gt;&gt; total 48<br>
&gt;&gt; drwxrwsr-x 2 mythtv mythtv  4096 2011-10-30 11:38 Banners<br>
&gt;&gt; drwxrwsr-x 2 mythtv mythtv  4096 2011-10-30 11:38 Coverart<br>
&gt;&gt; drwxrwsr-x 2 mythtv mythtv  4096 2011-10-30 11:38 DB_Backups<br>
&gt;&gt; drwxrwsr-x 2 mythtv mythtv  4096 2011-10-30 11:38 Default<br>
&gt;&gt; drwxrwsr-x 2 mythtv mythtv  4096 2011-10-30 11:38 Fanart<br>
&gt;&gt; drwxrwsr-x 2 mythtv mythtv  4096 2011-10-30 20:27 LiveTV<br>
&gt;&gt; drwxrwsr-x 2 mythtv mythtv 12288 2011-10-30 20:27 Recordings<br>
&gt;&gt; drwxrwsr-x 2 mythtv mythtv  4096 2011-10-30 11:38 Screenshots<br>
&gt;&gt; drwxrwsr-x 2 mythtv mythtv  4096 2011-10-30 11:38 Trailers<br>
&gt;&gt; drwxrwsr-x 2 mythtv mythtv  4096 2011-10-30 11:38 Videos<br>
&gt;<br>
&gt; I hope someone can help!<br>
&gt; at the moment i&#39;m guessing it&#39;s permissions, but cant work out what is going<br>
&gt; wrong.<br>
&gt;<br>
<br>
</div></div>It is myth&#39;s built in X factor rejector.<br>
<br>
But really it os probably the permissions of some directory further up<br>
the path -<br>
<br>
ls -l /data<br></blockquote><div><br>$ ls -l /data<br>total 32<br>drwxr-xr-x  4 veehexx veehexx  4096 2011-10-30 16:43 data<br>drwxrwxrwx  2 root    root    16384 2011-10-29 19:40 lost+found<br>drwxr-xr-x  4 veehexx veehexx  4096 2011-10-30 21:10 media<br>
drwxrwxrwx 12 mythtv  mythtv   4096 2011-10-30 14:12 mythtv<br>drwxrwxrwx  2 root    root     4096 2011-10-30 14:41 restricted <br></div><div> <br>^^ ignore that /data/data folder - moving stuff between HDD&#39;s<br><br></div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
ls -l /data/mythtv<br><br></blockquote><div><br>$ ls -l /data/mythtv<br>total 48<br>drwxrwsr-x 2 mythtv mythtv  4096 2011-10-30 11:38 Banners<br>drwxrwsr-x 2 mythtv mythtv  4096 2011-10-30 11:38 Coverart<br>drwxrwsr-x 2 mythtv mythtv  4096 2011-10-30 11:38 DB_Backups<br>
drwxrwsr-x 2 mythtv mythtv  4096 2011-10-30 11:38 Default<br>drwxrwsr-x 2 mythtv mythtv  4096 2011-10-30 11:38 Fanart<br>drwxrwsr-x 2 mythtv mythtv  4096 2011-10-30 20:27 LiveTV<br>drwxrwsr-x 2 mythtv mythtv 12288 2011-10-30 20:27 Recordings<br>
drwxrwsr-x 2 mythtv mythtv  4096 2011-10-30 11:38 Screenshots<br>drwxrwsr-x 2 mythtv mythtv  4096 2011-10-30 11:38 Trailers<br>drwxrwsr-x 2 mythtv mythtv  4096 2011-10-30 11:38 Videos<br><br>.... and just for good measure, /<br>
$  ls -l /<br>total 84<br>drwxr-xr-x   2 root root  4096 2011-10-30 14:49 bin<br>drwxr-xr-x   3 root root  4096 2011-10-30 14:55 boot<br>drwxr-xr-x   2 root root  4096 2011-10-30 12:33 cdrom<br>drwxrwxrwx   7 root root  4096 2011-10-30 20:53 data<br>
<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">Did you verify that the filesystem was mounted rw instead of ro from<br>
your errors=remount-ro<br>
<br></blockquote><div><br>it&#39;s mounted as RW - i&#39;m currently FTPing data to /data.<br></div><div> </div><br></div></div>