- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: nfs mount in service guard
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
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
07-03-2011 11:18 PM
07-03-2011 11:18 PM
hello,
i tried to umount a filesystem :
- fuser -c <fs> and lsof -s +D <fs> didn't show any process
- i was perplexed and got an input to stop nfs shares with "/etc/cmcluster/<package>/hanfs.sh stop"
then it works.
my questions :
- does a command exist like "fuser" , which show process for nfs share fs ?
i found "nfsstat" , but no option for a filesystem ?
- can i find in the operating system , it is a nfs share ? i learned here, with example "ll -i /<fs>" shows inode 2, inode 2 is a mounted filesystem.
- what tasks i have to do to umount and mount a nfs share ? hanfs.sh stops all .
here my ideas:
1. umount <fs> ; <= not possible>
2. command for looking processes ?
3. no open processes
4. find out , if it is a nfs share
5. yes, "nfs-umount"
6. after some jobs , mount the nfs share
7. mount
8. nfs options for "sharing"
regards,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2011 12:22 AM
07-04-2011 12:22 AM
Re: nfs mount in service guard
There is fuser and lsof.
If you are on 11.31, there is umount -f.
- Tags:
- lsof
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2011 12:44 AM
07-04-2011 12:44 AM
Re: nfs mount in service guard
hello,
i posted : fuser -c <fs> and lsof -s +D <fs> didn't show any process
following tasks i do and i got the errors
umount <fs>
umount: cannot unmount /dev/vgfs/fs : Device busy
umount: return error 1.
# fuser -c <fs> and lsof -s +D <fs> didn't show any process
umount -f <fs>
usage: umount [-V] [-v] { special | directory }
umount [-F FStype] [-v] -a
umount: return error 1.
uname -a
HP-UX server B.11.31 U ia64 4022283311 unlimited-user license
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2011 06:06 AM
07-04-2011 06:06 AM
Re: nfs mount in service guard
hello,
what's the best way to find out , if it is a nfs share and show with a command the filesystem is in use ?
regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2011 06:24 AM
07-04-2011 06:24 AM
Re: nfs mount in service guard
check background process
#ps -ef |grep nfs
#kill -l SEGV (pid)
then try to umount/mount FS
Thanks
BR
Naj
____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2011 05:54 AM
07-20-2011 05:54 AM
Re: nfs mount in service guard
hello,
what about with the commands " share -F nfs ..." , "showmount"
regards
- Tags:
- showmount
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2011 07:21 AM
07-21-2011 07:21 AM
SolutionTo check nfs mount on server.
# showmount -a (Print all remote mounts)
# showmount -e (Print the list of exported file systems)
# cat /etc/exports (directories to export to NFS clients)
# cat /etc/dfs/dfstab (directories to export to NFS clients - HP-UX 11.31 onwards)
To check remote mount
# showmount -e host (This shows you any nfs exports that might be available from a server to that specific host)
In nfs clinet
# bdf -t nfs
# cat /etc/mnttab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2011 01:56 AM
07-28-2011 01:56 AM
Re: nfs mount in service guard
thx :
what are the same commands at HPUX 11.23:
HPUX 11.31
Create Share
/usr/sbin/share -F nfs -o anon=65534 -d "test share" /test_share
Remove Share
/usr/sbin/unshare -F nfs /test_share
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2011 02:43 AM
07-28-2011 02:43 AM
Re: nfs mount in service guard
>what are the same commands at HPUX 11.23:
>Create Share
exportfs(1m)
>Remove Share
exportfs -u
- Tags:
- exportfs