Linux Debian support - Mounting NFS share problem

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > January 2005 > Mounting NFS share problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Mounting NFS share problem
pascal

2005-01-10, 7:45 am

I'm trying to mount /data from a client (router).
Immediately it gives me: access denied.

I've been googling for couple of weeks now without solution/fix.

From the client rpcinfo -p 192.168.0.2 shows:
portmapper
mountd
nfs
status
nlockmgr

Portmapper on the client is running.

On the server:
/etc/hosts.allow --> ALL:ALL
/etc/hosts.deny is empty
/etc/exports --> /data router.deception.lan(rw,sync,no_root_squash)
/proc/fs/nfs/exports -->
# Path Client(Flags) # IPs
/data router.deception.lan(rw,no_root_squash,sync,wdelay)
/var/lib/nfs/xtab -->
/data
router.deception. lan(rw,sync,wdelay,hide,nocrossmnt,secur
e,no_root_squash,
no_all_squash,subtree_check,secure_locks
,mapping=identity,anonuid=-2,anongid=-2)
/var/log/syslog and messages give the same output -->
Jan 10 10:56:09 mainframe rpc.mountd: authenticated mount request from
router.deception.lan:629 for /data (/data)

Can someone please help me fix this thing?

Decep







don_pettengill@spamgilent.com

2005-01-10, 8:48 pm

pascal <pascal@deception.nl> wrote:
: I'm trying to mount /data from a client (router).
: Immediately it gives me: access denied.

: I've been googling for couple of weeks now without solution/fix.

: From the client rpcinfo -p 192.168.0.2 shows:
: portmapper
: mountd
: nfs
: status
: nlockmgr

: Portmapper on the client is running.

: On the server:
: /etc/hosts.allow --> ALL:ALL
: /etc/hosts.deny is empty
: /etc/exports --> /data router.deception.lan(rw,sync,no_root_squash)
: /proc/fs/nfs/exports -->
: # Path Client(Flags) # IPs
: /data router.deception.lan(rw,no_root_squash,sync,wdelay)
: /var/lib/nfs/xtab -->
: /data
: router.deception. lan(rw,sync,wdelay,hide,nocrossmnt,secur
e,no_root_squash,
: no_all_squash,subtree_check,secure_locks
,mapping=identity,anonuid=-2,anongid=-2)
: /var/log/syslog and messages give the same output -->
: Jan 10 10:56:09 mainframe rpc.mountd: authenticated mount request from
: router.deception.lan:629 for /data (/data)

: Can someone please help me fix this thing?

: Decep

Does the server use NIS? Do you have /etc/netgroup? (man netgroup for
details). Might not hurt to try it ..

Just guessing ... looks strange to me! More details on your server
config and whether other Linux boxen can mount the disk, would help
others help you ... my arrow is shot :-)

Don Pettengill
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com