LinuxQuestions.org
Visit Jeremy's Blog.
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 10-12-2004, 12:50 AM   #1
hiwa
LQ Newbie
 
Registered: Oct 2004
Location: Japan
Distribution: RHL9
Posts: 10

Rep: Reputation: 0
NFS newbie troubles


(1) Accessing Windows partition on the NFS server from client
NFS client can't access /mnt/windows dirs and files on the NFS server.

(2) NFS lock
Even after the client unmounts NFS mount point, we can't access files on
the server from THE server itself.

(3) NFS client don't access new hostname of the server
After changing the server host name by hostname command, the mount command
line on the client can't recognize the new host name. Only server's IP
address works on the command line:

mount -t nfs 192.168.11.3:/pub /nfs

I'd like to know the causes/reasons of above phenomenon and workarounds for
those.

Thanks in advance.
 
Old 10-12-2004, 01:43 AM   #2
convenientstore
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
(1) not sure what this is..... Can you give me more info and clarity on the issue?
(2)try to find out what has what by using lsof
(3)hostname does not update other computer's name resolution process.
You will have to either manually edit DNS server's entry OR client's /etc/hosts file.....

Hope this helps..
 
Old 10-12-2004, 06:27 AM   #3
hiwa
LQ Newbie
 
Registered: Oct 2004
Location: Japan
Distribution: RHL9
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for your caring.

> (1) not sure what this is..... Can you give me more info and clarity on the issue?
/etc/exports entry was:

/ 192.168.11.0/24(ro,no_root_squash)

Server's entire file system, including /mnt/windows, could be accessible from the client.

> (2)try to find out what has what by using lsof
I neve used lsof command. What's the point we shoud see in it?

> (3)hostname does not update other computer's name resolution process.
> You will have to either manually edit DNS server's entry OR client's /etc/hosts file.....
What is the 'DNS server's entry' ?
 
Old 10-12-2004, 10:34 AM   #4
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
1..try
/mnt/windows 192.168.11.*(rw)
in your exports. some servers refuse to export / no_root_squash'd. quite dangerious to...

2..please post (from the server):
"exportfs; mount"

3..machine to ip names are in /etc/hosts. they have to be the same on your network machines. /etc/nsswitch.conf should give you a line "hosts: files dns", so first the hosts-file will be tried to resolve a hostname and the nameserver in /etc/resolve will be tried.
if you have a dns-server set up on your network (likely bind/named) you'll have to edit your zone files there. if you don't know what i'm talking about just edit hosts.

sl mritch.
 
  


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
Newbie with login troubles mclieu Fedora 14 03-07-2005 04:27 PM
Newbie hardware troubles ... czechripper Linux - Newbie 6 10-18-2003 07:46 AM
Newbie modem troubles Theylan Linux - Hardware 2 09-24-2003 08:28 PM
Newbie in troubles CleonII Linux - General 3 05-15-2003 07:22 AM
NFS Troubles griffin Linux - Networking 0 04-13-2002 07:56 PM

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

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