nfs problem

Rick Stevens rstevens at vitalstream.com
Tue Mar 8 18:53:11 UTC 2005


Ankush Grover wrote:
> On Tue, 08 Mar 2005 08:48:04 +0000, Paul Howarth <paul at city-fan.org> wrote:
> 
>>On Tue, 2005-03-08 at 12:40 +0530, Ankush Grover wrote:
>>
>>
>>>I am having one 2 debian pcs and 1 FC3 pc in my office.I want to share
>>>some files from debian pcs so that users on FC3 can access it.I  can
>>>see the files by giving command
>>>
>>>showmount -e 192.168.1.56.
>>>
>>>But whenever i try to mount that share it gives error
>>>
>>>mount -t nfs 192.168.1.56:/ctn  /ctn
>>>
>>>the /etc/exports file on one of the debian :
>>>
>>>
>>>/home/agrover           192.168.1.55(rw,sync,no_wdelay,squash uids-0-99)
>>>/ctn                          *(rw,async,no_root_squash)
>>>/var/log                      192.168.1.55(ro,all_squash)
>>>/raju                          192.168.1.55(rw,squash uids=0-99)
>>>/home/mverma            192.168.1.55(rw,squash uids=0-99)
>>>/home/rajat             192.168.1.55(rw,squash uids=0-99)
>>>/home/raju              192.168.1.55(rw,squash uids=0-99)
>>>
>>>
>>>
>>>the error i get is
>>>
>>> mount to NFS server '192.168.1.56' failed: server is down.The nfs
>>>,portmap and rpc services are running on debain as i can see the
>>>process id with grep command.
>>
>>Can the debian server mount the filesystem back to itself?
>>
>># mkdir /mnt/tmp
>># mount -t nfs 192.168.1.56:/ctn  /mnt/tmp
>>
>>That should establish whether the nfs server is working properly.

No, because the /etc/exports file on .56 specifically states that /ctn
is exported ONLY to .55.

> Hey thanks for the help,
> 
> i can't mount the nfs shares on the debian pcs and it gives the following errors
> 
> mount: 192.168.1.56:/home/raju failed, reason given by server: Permission denied
> 
> I don't know much about debian.
> 
> I know this is not debian list ,but if anybody knows the answer please tell me.

Remember that your NFS client must ALSO be running portmap and rpc.statd
for NFS mounts to work.  Once the mount happens, you can disable portmap
if you wish, but only after the mount is successful.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-            I'm afraid my karma just ran over your dogma            -
----------------------------------------------------------------------




More information about the fedora-list mailing list