On 3/21/07, <b class="gmail_sendername">John Goulah</b> <<a href="mailto:jgoulah@gmail.com">jgoulah@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<font color="black" face="Verdana,Arial,Helvetica" size="2"><font color="black" face="Verdana,Arial,Helvetica" size="2">
Ian Forde wrote: <br><font color="#660066">> On Tue, 2007-03-20 at 18:14 -0400, Rich West wrote: <br>> <br></font><font color="#007777">>> R. G. Newbury wrote: <br>>> <br></font><font color="#990000">
>>> Blammo wrote: <br>>>> <br>>>> <br></font><font color="#000000">>>>> On 3/20/07, John Goulah <jgoulah[at]gmail.com> wrote: <br>>>>> <br>>>>>
<br></font><font color="#660066">>>>>> Hi, <br>>>>>> <br>>>>>> I had recently switched all of my data partitions to an <b style="color: black; background-color: rgb(255, 255, 128);">
NFS</b> mounted <br>>>>>> filesystem. Everything works fine, until the system is sitting for about a <br>>>>>> day or so, and then when I try to go into the videos they are gone, and I <br>
>>>>> have to restart the
<b style="color: black; background-color: rgb(170, 170, 255);">frontend</b>. A similar problem happens with the music <br>>>>>> portion, except it just freezes when I click it. Again restarting the <br>>>>>>
<b style="color: black; background-color: rgb(170, 170, 255);">frontend</b> solves the problem. The <b style="color: black; background-color: rgb(255, 255, 128);">NFS</b> partitions stay mounted (I dont have to <br>>>>>> remount anything). Is there anything I can do to resolve this, or ideas on
<br>>>>>> where to look for the problem? <br>>>>>> <br>>>>>> <br></font><font color="#000000">>>>> You might check your firewall setup on both backend and
<b style="color: black; background-color: rgb(170, 170, 255);">frontend</b>. I <br>>>>> had an issue on a system I set up a few months ago, where iptables <br>>>>> kept killing <b style="color: black; background-color: rgb(255, 255, 128);">
NFS</b> sessions after a "idle timeout". <br>>>>> <br>>>>> You don't say what OS you're running, but if you're running a <br>>>>> redhat-derivitive (centos, rhel, fedora etc) you should be able to
<br>>>>> stop the iptables service (as root) by typing "service iptables stop". <br>>>>> Give it 24 hours and see if that helps. <br>>>>> <br>>>>> To stop the service from starting on boot (again on a redhat) you can
<br>>>>> type "chkconfig iptables off" <br>>>>> <br>>>>> <br>>>>> <br></font><font color="#990000">>>> Better yet, if you are running Fedora (or RedHat derived) run the
<br>>>> program 'lokkit' and select the box to allow <b style="color: black; background-color: rgb(255, 255, 128);">NFS</b>. Lokkit is a small <br>>>> program to configure the firewall/iptables in Fedora.
<br>>>> <br>>>> <br>>>> If you find that you cannot mount your <b style="color: black; background-color: rgb(255, 255, 128);">NFS</b> share, and get a 'permission <br>>>> denied' error, but that you can *then* get in, if you run 'iptables -F'
<br>>>> on the <b style="color: black; background-color: rgb(255, 255, 128);">NFS</b> server end of the pair, then your firewall is set to refuse <br>>>> <b style="color: black; background-color: rgb(255, 255, 128);">
NFS</b> access. Use lokkit. <br>>>> <br>>>> You should NOT just turn of iptables: That IS your firewall! <br>>>> <br></font><font color="#007777">>> Off Topic, but if you are within your own internal (aka private) network
<br>>> with a firewall between your network and the rest of the internet, there <br>>> is no need for individual firewalls on individual machines. <br>>> <br></font><font color="#660066">> <br>
> Actually, that's an individual choice, and a good basic security
<br>> practice... <br></font> <br>Now we're way off topic. Let's try to keep within the realm of mythtv <br>rather than providing advice on non-myth related components. <br> <br>I haven't seen any further responses from the original poster, so I can
<br>only hope that they managed to work out the issue. There isn't much <br>involved with an <b style="color: black; background-color: rgb(255, 255, 128);">NFS</b> setup: <br>o server (/etc/exports and the right rpc &
<b style="color: black; background-color: rgb(255, 255, 128);">nfs</b> daemons running) <br>o client (/etc/fstab and the right rpc & <b style="color: black; background-color: rgb(255, 255, 128);">nfs</b> client daemons running)
<br>If the original poster were using autofs (automounter), then that could <br>have an impact as well. <br> <br>Personally, I'm <b style="color: black; background-color: rgb(255, 255, 128);">NFS</b> mounting my videos and music volumes on my FE's from
<br>my main server (not my mythtv BE, but another machine) via autofs <br>(backed by LDAP) and I haven't run in to the issue that was listed. <br> <br>Responders to the original posting suggested disabling iptables (aka:
<br>the firewall), but did not add what appears to be the necessary <br>disclaimer which would state that disabling iptables would be used as a <br>method for _debugging_ the situation. Since that disclaimer was implied
<br>rather than stated, those messages were followed by a couple of panicky <br>responses and ended up causing an off-topic tangent. <br> <br>So, in essence: disable the firewall, see if it makes a difference. If <br>
it doesn't, then it isn't related to the firewall in any way, and you
<br>can choose to either re-enable it or leave it disabled (it is up to <br>you). If it does make a difference, then the problem is with your <br>firewall and you will have to debug that further. <br> <br>In either case, though, it is an OS level situation, not a MythTV one.
<br> <br>-Rich <br>_______________________________________________ <br>mythtv-users mailing list <br>mythtv-users[at]mythtv.org <br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" rel="nofollow" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a></font></font></blockquote><div><br><br><br><br><br><br>Hi, <br><br> Sorry for the slow reply. I have the archving turned on for mailing list and for some reason I cant login and the send password isn't working.
<br><br><br>Anyway, to clear a few things up:<br><br> - I am running debian (not redhat) , no firewall is running b/c my network is internal and behind a firewall<br><br>Maybe we are onto something with the automount, I am mounting as an example like this:
<br><br>thecus:/raid/data/videos /mnt/thecus_video nfs nfsvers=2,rsize=8192,wsize=8192,soft,auto,actimeo=0<br><br><br>I'm not seeing much in the logs but I'll take a closer look. Should I disable the automount and see if that helps?
<br><br></div><br></div><br>