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

Re: NFS mount problem



NFS remembers the ip and hostname pair of the clients
and somehow tries to match it next time it
authenticates. To clear the entries in
/var/lib/nfs/xtab to the following on server.

#exportfs -u <ip-of-router>:/data
#exportfs -u <router-fqdn>:/data

Or otherwise just do
#exportfs -r 

Hope that solves it. 

Regards;
Rituraj
Try following commands on server.
--- 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,secure,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
> 
> 
> -- 
> To UNSUBSCRIBE, email to
> debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 



Reply to: