- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- netgroup file
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
07-21-2003 09:12 PM
07-21-2003 09:12 PM
netgroup file
My netgroup file definitions dont work in /etc/exports.
/etc/netgroup has following line ...
---------------------------------------
abc (xyz01,,) (xyz02,,) (xyz03,,)
---------------------------------------
When i use it in /etc/exports as follows
---------------------------------------
/tmp -rw=atpsvr01 abc
---------------------------------------
i can see it being exported as
---------------------------------------
/tmp -rw=atpsvr01,access=abc
---------------------------------------
but i cannot mount the filesystem on any of the hosts under abc netgroup.i get permission
denied error. So i think this is because netgroup is not actually recognised.
Any clue what might be missing.
Thanxs ,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 10:01 PM
07-21-2003 10:01 PM
Re: netgroup file
Your /etc/netgroup seems to be OK, though maybe you need coma's between the definitions?
EG
abc (xyz01,,), (xyz02,,), (xyz03,,)
Try setting up /etc/exports as follows:
/tmp -access=abc:atpsvr01,rw=atpsvr01
Then:
# exportfs -av
If that doesn't work can you just add all 3 hosts defined in the abc netgroup to the access list? (ie don't use /etc/netgroup)
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 11:17 PM
07-21-2003 11:17 PM
Re: netgroup file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 06:07 AM
07-23-2003 06:07 AM
Re: netgroup file
It is possible that you have usage errors.
The access= list can include both hosts and netgroups and other options listed in the exports man page.
The rw= list and ro= can ONLY include hostname.
There is confusing verbage in the man page about fully qualified hostnames and DNS; limited testing showed that "short" or "long" hostnames seemed to work equally well.
Also, a netgroup entry does not require commas between the "triples" per the netgroup man page.
I hope I haven't muddied the water too much futher. I'll put myself on the list for notification of updates to this message in case the issue lingers.
Best of luck,
-> Brian Hackley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 10:57 PM
07-24-2003 10:57 PM
Re: netgroup file
I checked with HP about this drawback about not able to use netgroup in rw and ro options and they have come back saying it is developed by sun and is very unlikely that this feature would be added.
Hence i have worked around on this ... to get my things done.and assume this issue is closed ,thanxs for putting your thoughts in.