- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NFS export "Read-only" only on one server
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
Forums
Discussions
Discussions
Discussions
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
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
05-17-2004 02:45 AM
05-17-2004 02:45 AM
/dir/sysadmin -anon=0,rw=host1:host2:host3:host4:.....
One server is mounting this export "read only", and we can't figure out why:
$ rm outfile
rm: outfile not removed. Read-only file system
The mount command shows what other server's mount commands show:
/dir/sysadmin on host0:/dir/sysadmin soft,rsize=32768,wsize=32768,NFSv3,dev=44000001 on Thu May 13 14:20:06 2004
Running 11.23 on client and 11.11 on server, other 11.23 box shows no such issues. Any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2004 02:54 AM
05-17-2004 02:54 AM
Re: NFS export "Read-only" only on one server
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2004 02:58 AM
05-17-2004 02:58 AM
Re: NFS export "Read-only" only on one server
$ mount -p
share:/dir/sysadmin /dir/sysadmin nfs soft,rsize=32768,wsize=32768,NFSv3,dev=44000001
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2004 03:01 AM
05-17-2004 03:01 AM
Re: NFS export "Read-only" only on one server
Are all the names in DNS or the hosts files.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2004 03:05 AM
05-17-2004 03:05 AM
Re: NFS export "Read-only" only on one server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2004 03:10 AM
05-17-2004 03:10 AM
Re: NFS export "Read-only" only on one server
#exporfs -i -o rw=host1 /dir/sysadmin
It will ignor the option from /etc/exports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2004 03:15 AM
05-17-2004 03:15 AM
Re: NFS export "Read-only" only on one server
I would also see if I could modify "outfile" as opposed to rm'ing it.
I would also check to see if all your 11.23 boxes have the same patch levels. Do a swlist of a good box and compare it to your bad box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2004 03:17 AM
05-17-2004 03:17 AM
Re: NFS export "Read-only" only on one server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 01:23 AM
05-18-2004 01:23 AM
Re: NFS export "Read-only" only on one server
Usually this issue is caused by the mapping of the IP address of the incoming NFS reqest to a hostname that does not match up in /etc/exports.
To find out that name:
telnet from NFS client to NFS Server
issue who -mR
The name that the IP maps to will be in parans. Example
$ who -mR
netest pts/0 May 18 07:59 (tbox.atl.hp.com)
You should use a fully-qualified hostname if using DNS. You might want to use both the fully-qualified hostname and the short hostname to be sure.
Or you could actually have a typo in the file. I have seen that quite a few times.
To check out that theory, move the hostname with a problem closer to the front of the list. Also do a "set list" command in vi to look for special characters.
Hope all that helps,
-> Brian Hackley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 01:31 AM
05-18-2004 01:31 AM
Re: NFS export "Read-only" only on one server
It's in HP's hands now. We tried:
1) Re-exporting filesystem
2) Mounting explicity rw
3) changing hostnames to IP Addresses
4) Google
5) UID's and GID's match
6) Rebooting the box
7) Checked /etc/services to make sure tcp/udp defined for nfs
Probably a bunch of other stuff as well....I'll reply when we figure it out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 01:59 AM
05-18-2004 01:59 AM
SolutionOne other note, I recently heard of an 11.0 user who increased # NFS daemons in /etc/rc.config.d beyond the default
NUM_NFSD=16
Also you may need to make further kernel tunables e.g. max_thread_proc to 1024 or larger.
Dave Olkers book, "optimizing NFS performance" Appendix A for further details. Older doc on the web by Dave before he wrote is book is avail at http://docs.cup.hp.com/hpux/onlinedocs/1435/NFSPerformanceTuninginHP-UX11.0and11iSystems.pdf
Looking forward to hearing of your progress,
-> Brian Hackley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 02:04 AM
05-18-2004 02:04 AM
Re: NFS export "Read-only" only on one server
We added the host for that IP to /etc/exports and success.
I gave your last post 10 points, because I had already rated your successful answer at 1 point (yikes, sorry).
I had recommended early on that we sniff the connection setup, but we never got around to it. We would have instantly seen the source IP was different.
Thanks again to all who helped!