LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   NFS over SSH hangup (https://www.linuxquestions.org/questions/linux-server-73/nfs-over-ssh-hangup-669402/)

zerg4141 09-12-2008 01:22 AM

NFS over SSH hangup
 
Hello LQO,

I'm trying to move my NFSv3 server over to only SSH accessible.

I've figured out most everything else from several HOWTOs, but i'm getting stuck on one small problem: my kernel has everything compiled in, and I need to force "lockd" to hold its TCP/UDP communications on a defined port.

I have tried following this walkthrough's suggestions on sending kernel arguments, but all i get back is this:
[from dmesg]
Kernel command line: root=UUID=34c74c14-ccc1-403c-9d54-7453adf25346 lockd.udpport=2232 lockd.tcpport=2232 ro quiet splash
Unknown boot option `lockd.udpport=2232': ignoring
Unknown boot option `lockd.tcpport=2232': ignoring
Any ideas?

Thanks,
zerg4141

zerg4141 09-15-2008 01:20 AM

Fixed it!
 
Found out that wherever I got those NFS kernel arguments was providing old data. This link seems to have updated parameters for the kernel.

For NFS, instead of issuing:
lockd.tcpport=2232,lockd.udpport=2232
use this:
lockd.nlm_tcpport=2232,lockd.nlm_udpport=2232
Hope this helps anyone else with similar problems.


All times are GMT -5. The time now is 03:47 AM.