![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
__________________
PS All of the above is to be read as '... unless I am wrong' ENDPS |
|
#7
|
|||
|
|||
|
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 |