- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to restart NFS server safely
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
Discussions
Discussions
Discussions
Forums
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
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
тАО12-14-2009 12:44 PM
тАО12-14-2009 12:44 PM
Re: How to restart NFS server safely
Starting on 11.31 dfstab replaces /etc/exports:
http://docs.hp.com/en/B2355-60130/share.1M.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2009 01:56 PM
тАО12-14-2009 01:56 PM
Re: How to restart NFS server safely
Yes, it seems so. I tried it on my home OpenSuSE linux box:
# uname -a
Linux frances 2.6.30.1-libata_fix #11 Sat Jul 18 01:19:54 CEST 2009 i686 i686 i386 GNU/Linux
# showmount -e
Export list for myfrances:
/store oscar
# df /store /store/RAW /store/malacfej
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg00-store
9238088 7191084 2047004 78% /store
/dev/mapper/vg00-RAW 33672984 27300920 6372064 82% /store/RAW
/dev/mapper/vg00-store
9238088 7191084 2047004 78% /store
myfrances:~ # exportfs -i -o ro oscar:/store/RAW
# exportfs -i -o ro oscar:/store/malacfej
myfrances:~ # showmount -e
Export list for myfrances:
/store oscar
/store/RAW oscar
/store/malacfej oscar
#
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2009 05:22 AM
тАО12-16-2009 05:22 AM
Re: How to restart NFS server safely
I have some questions about NFS.
1)Is NFS distributed file system?
2)what are other distributed file systems?
3)what does distributed file system mean?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2009 06:19 AM
тАО12-16-2009 06:19 AM
Re: How to restart NFS server safely
I have some doubts about the entries in /etc/exports and /etc/dfs/dfstab
1)
/usr/bin -root=sys1:sys2 --> /etc/exports
share -F nfs -o root=sys1:sys2 /usr/bin -->/etc/dfs/dfstab
1.1)Are both above entries meaning followings
"Root user of sys1 and sys2 has root access, but root users of all other NFS client are restricted.
All non-root users of all NFS clients (including sys1 and sys2) are having read/write access".
1.2)If not, what is the exact meaning?
2)
/usr/bin -root=basil,anon=65535 --> exports
share -F nfs -o root=basil,anon=65535 /usr/bin --> dfs
2.1)Are both above entries meaning followings
"The root user on client basil is allowed root access to the directory, but the root users on all other machines are treated as ├в unknown├в and denied access. The non-root users on all NFS clients are allowed read/write access, if the HP-UX permissions on that directory allow them read/write access.
Any user without a valid user ID (If the NFS client├в s user database and NFS server├в s user database don├в t match) who attempts access to /usr/bin directory will receive an RPC authentication error, because anonymous access is denied with the anon=65535 option."
2.2)If not,what is the exact meaning?
3)
/usr/bin -anon=200 --> exports
share -F -o anon=200 /usr/bin --> dfs
3.1)2.1)Are both above entries meaning followings
"The above example exports the /usr/bin directory to all NFS clients. Root users will be given the effective user ID of 200. Other anonymous users will keep their own user IDs (even though they do not exist in the NFS server├в s passwd database), but they will be given the access permissions associated with user ID 200. If a root user is allowed to create a file in this directory, the ls command will show that it is owned by user ID 200. If an anonymous user with a non-zero user ID (for example, 840) is allowed to create a file in this directory, the ls command will show that it is owned by user ID 840".
3.2)If not what is the exact meaning?
3.3)Here can we give other than 200 to anon?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2009 06:53 AM
тАО12-16-2009 06:53 AM
Re: How to restart NFS server safely
PSB
Hi All,
I have some doubts about the entries in /etc/exports and /etc/dfs/dfstab
1)
/usr/bin -root=sys1:sys2 --> /etc/exports
share -F nfs -o root=sys1:sys2 /usr/bin -->/etc/dfs/dfstab
1.1)Are both above entries meaning followings
"Root user of sys1 and sys2 has root access, but root users of all other NFS client are restricted.
All non-root users of all NFS clients (including sys1 and sys2) are having read/write access".
>>>
Correct. Restricted to default access policy and file permissions.
<<<
1.2)If not, what is the exact meaning?
2)
/usr/bin -root=basil,anon=65535 --> exports
share -F nfs -o root=basil,anon=65535 /usr/bin --> dfs
2.1)Are both above entries meaning followings
"The root user on client basil is allowed root access to the directory, but the root users on all other machines are treated as ├Г┬в├В ├В unknown├Г┬в├В ├В and denied access. The non-root users on all NFS clients are allowed read/write access, if the HP-UX permissions on that directory allow them read/write access.
Any user without a valid user ID (If the NFS client├Г┬в├В ├В s user database and NFS server├Г┬в├В ├В s user database don├Г┬в├В ├В t match) who attempts access to /usr/bin directory will receive an RPC authentication error, because anonymous access is denied with the anon=65535 option."
>>>
anon lets anonymous users, for example Ignite clients access the share with enough rights to do the work they need to do.
<<<
2.2)If not,what is the exact meaning?
3)
/usr/bin -anon=200 --> exports
share -F -o anon=200 /usr/bin --> dfs
3.1)2.1)Are both above entries meaning followings
"The above example exports the /usr/bin directory to all NFS clients. Root users will be given the effective user ID of 200. Other anonymous users will keep their own user IDs (even though they do not exist in the NFS server├Г┬в├В ├В s passwd database), but they will be given the access permissions associated with user ID 200. If a root user is allowed to create a file in this directory, the ls command will show that it is owned by user ID 200. If an anonymous user with a non-zero user ID (for example, 840) is allowed to create a file in this directory, the ls command will show that it is owned by user ID 840".
3.2)If not what is the exact meaning?
>>> I have no problem with this definition.
<<<
3.3)Here can we give other than 200 to anon?
>>
Yes
<<
I might word things differently. In the end,at some point you might run some tests in a lab to see how this works real world.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2009 07:14 AM
тАО12-16-2009 07:14 AM
Re: How to restart NFS server safely
What is the difference between /etc/exports and /etc/xtab in HP-UX 11.11.
Since, the command "showmount -e" is showing only the entries available in /etc/xtab but not /etc/exports.
Now i have some qustions:
1)Do we need to create the same entries in /etc/exports and /etc/xtab?
2)Please explain the difference between /etc/exports and /etc/xtab?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2009 07:20 AM
тАО12-16-2009 07:20 AM
Re: How to restart NFS server safely
> Please explain the difference between /etc/exports and /etc/xtab?
Once again, you should familiarize yourself with the things called "manpages":
http://docs.hp.com/en/B2355-60130/exports.4.html
In HP-UX, section 4 of the manpages is devoted to files.
# man 4 exports
Regards!
...JRF...
- « Previous
-
- 1
- 2
- Next »