
mtdean at thirdcontact
Jul 24, 2012, 12:52 PM
Post #4 of 8
(520 views)
Permalink
|
|
Re: Master backend trying to record to non-existent directory
[In reply to]
|
|
On 07/24/2012 01:59 PM, Bob Cottingham wrote: > On Sat, Jul 21, 2012 at 9:21 AM, Michael T. Dean wrote: >> On 07/20/2012 01:47 AM, Bob Cottingham wrote: >>> I've had a persistent issue for about a year where the master backend >>> will try to record to a directory listed in the storage group that >>> isn't present on that system. The only way I've been able to get the >>> system to work is to mount the directory using NFS, however I would >>> prefer to have it work without doing that. >>> >>> I have the storage group defined on the master backend with the following: >>> >>> /var/mythtv/tv/recordings/ >>> /var/mythtv/tv2/recordings/ >>> /var/mythtv/tv3/recordings/ >>> /var/tv/recordings/ >>> /var/tv2/recordings/ >>> >>> The first three directories on the master backend and the last two on >>> the slave backend. Nothing is defined on the slave backend. My >>> understanding is that the master backend will realize that the last >>> two directories do not exist on that system and not use them, however, >>> on my system, it repeatedly tries to anyway. Here is part of the log >>> on the master backend from tonight: >>> >>> 2012-07-19 23:28:11.219043 I TVRec(2): ASK_RECORDING 2 28 0 0 >>> 2012-07-19 23:28:11.769356 I TVRec(1): ASK_RECORDING 1 28 0 0 >>> 2012-07-19 23:28:41.133675 I TVRec(1): Changing from None to >>> RecordingOnly >>> 2012-07-19 23:28:41.135016 I TVRec(1): HW Tuner: 1->1 >>> 2012-07-19 23:28:41.235361 N AutoExpire: CalcParams(): Max required >>> Free Space: 52.0 GB w/freq: 14 min >>> 2012-07-19 23:28:41.281962 I Tuning recording: "My Babysitter's a >>> Vampire":"Blue Moon": channel 5301 on cardid 1, sourceid 4 >>> 2012-07-19 23:28:41.785424 I Updating status for "My Babysitter's a >>> Vampire":"Blue Moon" on cardid 1 (Tuning => Recording) >>> 2012-07-19 23:28:41.846021 I TVRec(1): rec->GetPathname(): >>> '/var/tv2/recordings/5301_20120719232900.mpg' >>> 2012-07-19 23:28:41.846084 E >>> TFW(/var/tv2/recordings/5301_20120719232900.mpg:-1): Opening file >>> '/var/tv2/recordings/5301_20120719232900.mpg'. >>> eno: No such file or directory (2) >>> 2012-07-19 23:28:41.846103 E TVRec(1): RingBuffer >>> '/var/tv2/recordings/5301_20120719232900.mpg' not open... >>> 2012-07-19 23:28:41.846586 I TVRec(1): Changing from RecordingOnly to >>> None >>> >>> I have tried removing all storage group information and re-entering it >>> with no difference. I haven't found anyone else reporting this issue >>> in the last year, but it is driving me crazy. Does anyone have any >>> ideas what may be causing this? >> >> Please try: >> >> ls -ld /var/{,mythtv/}tv*/recordings >> >> on both backends and provide the output. Then, please run: >> >> df -k /var/{,mythtv/}tv*/recordings >> >> on both and provide its output. > Sorry for the delay. Here is the output: > > master backend: > bob [at] mythbo:~$ ls -ld /var/{,mythtv/}tv*/recordings > ls: cannot access /var/tv*/recordings: No such file or directory > drwxrwxrwx 2 bob bob 24576 2012-07-19 22:33 /var/mythtv/tv2/recordings > drwxrwxrwx 2 bob bob 126976 2012-07-24 11:43 /var/mythtv/tv3/recordings > drwxrwxrwx 2 bob bob 135168 2012-07-24 12:39 /var/mythtv/tv/recordings > > bob [at] mythbo:~$ df -k /var/{,mythtv/}tv*/recordings > df: `/var/tv*/recordings': No such file or directory > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/sda2 709363588 692880936 16482652 98% /var/mythtv > /dev/sdb1 1953446464 1896418576 57027888 98% /var/mythtv/tv3 > /dev/sdc1 1952558140 1895880720 56677420 98% /var/mythtv/tv > > slave backend: > bob [at] mai:~$ ls -ld /var/{,mythtv/}tv*/recordings > ls: cannot access /var/mythtv/tv*/recordings: No such file or directory > drwxrwxrwx 2 bob bob 49152 2012-07-24 12:39 /var/tv2/recordings > drwxrwxrwx 2 bob bob 20480 2012-07-16 18:14 /var/tv/recordings > > bob [at] mai:~$ df -k /var/{,mythtv/}tv*/recordings > df: `/var/mythtv/tv*/recordings': No such file or directory > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/sdb1 976694464 919833692 56860772 95% /var/tv2 > /dev/sda2 200184560 183212220 16972340 92% /var/tv > > I just had the master backend try to record to /var/tv2/recordings > with another failed recording resulting. Any ideas on how to > straighten this out would be very appreciated. > OK, all looks good there, and it's not the "simple" explanation. So that means we'll need a good log from your backends run at -v file,schedule --loglevel debug . Whole log please (shut down the backends, then start at that level and run it until you've seen a recording fail when it chooses the wrong directory). Thanks, Mike _______________________________________________ mythtv-users mailing list mythtv-users [at] mythtv http://www.mythtv.org/mailman/listinfo/mythtv-users
|