LinHES Forums http://forums.linhes.org/ |
|
circular NFS mounts : Not wanting to crash my FE-BE systems http://forums.linhes.org/viewtopic.php?f=14&t=15037 |
Page 1 of 1 |
Author: | siasl [ Wed Apr 25, 2007 7:20 am ] |
Post subject: | circular NFS mounts : Not wanting to crash my FE-BE systems |
Since mythtv video manager only seems to list the videos local to the machine you are on (BE or FE) how can I get a combined video listing and be able to play videos from either machines. I have a wild hair idea of placing an nfs mount in the FE /myth/video to point to the BE /myth/video and also do the reverse on the BE. However, I'm not sure how the video manager will handle it. I don't want to get into an "infinite loop" and crash my systems. Thanks |
Author: | slowtolearn [ Wed Apr 25, 2007 7:41 am ] |
Post subject: | Re: circular NFS mounts : Not wanting to crash my FE-BE syst |
siasl wrote: Since mythtv video manager only seems to list the videos local to the machine Easiest would be to place videos on only 1 machine and mount that point on the others.you are on (BE or FE) how can I get a combined video listing and be able to play videos from either machines. siasl wrote: I have a wild hair idea of placing an nfs mount in the FE /myth/video to point to the BE /myth/video and also do the reverse on the BE. You could do this, but AFAIK you would have to perform the mounts manually. If you tried to automate this (in rc scripts or fstab), when the systems were rebooted at least one of the mounts would fail because the other system isn't available yet (think chicken/egg here).
I store all my videos/music/pictures on a Slackware box and NFS mount the necessary directories on my backend/frontends. Everyone has access to all media... |
Author: | siasl [ Wed Apr 25, 2007 8:50 am ] |
Post subject: | Got IT. |
Actually I got it to work with my current setup without having to have a common storage server. Thanks for your reply though. Here is what I did : 1. Make sure the default /etc/exports file still has the "/myth *(rw)" entry in it for both the BE and FE machines. 2. Start and enable for boot start the nfs-kernel-server 3. define mount points on both FE and BE machines 4. edit /etc/fstab on both machines and do nfs mounts for the other machine BE example fstab entry : FE:/myth/video /myth/FE_video nfs users,noexec,auto 0 0 FE example fstab entry : BE:/myth/video /myth/BE_video nfs users,noexec,auto 0 0 Then on the BE machine : Utilities/Setup->Setup->Media Settings->Video Settings->General Settings->Directory that holds videos:/myth/video:/FE_video Then on the FE machine : Utilities/Setup->Setup->Media Settings->Video Settings->General Settings->Directory that holds videos:/myth/video:/BE_video The only kicker is you have to be on each machine when you go into the video manager in Utilities/Setup to get a local copy of the combined database. But it works! and no recursion... Thanks [/b] |
Author: | Dale [ Wed Apr 25, 2007 4:02 pm ] |
Post subject: | |
Thanks, siasl for that information. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |