- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NFS -access not working
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
11-12-2003 09:23 AM
11-12-2003 09:23 AM
NFS -access not working
Maybe I am confused how this works but here is
what I want to happen and here is what is happening.
I want to give nfs access only to one machine.
All other machines I do not want them to be able
to access the server.
Here is my /etc/exports
/users -rw=jurassic,root=jurassic
This works fine, but all other machines can mount the /users directory as ro.
I want no access.
I have tried the following:
/users -rw=jurassic,root=jurassic,access=jurassic
This gives me the error:
mount -f NFS justice:/users /HP_users
mount: access denied for justice:/users
For everyone,
I even tried the following:
/users -access=jurassic
with the same outcome no one can access.
So it looks like -access does not work.
I have confirmed I ran exportfs -a after changing the /etc/exports file. I also have tried it with the fully qualified name with the
same result.
Any help would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2003 09:31 AM
11-12-2003 09:31 AM
Re: NFS -access not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2003 09:37 AM
11-12-2003 09:37 AM
Re: NFS -access not working
If you would like to export the filesystem to a specifc system you only need to put the system name after the filesystem like this...
/users jurassic
You can use the -access flag to include netgroups/subnets and multiple hosts colon - seperated, but the man pages on my 11.0 system state that "any hostname must be represented as a fully qualified DNS name. Currently HP-UX will attempt to match a non-fully qualified hostname; this HP-only feature will be obsoleted in a later release of HP-UX."
Try looking at the man pages of exports, "man exports" which will provide you with more information.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2003 09:38 AM
11-12-2003 09:38 AM
Re: NFS -access not working
exportfs -av
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
11-12-2003 09:54 AM
11-12-2003 09:54 AM
Re: NFS -access not working
exportfs -a (-v verbose)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2003 09:57 AM
11-12-2003 09:57 AM
Re: NFS -access not working
You have the opportunity to provide Alex with his first itrc points.
I encourage you to do so.
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
11-12-2003 10:14 AM
11-12-2003 10:14 AM
Re: NFS -access not working
Don't put a - infront of access...do it like:
/users root=jurassic,access=jurassic
Then, as Alex/Sep said, exportfs -a
Rgds...Geoff
PS: You shouldn't need to fully qualify - but you could to try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 03:34 AM
11-13-2003 03:34 AM
Re: NFS -access not working
One other common solution, is to check to see if the "reverse mapping" of the IP address that is seen in the NFS Mount request to the NFS Server might not be mapping to the name "jurassic". To check this, log in from jarassic to the NFS Server and do a "who -mR"; this will show that mapping. If example:
nbox# who -mR
root pts/1 Nov 13 11:26 (jurassic.atl.hp.com)
If you get just an IP address or some different name, then the /etc/hosts file on the NFS Server (or NIS/DNS database) needs to updated, or use that different name in the /etc/exports file.
Hope that helped,
-> Brian Hackley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 08:23 AM
11-13-2003 08:23 AM