- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NFS related Question
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
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
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-21-2012 04:03 AM - last edited on 11-21-2012 06:13 PM by Maiko-I
11-21-2012 04:03 AM - last edited on 11-21-2012 06:13 PM by Maiko-I
NFS related Question
Hi Experts
shall I remove the entries in /etc/exports file while NFS process is running.
Primary: cat /etc/exports
/NFStmp -rw=secondry
In Secondry Servers fstab the NFS file System commented.
P.S. This thread has been moved from HP-UX > General to HP-UX > networking - HP Forums Moderator
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Tags:
- NFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2012 04:16 AM
11-21-2012 04:16 AM
Re: NFS related Question
You should probably unexport the currently-exported filesystem first, before removing it from /etc/exports.
If you wish to remove all the currently-exported filesystems, "exportfs -ua" is the easiest way to un-export all of them at once.
If you have other /etc/exports entries and don't want to remove all of them, use "exportfs -u /NFStmp".
Then edit /etc/exports.
There is no need to stop the NFS daemons.
If you removed the entry from /etc/exports without un-exporting first, the /NFStmp filesystem would still remain as exported until the system was rebooted. This could cause some surprises: "Why can't I unmount /NFStmp??? According to fuser -c, nothing is using it, so it should be free to unmount!"
The NFS export is a kernel-level action, so it is not directly associated with any normal process, so the fuser command won't see it. Yet you cannot unmount a filesystem that is still exported.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2012 04:41 AM
11-21-2012 04:41 AM
Re: NFS related Question
Hi
How can i check currently-exported filesystems
showmount -e is that correct command ?
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2012 04:57 AM - edited 11-22-2012 12:41 AM
11-21-2012 04:57 AM - edited 11-22-2012 12:41 AM
Re: NFS related Question
>shall I remove the entries in /etc/exports file while NFS process is running.
That's just a text file (like fstab), it will only matter when doing exportfs(1m) or share(1m).
>How can I check currently-exported filesystems
You can also look at /etc/xtab or /etc/dfs/dfstab for 11.31.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2012 02:21 AM
11-23-2012 02:21 AM
Re: NFS related Question
Hi Experts
I check the xtab it also having the same entry as /etc/exports file
I manually remove the same or exportfs -ua remove the entry form xtab??????
Thanks In Advance.
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2012 02:33 AM
11-23-2012 02:33 AM
Re: NFS related Question
>I manually remove the same or exportfs -ua remove the entry form xtab?
/etc/xtab (like /etc/mnttab) is a generated file. You must use exportfs -u to remove entries.