[mythtv-users] Master backend trying to record to non-existent directory

Michael T. Dean mtdean at thirdcontact.com
Sat Jul 21 14:21:38 UTC 2012


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.

Thanks,
Mike


More information about the mythtv-users mailing list