<br><font size=2 face="sans-serif">I've got a setup where I run nfs over
ssh on several distros, and it's been working like a charm on suse, mandrake,
redhat 7-9 etc, but I've been unable to get it to work on CentOS.</font>
<br>
<br><font size=2 face="sans-serif">First I set up ssh portforwarding using:</font>
<br>
<br><font size=2 face="sans-serif">/usr/bin/ssh root@<remotehost>
-L 250:irc.dynip.no:2049 -f sleep 60d &</font>
<br>
<br><font size=2 face="sans-serif">Then I mount using the following params
in fstab:</font>
<br>
<br><font size=2 face="sans-serif">localhost:/somedir      /somedir
   nfs     rw,tcp,hard,intr,port=250,mountport=251
0 0</font>
<br>
<br><font size=2 face="sans-serif">I can telnet to port 250/251 and it
answers like expected. I can also see the packets travelling through the
tunnel using tcpdump.</font>
<br>
<br><font size=2 face="sans-serif">However, if I try to mount the dir (mount
-a), I get this error:</font>
<br>
<br><font size=2 face="sans-serif">mount to NFS server 'localhost' failed:
server is down.</font>
<br>
<br><font size=2 face="sans-serif">Sniffing on port 22 when running the
mount command, nothing happens. It kinda seems like it ignores the port/mountport
options.</font>
<br>
<br><font size=2 face="sans-serif">Any ideas?</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br><font size=2 face="sans-serif">Harald</font>
<br>