LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 05-02-2001, 09:22 PM   #1
jaysan
LQ Newbie
 
Registered: May 2001
Distribution: Slackware Linux 9.1
Posts: 23

Rep: Reputation: 15
Question


Greetings!

Iam a newbie in using linux and i am trying to share a linux directory to our Sun machines running on SunOS 5.6 via NFS. I have installed RedHat linux 7.1 (kernel 2.4.2-2) (seawolf) on an AMD K6 233 Mhz machine with a 30Gb Harddrive.

I have followed the instructions on the how-to's for nfs. I was able to share the directories that i need to share. I was able to read and write files to the remote directories from our Sun machines. The problem occurs in one of our application running at the Sun Workstations. It cannot access certain files because the lock service on the linux machine is not responding (that is what the log says). Does this mean that i have a problem with the lock service on the linux machine? How can i check if the lock service is working or configured properly.

Here's the portmap listing from the linux machine

program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 1025 status
100024 1 tcp 1025 status
100007 2 udp 745 ypbind
100007 1 udp 745 ypbind
100007 2 tcp 748 ypbind
100007 1 tcp 748 ypbind
100011 1 udp 833 rquotad
100011 2 udp 833 rquotad
100005 1 udp 1026 mountd
100005 1 tcp 1025 mountd
100005 2 udp 1026 mountd
100005 2 tcp 1025 mountd
100005 3 udp 1026 mountd
100005 3 tcp 1025 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100021 1 udp 1027 nlockmgr
100021 3 udp 1027 nlockmgr
100021 4 udp 1027 nlockmgr
100001 3 udp 866 rstatd
100001 2 udp 866 rstatd
100001 1 udp 866 rstatd

I have read from the NFS how-to that Sun machines usually defaults to TCP while Linux Defaults to UDP protocol. Do i need to add nlockmgr with TCP protocol for it to work properly? If so, how can i configure nlockmgr to run at both udp and tcp protocols?

Your help is greatly appreciated!
I'm sorry if i asked a lot of questions.
I'm new to linux and i am still trying to get the hang of it.


thank you for your time.

Jay
 
Old 05-04-2001, 07:29 PM   #2
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Make sure you have the syntax in your Linux /etc/exports file correct. Linux and Solaris use different syntax. Don't set the Linux one up the way you would for Solaris. Look at 'man exports' on the Linux box for details.

After you are sure you have the exports file correct.. issue a 'service nfs restart' command to restart it.

 
  


Reply



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
nfs question phonecian Linux - Security 3 10-02-2005 09:34 PM
Simple NFS question mazzo Linux - Newbie 2 07-11-2005 07:50 AM
NFS question xushi Solaris / OpenSolaris 1 05-15-2005 05:02 AM
NFS question sassman Linux - Networking 4 11-17-2004 12:24 PM
NFS Client question def1014 Linux - Networking 0 07-22-2003 03:02 PM

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

All times are GMT -5. The time now is 02:36 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