The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
problem with dd command or maybe AFS problem Anta Shell Programming and Scripting 0 08-25-2006 07:10 AM
SSH Problem auth problem budrito UNIX for Advanced & Expert Users 1 03-17-2004 07:12 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 02-24-2002
Registered User
 

Join Date: Oct 2001
Posts: 61
NFS Problem

For having shared file system i've been using nfs ,but regarding this i've some problem ,when i execute "df -ak" i can see the shared file system & i can also go there & list files ,but when i want to create anything in this area (Incld. file ,dir ....) i get permission denied. (i've shared related file system in remote machine & fill auto_master & auto_direct properly ).
the related process is also up i think ....

could anyone help me in resolving this problem ?
Forum Sponsor
  #2  
Old 02-25-2002
Registered User
 

Join Date: Oct 2001
Posts: 61
Regarding the NFS problem i'm really in trouble ,could anyone help me?,

i've one more problem ,in another machine when i want to mount a remote file system manually ( mount -F nfs .......) it gives me :
"RPC not registered" , what does it mean?

Rgrds,
nikk
  #3  
Old 02-26-2002
Registered User
 

Join Date: Feb 2002
Location: Brabant, Belgium
Posts: 65
Check your options, and users.
The machine that exports the files, must give write permissions.
The machine that mounts the dir, must mount -rw.

You may be 'nikk' on two machines, but the user numbers may be different.
Make sure they correspond on all machines.

do man on exportfs and mount, the actual options may vary from system to system

Atle
  #4  
Old 02-26-2002
Registered User
 

Join Date: Feb 2002
Location: Brabant, Belgium
Posts: 65
About RPC .. not registred

This error is typical when you havent enabled RPC.

NFS sits on top of RPC (Remote Procedure Call) and you must have that daemon enabled as well.

/etc/services contains lots of interesting stuff, also, make sure that the daemon runs.

Atle
  #5  
Old 03-14-2002
Registered User
 

Join Date: Jan 2002
Location: Birmingham, England
Posts: 17
Sounds like your nfsd daemon is not running.

You can start it by running /etc/init.d/nfs.server start.

Also, to solve the 'permission denied' problem use the rw option when you do the mount. (ie mount -F nfs -o rw .........)
  #6  
Old 03-16-2002
Registered User
 

Join Date: Feb 2002
Location: Brabant, Belgium
Posts: 65
The right solution is often the simplest
__________________
PS
All of the above is to be read as '... unless I am wrong'
ENDPS
  #7  
Old 03-24-2002
Registered User
 

Join Date: Mar 2002
Location: Philadelphia, PA
Posts: 3
Talking NFS/Automounting Configuring

ON SERVER:

# vi /etc/dfs/dfstab
share -F nfs -o ro=client /usr/share/man
# /etc/init.d/nfs.server start ### starts server daemons

TELNET CLIENT or physicaly move your body to the client.

# mount server:/usr/share/man /usr/share/man ### to start mounting immediatly

!!!!!!!!!!!!if you have man directory in /usr/share, remove it!!!!!!!!!

or if you want the client mount server's man pages at boot:
# /etc/vfstab ### on client !
server:/usr/share/man - /usr/share/man nfs - yes soft
# vi /etc/auto_master
/- auto_direct
# vi /etc/auto_direct
/usr/share/man server:/usr/share/man
# automount -v
# man ls ### on client
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:08 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0