LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-18-2010, 11:38 AM   #1
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
Question NFS booted client lockd ports not fixed


Hi.
I boot some Slackware with PXE. All work fine except i can't fix the client lockd ports.
NFS is compiled inside the kernel, so all modprobe.d options are useless.

This is the tftp server's config :

label slackware
menu label ^Slackware
KERNEL slackware/vmlinuz
APPEND default vmlinuz initrd=slackware/initrd.gz load_ramdisk=1 prompt_ramdisk=0 root=192.168.1.1:/srv/exports/slackware/ ip=dhcp nfsroot=192.168.1.1:/srv/exports/slack64/ rootpath=192.168.1.1:/srv/exports/slackware/ hda=none ro,async,nolock,rsize=8192,wsize=8192,proto=tcp,lockd.udpport=32771,lockd.tcpport=44865

But rpcinfo -p on the client side shows me totally different ports.
On the NFS server, the ports are ok, as i appended lines in /etc/lilo.conf
Server and client kernels/modules are identical.

Maybe should i have to do something inside the initrd ?
 
Old 03-24-2010, 03:13 AM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
Ok i figured it out !!!

When nfs is compiled inside the kernel, lockd ports settings are made via /etc/sysctl.conf :

# TCP Port for lock manager
fs.nfs.nlm_tcpport = 44865
# UDP Port for lock manager
fs.nfs.nlm_udpport = 32771

Last edited by Linux.tar.gz; 03-24-2010 at 04:03 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux NFS client <--> Leopard NFS server ACL support tplessers Linux - Networking 0 02-17-2010 04:28 AM
distribution to be booted through network (nfs) freeindy Linux - Distributions 1 02-26-2008 08:49 PM
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM
Downloading large files locks system up when booted off NFS edman007 Linux - Networking 3 02-26-2006 01:22 PM
Getting message during startup about NFS lockd rdaves@earthlink.net Linux - Newbie 2 06-10-2001 11:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration