1748201 Members
3206 Online
108759 Solutions
New Discussion юеВ

Re: Strange NFS problem

 
kaushikbr
Frequent Advisor

Strange NFS problem

Hi All

We have a strange NFS problem in our environment.
We have 3 filesystems exported on the server to several clients.
We dont seem to have any issues mounting these 3 filesystems on all but one client.

On this troublesome client we seem to have issues mounting all 3 filesystems. We get problems with any of these 3 filesystems.
When we try to mount these filesystems we get "Permission denied" message or we get I/O error.

When I look in the syslog on the server side, we see the following entry

Sep 24 09:45:29 sn4730a mountd[4570]: @┬й├Р denied access to /FS12/no_backup/vol6.

Notice the hostname of the client @┬й├Р.
The hostname however is sn463k3.

We are trying to use DNS and do not have the hostnames in the /etc/hosts file.

The hostname is resolved properly using DNS lookup. Reverse lookup also works fine.

Thanks in advance for all your valuable suggestions.

Regards
Kaushik
9 REPLIES 9
Horia Chirculescu
Honored Contributor

Re: Strange NFS problem

Hello,

How about the client side? Do you also get some messages there?

Best regards
Horia.

Best regards from Romania,
Horia.
kaushikbr
Frequent Advisor

Re: Strange NFS problem

On the client side we get the below error messages


Sep 24 09:46:41 sn463k3 vmunix: NFS access failed for server hpcnfs12: RPC: Authentication error
Sep 24 09:57:03 sn463k3 above message repeats 2 times

Regards
Kaushik
Horia Chirculescu
Honored Contributor

Re: Strange NFS problem

Do you have -anon=2,access=sn463k3 in /etc/exports on the server side?

Best regards
Horia
Best regards from Romania,
Horia.
kaushikbr
Frequent Advisor

Re: Strange NFS problem

share -o access=batch_farm:pluto:combox_farm,root=batch_farm:pluto:combox_farm /hpcnfs12/i/caf/no_backup/aerousers/vol6

The /etc/netgroup file has sn463k3.

batch_farm (sn463k4,,) (sn463k3,,) (sn463k2,,) (sn463k1,,) (sn463k0,,) (sn463jy,,)
Horia Chirculescu
Honored Contributor

Re: Strange NFS problem

Post here the result of

cat /etc/exports

Best regards
Horia.

Best regards from Romania,
Horia.
kaushikbr
Frequent Advisor

Re: Strange NFS problem

We do not have a /etc/exports file.
The filesystems are exported by a script.
They are part of a serviceguard package.
Every time the package is started, the filesystems are exported using the share command.

Regards
Kaushik
Horia Chirculescu
Honored Contributor

Re: Strange NFS problem

>The filesystems are exported by a script.
They are part of a serviceguard package.
Every time the package is started, the filesystems are exported using the share command.

So you are only exporting the file systems when the package is started? Do you stop the NFS server/unshare those in the event of package moving on another node from the cluster?

Can you post here the script (At least the relevant commands)

Best regards,
Horia.
Best regards from Romania,
Horia.
Dave Olker
HPE Pro

Re: Strange NFS problem

What OS is the server running? What NFS patch level are you running on the server? Once I know these answers I can suggest some next steps.

Dave
I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Prashanth.D.S
Honored Contributor

Re: Strange NFS problem

Hi Kaushik,

Sorry for being casual have you checked this link ..

http://docs.hp.com/en/B1031-90043/ch07s01.html

Search for "Permissioin Denied"

Best Regards,
Prashanth