- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- nfs issue, can't read certain files
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
09-30-2002 08:57 AM
09-30-2002 08:57 AM
nfs issue, can't read certain files
On the system that mounts, I can't read files where the owner user id is not resolved. In other words, that user doesn't exist on the system that mounts. The files have world read permissions.
Any ideas?
Thanks, Masaki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 09:01 AM
09-30-2002 09:01 AM
Re: nfs issue, can't read certain files
GL,
C
http://docs.hp.com/hpux/onlinedocs/B1031-90048/00/00/42-con.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 09:11 AM
09-30-2002 09:11 AM
Re: nfs issue, can't read certain files
Set anon=0 or any other valid UID on each system to fix the problem. If exporting read only, setting anon to 0 is not a security risk.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 10:10 AM
09-30-2002 10:10 AM
Re: nfs issue, can't read certain files
if you create a file by root in a exported nfs volume owner will be id -1
other users must exist in both machines (same ID)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 12:01 PM
09-30-2002 12:01 PM
Re: nfs issue, can't read certain files
Default on solaris is UID: -65534, HP-UX:-1.
Since it is erroneous to mount a read only file system as root, what occurs is that NFS can map the ID so permission is granted under world permissions. Unless this is an automount there will be no problems. If it's an automount then the mount occurs a bit differently and problems can occur.
I'd still recommend you make a generic user on each machine and map annon to that though, as root exports of any size, shape and color can have unknown side effects.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 12:24 PM
09-30-2002 12:24 PM
Re: nfs issue, can't read certain files
It turns out I was missing user "nobody" from my export server. I added it, set "use uid of user 'noboday'", but no go. Also tried specifying UID to other like "0", still o go.
to pick up the changes, I ran exportfs -av, restarted nfs.server, nfs.client but no joy.
Masaki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 12:28 PM
09-30-2002 12:28 PM
Re: nfs issue, can't read certain files
NOTE: This does not effect clients who have already mounted the server.
TO update clients you must "umount" the NFS directory, then remount the directory. Now the new mount options will apply to both.
Regards,
Shannon