HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- exportfs: No host name given
Operating System - Linux
1828983
Members
2315
Online
109986
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
10-01-2004 01:39 AM
10-01-2004 01:39 AM
Hi,
I have to export one directory in one server.
I put in /etc/exports
#
/export/htdocs/pladegovern hppz09(rw,async) sunz27(rw,async) sunz42(rw,async)
and when I do, it returns me, this error...
Could anyone help me?
Thanks,
Carmen.
# exportfs -a
exportfs: No host name given with /export/htdocs/pladegovern (rw,sync,wdelay,hide,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2), suggest *(rw,sync,wdelay,hide,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2) to avoid warning
I have to export one directory in one server.
I put in /etc/exports
#
/export/htdocs/pladegovern hppz09(rw,async) sunz27(rw,async) sunz42(rw,async)
and when I do, it returns me, this error...
Could anyone help me?
Thanks,
Carmen.
# exportfs -a
exportfs: No host name given with /export/htdocs/pladegovern (rw,sync,wdelay,hide,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2), suggest *(rw,sync,wdelay,hide,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2) to avoid warning
Users are not too bad ;-)
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2004 01:52 AM
10-01-2004 01:52 AM
Solution
Hostnames of
hppz09
sunz27
sunz42
are not resolved by NFS server.
You can check as,
nslookup
It is good to keep Fully Qualified Domain Name there. IF you see man exports, there are four Machine Name Formats given.
So try as,
hostname.domainname.com
TRy to check resolvation as,
--- /etc/nsswitch.conf ---
hosts: dns files
--- /etc/resolv.conf ---
domain yourdomain.com
nameserver xx.xx.xx.xx
Check resolvation now as,
nslookup FQDN ( hostname.domainname.com )
If success then you can NFS action there on /etc/exports file.
HTH.
hppz09
sunz27
sunz42
are not resolved by NFS server.
You can check as,
nslookup
It is good to keep Fully Qualified Domain Name there. IF you see man exports, there are four Machine Name Formats given.
So try as,
hostname.domainname.com
TRy to check resolvation as,
--- /etc/nsswitch.conf ---
hosts: dns files
--- /etc/resolv.conf ---
domain yourdomain.com
nameserver xx.xx.xx.xx
Check resolvation now as,
nslookup FQDN ( hostname.domainname.com )
If success then you can NFS action there on /etc/exports file.
HTH.
Easy to suggest when don't know about the problem!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 02:14 AM
10-04-2004 02:14 AM
Re: exportfs: No host name given
Carme,
In case you use NIS, then you can create a netgroup in NIS and use it in the /etc/exports file with the following syntax -- @netgroup. This simplifies management in case you have many NFS servers and they are all part of the NFS environment.
Regards,
Ross
In case you use NIS, then you can create a netgroup in NIS and use it in the /etc/exports file with the following syntax -- @netgroup. This simplifies management in case you have many NFS servers and they are all part of the NFS environment.
Regards,
Ross
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