NFS over ssh problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

First I set up ssh portforwarding using:

/usr/bin/ssh root@<remotehost> -L 250:irc.dynip.no:2049 -f sleep 60d &

Then I mount using the following params in fstab:

localhost:/somedir      /somedir    nfs 
rw,tcp,hard,intr,port=250,mountport=251 0 0

I can telnet to port 250/251 and it answers like expected. I can also see 
the packets travelling through the tunnel using tcpdump.

However, if I try to mount the dir (mount -a), I get this error:

mount to NFS server 'localhost' failed: server is down.

Sniffing on port 22 when running the mount command, nothing happens. It 
kinda seems like it ignores the port/mountport options.

Any ideas?

Regards,
Harald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20050403/406a15b1/attachment.htm

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux