SUMMARY: Urgent NFS mount problem - NFS fsstat failed for server

From: Moodley, Sugan S <Sugan.Moodley_at_standardbank.co.za>
Date: Sun Oct 19 2008 - 07:14:10 EDT
Hi all,

I had a problem similar to one posted below by Alan but could not find a
full summary.
I managed to fix my problem so here's the initial problem and then the
summary:

NFS Server A shares a writable share to a specific client B however
client B cannot write to it. Both servers running Solaris 10 sparc

Observations and checks:
- /etc/dfs/dfstab on Server A is:
/usr/sbin/share -F nfs -o nosuid,rw=clientB
/zones/clientA/FileSystems/usr/sap/trans
- all nfs services on Server A running otherwise run: svcadm -v enable
-r nfs/server
- autofs is running on Client B and is accessing share via
/net/ServerA/zones/clientA/FileSystems/usr/sap/trans
- ensure that files and dir's on Server A has the same UID/GID numeric
settings as on Client B
- ensure all permissions in the full dir path of the share on Server A
are at least 555 (read+execute)
- we are using DNS in /etc/resolv.conf and /etc/nsswitch.conf

SUMMARY:

Change the share to point the fully qualified domain name of Client B
and the access of Server A from Client B must also be the same:
- /etc/dfs/dfstab on Server A:
/usr/sbin/share -F nfs -o nosuid,rw=clientB.domain.name.com
/zones/clientA/FileSystems/usr/sap/trans
- unshare  /zones/clientA/FileSystems/usr/sap/trans
- shareall
- on Client B:
cd /net/ServerA.domain.name.com/zones/clientA/FileSystems/usr/sap/trans
- touch a

This was not a problem until we install some Live Upgrade minimum
patches recently (refer to latest version of SUN's infodoc 72099)

Regards
Sugan Moodley

Original SUMMARY:


PARTIAL SUMMARY: Urgent NFS mount problem - NFS fsstat failed for server

Alan Bradley - CPX WC AlanB at ComparexAfrica.co.za
<mailto:summaries%40sunmanagers.org?Subject=PARTIAL%20SUMMARY%3A%20Urgen
t%20NFS%20mount%20problem%20-%20NFS%20fsstat%20failed%0A%20%20for%20serv
er&In-Reply-To=>
Mon Jan 27 10:39:19 EST 2003

________________________________

Hi All,

By sharing the filesystems as 'public' I could get them mounted.
However,
if I share specifically for machine 'abcd' (-o rw=abcd) I get the errors
as
below.

Regards,
Alan.


-----Original Message-----
From: Alan Bradley - CPX WC [mailto:AlanB at comparexafrica.co.za
<http://www.sunmanagers.org/mailman/listinfo/summaries> ]
Sent: Monday, January 27, 2003 4:38 PM
To: Sun Managers List
Subject: Urgent NFS mount problem - NFS fsstat failed for server


Hi All,

I have an urgent problem with some NFS mounts:

When I try to mount the NFS directories, I get a permission denied
error.
If I do a df -k I get the following output:

abcd:root:/etc/rc2.d => df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/md/dsk/d0       8261393 7341688  837092    90%    /
/proc                      0       0       0     0%    /proc
fd                         0       0       0     0%    /dev/fd
mnttab                     0       0       0     0%    /etc/mnttab
swap                 4837216      16 4837200     1%    /var/run
swap                 4860336   23136 4837200     1%    /tmp
/dev/md/dsk/d3       4131866 2486684 1603864    61%    /backup
/dev/md/dsk/d4      216325417 192114915 22047248    90%    /db2/dms
NFS fsstat failed for server wxyz: error 7 (RPC: Authentication error)
df: cannot statvfs /opt/SUNWspro: Permission denied
abcd:root:/etc/rc2.d =>

The following appears in /var/adm/messages:

Jan 27 16:24:07 abcd last message repeated 109 times
Jan 27 16:24:38 abcd nfs: [ID 664466 kern.notice] NFS getattr failed for
server wxyz: error 7 (RPC: Authentication error)


I have checked/done the following:
1. Restarted the NFS daemons on server: wxyz
2. Restarted the NFS daemons on server: abcd
3. Changed the mount point permissions to '777'
4. If I run a showmount -e OR a dfshares on server wxyz the directories
are
exported
5. If on server abcd, and I run: dfshares wxyz I also see the
directories
available

I am now out of idea's and urgently need some help please!
Unfortunately I
cannot reboot the servers at the moment.

I will summarise.

Regards,
Alan.
_____________________________________________________________________________
________________________________________________________

Standard Bank email Disclaimer and confidentiality note

This e-mail, its attachments and any rights attaching hereto are, unless the
content clearly indicates otherwise, the property of
Standard Bank Group Limited and its subsidiaries. It is confidential, private
and intended for only the addressee.

Should you not be the addressee and receive this e-mail by mistake, kindly
notify the sender, and delete this e-mail immediately.
Do not disclose or use it in any way. Views and opinions expressed in this
e-mail are those of the sender unless clearly stated as
those of Standard Bank Group.

Standard Bank Group accepts no liability for any loss or damages howsoever
incurred, or suffered, resulting, or arising,
from the use of this email or its attachments.

Standard Bank Group does not warrant the integrity of this e-mail nor that it
is free of errors, viruses, interception or interference.

Licensed divisions of the Standard Bank Group are authorised financial
services providers in terms of the Financial Advisory and
Intermediary Services Act, No 37 of 2002 (FAIS).

For information about the Standard Bank Group visit our website
http://www.standardbank.com
_____________________________________________________________________________
___________________________________________________________
Received on Sun Oct 19 07:18:16 2008

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:12 EST