- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS mount of filesystem RW *and* RO
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
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
05-27-2004 02:31 AM
05-27-2004 02:31 AM
NFS mount of filesystem RW *and* RO
I need to mount a filesystem to two different machines, and, I need to export to machine A as READ-ONLY, and export to machine B as READ-WRITE.
Is this possible? And if so, what is the syntax in /etc/exports?
Thanks in advance!
Ben Chapman
chapmanb@saic.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 02:33 AM
05-27-2004 02:33 AM
Re: NFS mount of filesystem RW *and* RO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 02:33 AM
05-27-2004 02:33 AM
Re: NFS mount of filesystem RW *and* RO
I don't think you can do this on the export. From the man page:
"The ro and rw
options cannot be used on the same exports line."
You would have to control the mount options on the individual machines in order to accomplish this.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 02:36 AM
05-27-2004 02:36 AM
Re: NFS mount of filesystem RW *and* RO
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 02:37 AM
05-27-2004 02:37 AM
Re: NFS mount of filesystem RW *and* RO
rw=hostname[:hostname]...Export the directory read-mostly. Read-mostly means read-only to most machines, but read-write to those specified.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 02:46 AM
05-27-2004 02:46 AM
Re: NFS mount of filesystem RW *and* RO
Not sure it is possible, but you can try this:
#exports
/mountpoint -access=machineA,ro
/mountpoint -access=machineB,rw
exportfs -va
And see what gets exported
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 02:58 AM
05-27-2004 02:58 AM
Re: NFS mount of filesystem RW *and* RO
/mountpoint ro=MACHINE_A, rw=MACHINE_B
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 11:19 AM
05-27-2004 11:19 AM