NFS - mount: permission denied

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I can't mount an exported fc5t3 server nfs share from a fc4 client. It
was working when the server was fc3.

[root@dkt ~]# mount -t nfs4 s0:/home /mnt/s0
mount: permission denied

The server is fc5t3 and the client fc4. SELinux is disabled in both.

Server fc5t3 config:

[root@s0 ~]# uname -a
Linux s0 2.6.15-1.1996_FC5 #1 Tue Feb 28 16:03:15 EST 2006 i686 athlon
i386 GNU/Linux

[root@s0 ~]# cat /etc/exports
/home      10.1.1.0/24(rw,sync,nohide)

[root@s0 ~]# ls -ld /home
drwxr-xr-x 3 root root 4096 Feb 24 09:49 /home

[root@s0 ~]# cat /etc/auto.master
#
# $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#/misc  /etc/auto.misc --timeout=60
#/smb   /etc/auto.smb
/net    /etc/auto.net

[root@s0 ~]# cat /etc/auto.home
cat: /etc/auto.home: No such file or directory

[root@s0 ~]# rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  32768  status
    100024    1   tcp  35032  status
    100011    1   udp    920  rquotad
    100011    2   udp    920  rquotad
    100011    1   tcp    923  rquotad
    100011    2   tcp    923  rquotad
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100021    1   udp  32770  nlockmgr
    100021    3   udp  32770  nlockmgr
    100021    4   udp  32770  nlockmgr
    100021    1   tcp  41034  nlockmgr
    100021    3   tcp  41034  nlockmgr
    100021    4   tcp  41034  nlockmgr
    100005    1   udp    942  mountd
    100005    1   tcp    945  mountd
    100005    2   udp    942  mountd
    100005    2   tcp    945  mountd
    100005    3   udp    942  mountd
    100005    3   tcp    945  mountd

Client fc4 config:

[root@dkt ~]# ls -ld /mnt/s0
drwxr-xr-x  2 root root 4096 Aug 15  2005 /mnt/s0

[root@dkt ~]# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
/dev/devpts             /dev/pts                devpts  gid=5,mode=620  0 0
/dev/shm                /dev/shm                tmpfs   defaults        0 0
/dev/proc               /proc                   proc    defaults        0 0
/dev/sys                /sys                    sysfs   defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
s0:/home /mnt/s0 nfs4 noauto,user,owner,rw
/dev/fd0                /media/floppy           auto   
pamconsole,exec,noauto,utf8,managed 0 0
/dev/hdd                /media/cdrom            auto   
pamconsole,exec,noauto,managed 0 0
/dev/hdc                /media/cdrecorder       auto   
pamconsole,exec,noauto,managed 0 0

[root@dkt ~]# rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  32768  status
    100024    1   tcp  52610  status
    100011    1   udp    890  rquotad
    100011    2   udp    890  rquotad
    100011    1   tcp    893  rquotad
    100011    2   tcp    893  rquotad
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100021    1   udp  32770  nlockmgr
    100021    3   udp  32770  nlockmgr
    100021    4   udp  32770  nlockmgr
    100021    1   tcp  53917  nlockmgr
    100021    3   tcp  53917  nlockmgr
    100021    4   tcp  53917  nlockmgr
    100005    1   udp    916  mountd
    100005    1   tcp    919  mountd
    100005    2   udp    916  mountd
    100005    2   tcp    919  mountd
    100005    3   udp    916  mountd
    100005    3   tcp    919  mountd
1073741824    1   tcp  55382

Regards, Clodoaldo Pinto

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]