- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Strange problem while exporting FS using expor...
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
08-25-2008 06:55 AM
08-25-2008 06:55 AM
Strange problem while exporting FS using exportfs
myhp12 / $ uname -a
HP-UX myhp12 B.11.11 U 9000/800 3799681168 unlimited-user license
myhp12 / $ cat /etc/exports
#/backups/SRT_LOC/653 -access=192.168.7.21,root=192.168.7.21,ro
/backups/SRT_LOC/653 -access="myhp10.rwgm1.com",root=192.168.7.21,ro
myhp12 / $ exportfs -a
exportfs error: only specify one of rw or ro.
Using IP address instead of the host name works fine. i.e. say, from the above /etc/exports if I uncomment the first line and comment the second, the exportfs command goes through.
Looks like the "rw" in the domain name is causing this problem.
Anyone seen this before? Or am I doing something wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2008 07:17 AM
08-25-2008 07:17 AM
Re: Strange problem while exporting FS using exportfs
Drop the ,ro at the end and test again.
If you want ro then change the -access to -ro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2008 07:29 AM
08-25-2008 07:29 AM
Re: Strange problem while exporting FS using exportfs
Thanks! :)
But shouldn't it work either ways?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2008 07:36 AM
08-25-2008 07:36 AM
Re: Strange problem while exporting FS using exportfs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2008 08:48 PM
08-25-2008 08:48 PM
Re: Strange problem while exporting FS using exportfs
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2008 04:59 AM
08-26-2008 04:59 AM
Re: Strange problem while exporting FS using exportfs
access=[access_list][:access_list]
-hostname
The name of a host. With a server configured for DNS naming in the nsswitch "hosts" entry, any hostname must be represented as a fully qualified DNS name.
Currently HP-UX will allow a match for a non-fully qualified hostname; this HP only feature will be obsoleted in a later release of HP-UX.
& see the
DNS suffix section also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2008 05:47 AM
08-26-2008 05:47 AM
Re: Strange problem while exporting FS using exportfs
Give only the hostname, without full DNS name and then check.
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2008 05:20 AM
08-27-2008 05:20 AM
Re: Strange problem while exporting FS using exportfs
Thanks for your reply.
The workaround given by you does solve the error given by exportfs, but the result is not quite what I expect.
My new /etc/exports has:
/backups/SRT_LOC/653 - ro,access=myhp10.rwgm1.com,root=myhp10.rwgm1.com
But when i do just "exportfs", I get this output:
/backups/SRT_LOC/653 -access=ro,access=myhp10.rwgm1.com,root=myhp10.rwgm1.com
Please note that "ro" has gone to the access list.
@Rasheed:
Thanks for your reply.
I too had seen that in the man page. SO I am justified in using the FQDN, isnt it?
@SKR:
Thanks for your reply.
I get the same error even if my host name has a "rw" in it.