nfs mount problems

From: p cooper (pdconetwofour_numbers__at_yahoo.co.uk)
Date: 09/29/05


Date: Thu, 29 Sep 2005 20:37:43 GMT


server
grenada / # cat /etc/exports |grep -v '#'
/var/www 192.168.0.0/24(rw)
grenada / #
                              
client
dads / # mount -t nfs 192.168.0.1:/var/www /mnt/GRENADA
mounts it
but
dads apache2 # mount -t nfs grenada:/var/www /mnt/GRENADA
mount: grenada:/var/www failed, reason given by server: Permission denied
dads apache2 #
             
even though
dads apache2 # ping grenada
PING grenada.home.nw(192.168.0.1) 56(84) bytes of data.
64 bytes from vexim (192.168.0.1): icmp_seq=1 ttl=64 time=0.506 ms
64 bytes from vexim (192.168.0.1): icmp_seq=2 ttl=64 time=0.494 ms
64 bytes from vexim (192.168.0.1): icmp_seq=3 ttl=64 time=0.484 ms

--- grenada.home.nw ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.484/0.494/0.506/0.027 ms
dads apache2 #

if the server /etc/exports is

grenada / # cat /etc/exports |grep -v '#'
/tmp 192.168.0.0/24(rw)
/home 192.168.0.0/24(rw)
grenada / #

 home mounts but tmp doesnt
[code]dads apache2 # mount -t nfs 192.168.0.1:/home /mnt/GRENADA
dads apache2 # umount /mnt/GRENADA/
dads apache2 # mount -t nfs 192.168.0.1:/tmp /mnt/GRENADA
mount: 192.168.0.1:/tmp failed, reason given by server: Permission denied
dads apache2 #
with the file persmissions

grenada / # ls -la |grep tmp
drwxrwxrwt 4 root root 940 Sep 28 11:15 tmp
grenada / # ls -la |grep home
drwxr-xr-x 5 root root 4096 Aug 26 09:19 home
grenada / # [/code]

why doesnt DNS lookup work within nfs ?
why cant I mount the /tmp directory ?



Relevant Pages

  • [opensuse] share samba and pam_mount
    ... This server is a member of AD. ... Users' local configuration file (if there is none, ... Individual users may define additional volumes to mount if allowed by ... You can specify either absolute paths, or relative ones, in which case ...
    (SuSE)
  • Summary: Gentoo Linux NFS problem
    ... was started on the Gentoo side before trying to mount the device. ... to a Gentoo Linux client. ... firewalls are disabled on both machines. ... Rpcinfo queries of the server report all is well. ...
    (SunManagers)
  • [1/9] pohmelfs: documentation.
    ... This patch includes POHMELFS design and implementation description. ... Separate file includes mount options, ... * Fast and scalable multithreaded userspace server. ... +command (or set of commands, which is frequently used during data writing: ...
    (Linux-Kernel)
  • [1/9] pohmelfs: documentation.
    ... This patch includes POHMELFS design and implementation description. ... Separate file includes mount options, ... * Fast and scalable multithreaded userspace server. ... +command (or set of commands, which is frequently used during data writing: ...
    (Linux-Kernel)
  • RE: MS Services for UNIX 3.5
    ... by a SFU 3.5 server with no problems - performs as expected. ... 100Mbit LAN connection) but only between the SuperMicro unit and my XP ... both the ASUS and SuperMicro units can mount an exported ... properly mapping linux and windows user accounts. ...
    (RedHat)