- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 11.31 - cannot umount even if no processes are on ...
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
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
тАО03-19-2008 01:06 AM
тАО03-19-2008 01:06 AM
I am facing strange problem. I cannot umount filesystem even if there are no processes on it.
While switching the related package, the MC/SG could not umount the FS because there have been some (SAP) processes there. (This FS had been NFS-exported onto another node before, but it had been umounted there.)
I have checked the processes there (fuser -cu) and there have been none so I have tried to umount it afterwards but to my surprise this could not be done:
umount: cannot unmount /dev/vgNSParch/lvsapmnt : Device busy
umount: return error 1.
I have checked open files:
(root)#/usr/local/bin/lsof | grep NSP
ksh 48030 root cwd DIR 64,0x4 96 3099 /etc/cmcluster/NSP
timeoutmo 54044 root cwd DIR 64,0x20002 1024 2 /sapmnt/NSP
time_out 54049 root cwd DIR 64,0x20002 1024 2 /sapmnt/NSP
(root)#ps -ef | grep -E '54044|54049'
root 54049 54044 0 19:28:44 pts/1 0:00 /opt/hpsmh/lbin/time_out /opt/hpsmh/logs/smh.timestamp 30
root 54460 51220 0 19:37:59 pts/1 0:00 grep -E 54044|54049
root 54044 1 0 19:28:44 pts/1 0:00 /usr/bin/sh /opt/hpsmh/lbin/timeoutmonitor 30
(root)#kill 54049 54044
(root)#umount /sapmnt/NSP
umount: cannot unmount /dev/vgNSParch/lvsapmnt : Device busy
umount: return error 1.
I have started the package again and tried to umount the FS - still the same.
I have even tried this dirty way:
# cp -p /etc/mnttab /etc/mnttab.bak
# rm /etc/mnttab && umount /sapmnt/NSP
...still the same (sighing desperately).
Could you help me anybody?
Dusan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2008 01:12 AM
тАО03-19-2008 01:12 AM
Re: 11.31 - cannot umount even if no processes are on mnt point
issue command to send SIGHKILL to open files in that mount point
#fuser -ku /sapmnt/NSP
or see which file is accessing yet
#fuser -cu /sapmnt/NSP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2008 01:16 AM
тАО03-19-2008 01:16 AM
Re: 11.31 - cannot umount even if no processes are on mnt point
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2008 01:21 AM
тАО03-19-2008 01:21 AM
Re: 11.31 - cannot umount even if no processes are on mnt point
please read all of my post before posting something.
As stated in the original post, I have done all the magic with fuser but with no positive results - and this is indeed one of the points.
Dukul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2008 01:30 AM
тАО03-19-2008 01:30 AM
Re: 11.31 - cannot umount even if no processes are on mnt point
you may be then check whole system ps -ef output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2008 01:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2008 01:35 AM
тАО03-19-2008 01:35 AM
Re: 11.31 - cannot umount even if no processes are on mnt point
great!
I have totally forgotten to check this.
So this was indeed the root cause:
(root)#showmount -e
export list for mcsapprd:
/sapmnt/NSP (everyone)
The rest was easy:
(root)#/sbin/init.d/nfs.client stop
killing nfs4cbd
(root)#/sbin/init.d/nfs.server stop
killing nfsd
killing rpc.mountd
(root)#/sbin/init.d/nfs.core stop
killing nfsmapid
killing rpcbind
(root)#umount /sapmnt/NSP
(root)#
UMOUNTED !:-)
Thanks for teaching me that the most simple approach works the best :-)
Dusan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2008 01:37 AM
тАО03-19-2008 01:37 AM
Re: 11.31 - cannot umount even if no processes are on mnt point
The most simple check led to solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2008 09:43 AM
тАО03-19-2008 09:43 AM
Re: 11.31 - cannot umount even if no processes are on mnt point
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2008 08:33 PM
тАО08-31-2008 08:33 PM