LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-22-2014, 10:01 PM   #1
spyghost
Member
 
Registered: Jun 2003
Distribution: Redhat
Posts: 245

Rep: Reputation: 30
Question NFS share permission denied after client changes ip address


- client_a (RHEL6) needs to change IP address since it has moved to a new network. All NFS mounts are working here
- server_a (Solaris 9) has 5 shares but client_a only requires 3
Code:
# cat /etc/dfs/dfstab
share -F nfs -o rw=client_a -d "share_1" /export/share_1 
share -F nfs -o rw=client_a -d "share_2" /export/share_2 
share -F nfs -o rw=client_a -d "share_3" /export/share_3 
share -F nfs -o rw=client_a -d "share_4" /export/share_4 
share -F nfs -o rw=client_a -d "share_5" /export/share_5
* share_1/2/3 are working using the old IP address

after the change in IP address, client_a is showing permission denied whenever an ls, or df is done. the mount operation appears to be successful (return code of 0). however, /var/log/messages shows RPC server_a requires stronger authentication.

for troubleshooting sake, i tried to mount share_4 and share_5, and they mount without any errors.

Code:
# mount server_a:/export/share_1 /share_1
# echo $?
0
# df -k /share_1
df: `/share_1': Permission denied
df: no file systems processed
# mount server_a:/export/share_4 /share_4
# df -k /share_4
Filesystem           1K-blocks      Used Available Use% Mounted on
server_a:/export/share_4
                     221868032  59837440 139843584  30% /share_4
/var/log/messsages
Code:
client_a kernel: NFS: nfs mount opts='addr=10.123.0.30,vers=3,proto=tcp,mountvers=3,mountproto=udp,mountport=33689'
client_a kernel: NFS:   parsing nfs mount option 'addr=10.123.0.30'
client_a kernel: NFS:   parsing nfs mount option 'vers=3'
client_a kernel: NFS:   parsing nfs mount option 'proto=tcp'
client_a kernel: NFS:   parsing nfs mount option 'mountvers=3'
client_a kernel: NFS:   parsing nfs mount option 'mountproto=udp'
client_a kernel: NFS:   parsing nfs mount option 'mountport=33689'
client_a kernel: NFS: MNTPATH: '/export/share_1'
client_a kernel: NFS: sending MNT request for server_a:/export/share_1
client_a kernel: NFS: received 1 auth flavors
client_a kernel: NFS:   auth flavor[0]: 1
client_a kernel: NFS: MNT request succeeded
client_a kernel: NFS: using auth flavor 1
client_a kernel: --> nfs_init_server()
client_a kernel: --> nfs_get_client(server_a,v3)
client_a kernel: --> nfs_get_client() = ffff8802375cf000 [share]
client_a kernel: <-- nfs_init_server() = 0 [new ffff8802375cf000]
client_a kernel: --> nfs_probe_fsinfo()
client_a kernel: NFS call  fsinfo
client_a kernel: NFS reply fsinfo: 0
client_a kernel: set_pnfs_layoutdriver: Using NFSv4 I/O
client_a kernel: NFS call  pathconf
client_a kernel: RPC: server server_a requires stronger authentication.
client_a kernel: NFS reply pathconf: -13
client_a kernel: <-- nfs_probe_fsinfo() = 0
client_a kernel: NFS call  getattr
client_a kernel: NFS reply getattr: 0
client_a kernel: Server FSID: dd00009476:0
client_a kernel: NFS: get superblock cookie (0xffff880238901800/0xffff88023a75d270)
client_a kernel: do_proc_get_root: call  fsinfo
client_a kernel: do_proc_get_root: reply fsinfo: 0
client_a kernel: NFS: nfs_fhget(0:16/2 ct=1)
when i rollback to the old ip address, the required 3 shares are mounting correctly.

both server_a and client_a do not have software firewalls (ipfilter, etc...)

Last edited by spyghost; 04-23-2014 at 08:13 AM.
 
Old 04-23-2014, 06:58 AM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
what are the export rules on the server hosting the share?
 
Old 04-23-2014, 08:14 AM   #3
spyghost
Member
 
Registered: Jun 2003
Distribution: Redhat
Posts: 245

Original Poster
Rep: Reputation: 30
I've highlighted dfstab above
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] NFS share permission denied avtandil_k Linux - Networking 4 03-23-2010 02:34 PM
Permission denied trying to mount nfs share leupi Linux - Networking 1 07-30-2007 01:32 AM
nfs share: permission denied Kropotkin *BSD 11 01-10-2007 08:15 AM
NFS Woes: Client denied permission Swakoo Linux - Networking 3 03-13-2006 05:10 AM
Mounting an nfs share - Permission Denied doctorwebbox Linux - Networking 5 05-30-2005 01:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration