[mythtv-users] Storage group question
Phil Bridges
gravityhammer at gmail.com
Sun Nov 14 12:15:52 UTC 2010
On Thu, Nov 11, 2010 at 11:43 PM, Phil Bridges <gravityhammer at gmail.com> wrote:
> On Thu, Nov 11, 2010 at 11:34 PM, Chris Pinkham <cpinkham at bc2va.org> wrote:
>> * On Thu Nov 11, 2010 at 10:36:43PM -0500, Phil Bridges wrote:
>>> OK - I have my tuner set up on my slave backend. Recordings made on
>>> that tuner record fine on the slave backend. Unfortunately, though,
>>> when I have a recording from a tuner on my master backend, it can't
>>> record onto the slave backend.
>>
>> I think you're misunderstanding the concept of Storage Groups a little.
>> Storage Groups do not allow one backend to record across the network
>> to another backend's hard disks. If you want to do this, you'll still
>> have to use NFS. Several of us have discussed letting one backend
>> write across the network to another backends drives via MythTV's internal
>> protocol, but we haven't implemented the functionality. Most of the
>> parts are there because of other features, it would just need some glue.
>>
>>> All of these slave directories are set at 777.
>>>
>>> Any suggestions?
>>
>> If you want the master to record to the slave's directories, the master will
>> need to be able to mount those over NFS. If you cross-mount your directories
>> on the opposite servers, the storage scheduling code will look at all 5 drives
>> and schedule recordings across them based on the storage scheduling setting
>> you have chosen.
>>
>
> Yeah - that's the weird thing. I didn't expect it to try to record to
> the slave backend, but it was trying anyway.
>
> I'm not sure what was going, but a restart seems to have solved it.
>
I thought it resolved it, but it didn't. Here's some of my log from
this morning from the master backend:
2010-11-14 05:59:29.882 TVRec(1): ASK_RECORDING 1 29 0 0
2010-11-14 05:59:29.978 TVRec(4): ASK_RECORDING 4 29 0 0
2010-11-14 05:59:30.410 TVRec(5): ASK_RECORDING 5 29 0 0
2010-11-14 06:00:01.814 MainServer::ANN Monitor
2010-11-14 06:00:01.815 adding: strongsad as a client (events: 0)
2010-11-14 06:00:02.180 ProgramInfo(3130_20101114020000.mpg), Error:
GetPlaybackURL: '3130_20101114020000.mpg' should be local, but it can
not be found.
2010-11-14 06:00:02.182 ProgramInfo(3130_20101114030000.mpg), Error:
GetPlaybackURL: '3130_20101114030000.mpg' should be local, but it can
not be found.
2010-11-14 06:00:02.819 ProgramInfo(): Updated pathname '':'' ->
'1082_20101114060000.mpg'
2010-11-14 06:00:02.856 TVRec(1): Changing from None to RecordingOnly
2010-11-14 06:00:02.857 TVRec(1): HW Tuner: 1->1
2010-11-14 06:00:02.904 AutoExpire: CalcParams(): Max required Free
Space: 3.0 GB w/freq: 14 min
2010-11-14 06:00:02.905 Started recording: Sesame Street "The Shoe
Fairy": channel 1082 on cardid 1, sourceid 1
2010-11-14 06:00:02.936 ProgramInfo(): Updated pathname '':'' ->
'1082_20101114060000.mpg'
2010-11-14 06:00:03.012 ProgramInfo(3130_20101114020000.mpg), Error:
GetPlaybackURL: '3130_20101114020000.mpg' should be local, but it can
not be found.
2010-11-14 06:00:03.014 ProgramInfo(3130_20101114030000.mpg), Error:
GetPlaybackURL: '3130_20101114030000.mpg' should be local, but it can
not be found.
2010-11-14 06:00:03.017 ProgramInfo(1082_20101114060000.mpg), Error:
GetPlaybackURL: '1082_20101114060000.mpg' should be local, but it can
not be found.
2010-11-14 06:00:03.239 ProgramInfo(1082_20101114060000.mpg), Error:
GetPlaybackURL: '1082_20101114060000.mpg' should be local, but it can
not be found.
2010-11-14 06:00:03.425 ProgramInfo(1082_20101114060000.mpg), Error:
GetPlaybackURL: '1082_20101114060000.mpg' should be local, but it can
not be found.
2010-11-14 06:00:03.571 TVRec(1): rec->GetFileName():
'/mnt/video3/recordings/1082_20101114060000.mpg'
2010-11-14 06:00:03.572 TFW, Error: Opening file
'/mnt/video3/recordings/1082_20101114060000.mpg'.
eno: No such file or directory (2)
2010-11-14 06:00:03.573 TVRec(1) Error: RingBuffer
'/mnt/video3/recordings/1082_20101114060000.mpg' not open...
2010-11-14 06:00:03.574 TVRec(1): Changing from RecordingOnly to None
2010-11-14 06:00:03.576 ProgramInfo(): Updated pathname '':'' ->
'1082_20101114060000.mpg'
2010-11-14 06:00:03.577 Finished recording Sesame Street "The Shoe
Fairy": channel 1082
This is the master backend's log. Inputs 1-7 are on the master
backend - input 9 is on the slave. /mnt/video3/recordings is one of
my three slave backend mount points. Why in the world would the
master backend try to write to it?
Looks like I may just have to NFS mount all of the slave drives on the
master. How does this affect my storage group setup? Should I also
mount all of my master backend drives on the slave?
More information about the mythtv-users
mailing list