- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS exports directory.
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
02-07-2003 06:31 AM
02-07-2003 06:31 AM
1. Have exports file on production.
/usr/ud/HARRIS
in /etc/exports /usr/ud/HARRIS -ro
/usr/ud/HARRIS/GMAX
/usr/ud/HARRIS is needed to -ro to the world
but /usr/ud/HARRIS/GMAX needs to default to -rw to only one system.
When I do a exportfs -a the following msg shows up as
exportfs error: /usr/ud/HARRIS/GMAX: parent-directory (/usr/ud/HARRIS) already e
xported
And the people on the development system can get to the GMAX directory but only can read and can not write to it. If I export /usr/ud/HARRIS as default rw, GMAX is writable but also the HARRIS directory which has productin files that could be overwritten or removed and this is definitely a NO NO. I am just using the stand NFS mount not autofs
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 06:36 AM
02-07-2003 06:36 AM
Re: NFS exports directory.
If the parent directory is read only, the child directory should not be read-write.
Methinks your directory standard should be reversed - write directories at the top, read-only directories either separate or further down the directory structure.
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 06:36 AM
02-07-2003 06:36 AM
SolutionThat is not possible.
When you mount the parent dir as read only the child dir still has the same permissions.
i think what you can do is
mount /usr/ud/HARRIS/GMAX into a different mount point on the NFS server and export it read write.
check and revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 06:42 AM
02-07-2003 06:42 AM
Re: NFS exports directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 06:51 AM
02-07-2003 06:51 AM
Re: NFS exports directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 06:53 AM
02-07-2003 06:53 AM
Re: NFS exports directory.
Have a look at exports man page.
//
rw=hostname[:hostname]...
Export the directory read-mostly. Read-mostly means
read-only to most machines, but read-write to those
specified. If neither ro nor rw is specified, the
directory is exported read-write to all. The ro and rw
options cannot be used on the same exports line.
//
Now once you export your /usr/ud/harris directory as rw to only those systems that need read-write access. The rest by default will get read-only access. For ex., if you have servers servera, serverb and serverc. If your exports file on servera is like
/your_dir -rw=serverb
You can still mount /your_dir on serverc but is going to be only read-only. On serverb, you will have read-write access on this mount point.
-Sri