1832512 Members
4756 Online
110043 Solutions
New Discussion

NFS Problems on HP-UX v3

 
SOLVED
Go to solution
Marko Vidoz
Occasional Advisor

NFS Problems on HP-UX v3

Hi all,
I have problems sharing Filesystems on server running hp-ux 11.31.
NFS Server seems to be running but when i give rw access to special hosts, they cannot mount the filesystem. When i give access to everyone - it works.
Here is my entrie in dfstab:
/usr/sbin/share -F nfs -o rw=eds-clus1-n2 /export/ora
When i change entrie to: share -F nfs /export/ora

i am able to mount /export/ora on n2.

Do you have any idea?

Thanks Wolfgang
7 REPLIES 7
Steven Schweda
Honored Contributor
Solution

Re: NFS Problems on HP-UX v3

> /usr/sbin/share -F nfs -o rw=eds-clus1-n2 /export/ora

According to "man share", the syntax is:

rw=client[:client] ...

not:

rw=client[-client] ...

I'd probably try something more like:

/usr/sbin/share -F nfs -o rw=eds:clus1:n2 /export/ora
Marko Vidoz
Occasional Advisor

Re: NFS Problems on HP-UX v3

Hi Steven,

unfortunately we have a strange hostname eds-clus1-n2, so:
/usr/sbin/share -F nfs -o rw=eds-clus1-n2 /export/ora should only give host eds-clus1-n2 access to /export/ora.

br
wolfgang
Steven Schweda
Honored Contributor

Re: NFS Problems on HP-UX v3

> unfortunately we have a strange hostname
> eds-clus1-n2, [...]

Ah. I see. You said, "on n2" to confuse
things. It worked.

When you specify your funny name, what does
"showmount -e" say?

Can you try the same things with a system
which has simpler name? Do you need to add
"root=eds-clus1-n2" to your "share" command?

If the "-" characters are causing the
problem, you might need to add some simpler
alias names (DNS or /etc/hosts). Or, perhaps
you could/should define a netgroup with a
simple name. ("man share_nfs".)

> Do you have any idea?

Asking for _good_ ideas might be wiser.
whiz_kid
Regular Advisor

Re: NFS Problems on HP-UX v3

in 11iv3, root doesnt hv a write perms ovr the nfs

so

/usr/sbin/share -F nfs -o root=eds-clus1-n2 rw=eds-clus1-n2 /export/ora

my 10 cents pls
whiz_kid
Regular Advisor

Re: NFS Problems on HP-UX v3

in 11iv3, root doesnt hv a write perms ovr the nfs

export it as below.


/usr/sbin/share -F nfs -o root=eds-clus1-n2 rw=eds-clus1-n2 /export/ora

my 10 cents pls
Dave Olker
Neighborhood Moderator

Re: NFS Problems on HP-UX v3

Hi Wolfgang,

Are you using DNS for your hostname resolution? If so, you need to use the fully-qualified domain name for the hosts in the rw= list. Let me know if that works. If it doesn't I'll help you troubleshoot the problem.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Armin Kunaschik
Esteemed Contributor

Re: NFS Problems on HP-UX v3

For some reason the NFS implementation of 11.31 works only with fully qualified host/domain names. You have to add the full domain to every(!) hostname you configure in root,rw,ro-Statements.

My 2 cents,
Armin

PS: Assign points if you find answers useful!
And now for something completely different...