- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS can't mount with client alias in server's /etc...
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
01-30-2005 07:42 PM
01-30-2005 07:42 PM
Here the situation.
On Client(192.168.3.2):
/etc/hosts
127.0.0.1 localhost
192.168.3.1 dummy_server server_name
192.168.3.2 client_name
...
On Server(192.168.3.1):
/etc/hosts
...
192.168.3.2 dummy_client client_name
...
/etc/exports
/share -access=client_name
Problem:
When I try to mount from client:
mount server_name:/share /share or
mount dummy_server:/share /share
both give me "Permission denied"
But work when change the /etc/exports
to :
/share -access=dummy_client,client_name
So, why is that?
Regards,
Thomas
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2005 08:13 PM
01-30-2005 08:13 PM
SolutionYour /etc/nsswitch.conf states the priority of resolving hostnames to ip-adresses. If it states dns first the entry in /etc/hosts will not matter. Also mind that you provide the full domain name.
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2005 08:20 PM
01-30-2005 08:20 PM
Re: NFS can't mount with client alias in server's /etc/exports
It may be because you are using aliases at the /etc/hosts files. Do you need those aliases? If not, try it after removing the aliases...
Best Regards,
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2005 08:29 PM
01-30-2005 08:29 PM
Re: NFS can't mount with client alias in server's /etc/exports
As we have no DNS setup for internal use,
only "files" specified in /etc/nsswitch.conf,
so plain "client_name" already the FQDN.
Eric,
There are some special need to use alias
in our previous setup, so can you explain
why I will encounter this problem?
Regards,
Thomas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2005 09:59 PM
01-30-2005 09:59 PM
Re: NFS can't mount with client alias in server's /etc/exports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2005 01:33 AM
01-31-2005 01:33 AM
Re: NFS can't mount with client alias in server's /etc/exports
If you want this to work, there are multiple solutions:
1) switch dummy_client and client_name in /etc/hosts.
2) add dummy_client to the list of clients you allow mounting, like you tested yourself
3) replace the hostname with the IP address in /etc/exports, so it becomes
/share -access=192.168.3.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2005 07:13 PM
01-31-2005 07:13 PM
Re: NFS can't mount with client alias in server's /etc/exports
When you think about this it is very secure behaviour since somebody could simply add a name as an alias name for another system and then use this to mount an attack.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2005 07:23 PM
01-31-2005 07:23 PM
Re: NFS can't mount with client alias in server's /etc/exports
host
host
should return the same names for NFS to verify he is the right one .. else it will fail.
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2005 04:46 PM
02-03-2005 04:46 PM