<br><br><div class="gmail_quote">On 30 October 2011 20:48, Nick Rout <span dir="ltr"><<a href="mailto:nick.rout@gmail.com">nick.rout@gmail.com</a>></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 <<a href="mailto:veehexx@gmail.com">veehexx@gmail.com</a>> wrote:<br>
> i've done some changes with how my mythtv is configured, which includes a<br>
> change in storage directory location onto another HDD.<br>
> however, every time i try to record, mythtv will start the recording but it<br>
> will not actually write to a file... i suspect it is a permissions issue.<br>
><br>
> fstab of the Storage Group drive:<br>
><br>
> /dev/sdb1 /data ext4<br>
> noatime,data=writeback,barrier=0,nobh,errors=remount-ro 0 1<br>
><br>
> 'Default' and 'livetv' SG's are pointing to (currently these are the only<br>
> two that have been set):<br>
>><br>
>> /data/mythtv/Recordings<br>
>> /data/mythtv/LiveTV<br>
><br>
> mythbackend log shows the following when i attempt to record:<br>
><br>
> 2011-10-30 20:27:57.852 Reschedule requested for id 42.<br>
> 2011-10-30 20:27:58.039 Scheduled 44 items in 0.2 = 0.00 match + 0.18 place<br>
> 2011-10-30 20:27:58.041 TVRec(1): ASK_RECORDING 1 0 0 0<br>
> 2011-10-30 20:27:58.055 TVRec(1): Changing from None to RecordingOnly<br>
> 2011-10-30 20:27:58.055 TVRec(1): HW Tuner: 1->1<br>
> 2011-10-30 20:27:58.078 AutoExpire: CalcParams(): Max required Free Space:<br>
> 3.0 GB w/freq: 14 min<br>
> 2011-10-30 20:27:58.079 Started recording: "The X Factor Results": channel<br>
> 13140 on cardid 1, sourceid 3<br>
> 2011-10-30 20:27:58.139 MainServer::ANN Monitor<br>
> 2011-10-30 20:27:58.139 adding: server as a client (events: 2)<br>
> 2011-10-30 20:27:58.143 MainServer::ANN Monitor<br>
> 2011-10-30 20:27:58.143 adding: server as a client (events: 2)<br>
> 2011-10-30 20:27:58.396 ProgramInfo(13140_20111030202800.mpg), Error:<br>
> GetPlaybackURL: '13140_20111030202800.mpg' should be local, but it can not<br>
> be found.<br>
> 2011-10-30 20:27:58.621 TVRec(2): ASK_RECORDING 2 0 0 0<br>
><br>
> permissions of the folders at the new location. i have compared them to the<br>
> default ones at /var/lib/mythtv/, and they match based off 'ls -l'<br>
><br>
>> /data/mythtv/$ ls -l<br>
>><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>
> I hope someone can help!<br>
> at the moment i'm guessing it's permissions, but cant work out what is going<br>
> wrong.<br>
><br>
<br>
</div></div>It is myth'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'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's mounted as RW - i'm currently FTPing data to /data.<br></div><div> </div><br></div></div>