- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS Server hangs when share with option
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2009 02:45 PM
тАО06-19-2009 02:45 PM
NFS Server hangs when share with option
I tried to setup simple NFS share between two HP-UX B.11.31 hosts.
NFS Server (server3):
/usr/sbin/share -F nfs -o anon=-1,rw=,ro=server1:server2,root=server2 -d "Share Region" /ddshare Dev
server2:
mount -F nfs server3:/ddshare /mnt
NFS server server3 not responding still trying
server3 syslog:
vmunix: WARNING: nfsauth: mountd not responding
Then shared without option:
NFS Serevr (server3):
/usr/sbin/share -F nfs -d "Share Region" /ddshare Dev
Mount on server2 success, and everything is OK.
What is wrong with ro and rw options?
Regards,
Damir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2009 12:23 PM
тАО06-20-2009 12:23 PM
Re: NFS Server hangs when share with option
also, server2 has "root" access, and "read-only?". Not sure what the intent is there, as I'd think if you give root access, it would want tp have "read/write" as well
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2009 12:00 AM
тАО06-21-2009 12:00 AM
Re: NFS Server hangs when share with option
Suggest introducing your options one at a time.
I'm not happy with the rw= and no list. That makes no sense. If you want to provide rw access then put a hostname on the list. Otherwise why is it there?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 12:53 AM
тАО06-23-2009 12:53 AM
Re: NFS Server hangs when share with option
Hi all,
if you use:
/usr/sbin/ncweb -t, then browse to:
SMH-> Networking and Communications-> Networked File Systems-> Share/Unshare Filesystem
and add share with this command, the syntax is exactly as I wrote in my post.
I tried every possible combination of the share command from command line also, but the result is same.
Every time I used less parameter, but any combination of parameters doesn't work except simple command without any parameters, which means that I share to every host with write permission.
The failing commands are:
/usr/sbin/share -F nfs -o anon=-1,rw=,ro=server1:server2,root=server2 -d "Share Region" /ddshare Dev
/usr/sbin/share -F nfs -o ro=server1:server2 -d "Share Region" /ddshare Dev
/usr/sbin/share -F nfs -o ro=server2 -d "Share Region" /ddshare Dev
/usr/sbin/share -F nfs -o rw=server2 -d "Share Region" /ddshare Dev
/usr/sbin/share -F nfs -o rw=server2 /ddshare
/usr/sbin/share -F nfs -o ro=server2 /ddshare
Only this works:
/usr/sbin/share -F nfs /ddshare
If root have read-only or write access to the shared path is irrelevant in this case.
It shouldn't have access at all in final setup.
Regards,
Damir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 01:18 PM
тАО07-01-2009 01:18 PM
Re: NFS Server hangs when share with option
The problem is solved.
During the instalation of the server hostname was given as FQDN: server1.mydomain.local
# hostname
server1.mydomain.local
Changing the hostname to short name: server1
and restart of the nfs services (core, server and client) solved the issue.
# hostname server1
# hostname
server1
Also in the /etc/rc.config.d/netconf/ parameter:
HOSTNAME=server1.mydomain.local
is changed to:
HOSTNAME=server1
to retain short hostname after reboot.
Regards,
Damir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2009 01:20 PM
тАО07-01-2009 01:20 PM
Re: NFS Server hangs when share with option
The problem is solved changing the host name from FQDN host name server1.mydomain.local to short host name server1.