HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- nfs access fails
Operating System - HP-UX
1837770
Members
4534
Online
110119
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-18-2004 05:41 AM
05-18-2004 05:41 AM
Dear all,
I try to export some directories from an HP-UX 11 system to an HP-UX 10.20 system.
First I did it by editing the /etc/exports file correspondent to the man of it and exportfs.
I did not succeed: The remote computer can mount this directori4es as intended but I am not able to get a write permission. Only if I replace -access=hostname by -root=hostname I can write on the remotes host FS. Following the man page and the help desk it must be possible to export via nfs in this way that I can write as anonymous user at leat or even as the user I am at the mounting system.
I tried it aswell using SAM (to export) with the same result.
Are there patches needed for this purposes? Are there any serious problems known between 11 and 10.20 in this area?
Thanks for some helpfull answers and best regards,
Oliver
I try to export some directories from an HP-UX 11 system to an HP-UX 10.20 system.
First I did it by editing the /etc/exports file correspondent to the man of it and exportfs.
I did not succeed: The remote computer can mount this directori4es as intended but I am not able to get a write permission. Only if I replace -access=hostname by -root=hostname I can write on the remotes host FS. Following the man page and the help desk it must be possible to export via nfs in this way that I can write as anonymous user at leat or even as the user I am at the mounting system.
I tried it aswell using SAM (to export) with the same result.
Are there patches needed for this purposes? Are there any serious problems known between 11 and 10.20 in this area?
Thanks for some helpfull answers and best regards,
Oliver
Oliver Schmitz
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 05:58 AM
05-18-2004 05:58 AM
Solution
When u NFS mount a filesystem the access on the server is done with the same UID used on the client, so this UID must have the right access on the server to write/read/execute files.
This is true for all username but root
Default is to avoid root on NFS client to be root on NFS mounted file systems.
It means that, by default, UID 0 (root) is changed on the server to the anonymous UID (default -2)
U can change this behaviour in different way, with different options during the export command.
-anon= change the mapped UID for root client
-root=, allow root from listed host to remain root (UID 0 is not mapped for listed host)
for instance the line
/tmp -anon=0
allow mounting read/write from any host and doesn't map UID 0 to anon for any map: root on every NFS client mantains superuser on the mounted filesystem
Hope this explain ur doubts
Cesare
This is true for all username but root
Default is to avoid root on NFS client to be root on NFS mounted file systems.
It means that, by default, UID 0 (root) is changed on the server to the anonymous UID (default -2)
U can change this behaviour in different way, with different options during the export command.
-anon=
-root=
for instance the line
/tmp -anon=0
allow mounting read/write from any host and doesn't map UID 0 to anon for any map: root on every NFS client mantains superuser on the mounted filesystem
Hope this explain ur doubts
Cesare
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP