- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NFS sharing problem
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
11-11-2009 11:43 PM
11-11-2009 11:43 PM
I want the nfs share from my 11.31 machine to be accessible to particular hosts which I specify in /etc/dfs/dfstab . I have specified rw access to one system in dfstab which works fine. But the problem is the NFS share is mountable in ro mode from all the systems . I want to disable that ro mounts.
baterp1:/>more /etc/dfs/dfstab
# place share(1M) commands here for automatic execution
# on entering init state 3.
#
# share [-F fstype] [ -o options] [-d "
# .e.g,
# share -F nfs -o rw=engineering -d "home dirs" /home
/usr/sbin/share -F nfs -o rw=batsfpm1,root=batsfpm1 -d "" /export
baterp1:/>
baterp1:/>
baterp1:/>share
- /export rw=batsfpm1,root=batsfpm1,ro= ""
baterp1:/>
Rgds
Vinayan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2009 12:29 AM
11-12-2009 12:29 AM
Re: NFS sharing problem
"...I want to disable that ro mounts..."
Question: You are trying to make rw but only get ro?
The last share that you run will over write the previous.
I'm still a little confused. Your NFS works? Some NFS works? No NFS works?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2009 12:57 AM
11-12-2009 12:57 AM
Re: NFS sharing problem
Try to edit the line:
/usr/sbin/share -F nfs -o rw=batsfpm1,root=batsfpm1 -d "" /export
to look like:
/usr/sbin/share -F nfs -o rw=batsfpm1 -d "" /export
Best regards,
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2009 01:03 AM
11-12-2009 01:03 AM
Re: NFS sharing problem
I have defined a host for rw mount in dfstab.
And that is functioning perfect. My problem is this nfs share is accessible to other hosts also but with only ro permission. Those ro permissions to other hosts shouldn't be there
Rgds
Vinayan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2009 01:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2009 01:11 AM
11-12-2009 01:11 AM
Re: NFS sharing problem
This is something else...
From the manual:
"
rw=client[:client] ...
Share the pathname read-mostly if sec= option is not provided. Read-mostly means read-write to those clients specified and read-only for all other systems. If a sec= option is provided, pathname is shared read/write only to the listed clients. No other systems can access pathname."
Aneesh allready gave to you the right answer to your problem.
Best regards,
Horia
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2009 01:13 AM
11-12-2009 01:13 AM
Re: NFS sharing problem
You can easily do this by using SMH.
a. Press n, Networking and Communications.
b. Press s, Network Services Configuration.
c. Press f, Networked File Systems.
d. Press s, Share/Unshare File System.
e. Press s,
Specify the filesystem details and select Specify Access Options/select Security Access.
g) Select configure / and define the access roles
Regards,
Aneesh