- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- clear cifsmount
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
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
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
тАО01-21-2009 09:51 AM
тАО01-21-2009 09:51 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2009 10:02 AM
тАО01-21-2009 10:02 AM
Re: clear cifsmount
removing /etc/mnttab is not effective, because that is really a record keeping file. The mount entry continues to return.
What is necessary is to clear the mount. umount, perhaps fuser -cuk on the file system to clear out the old file handles.
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
тАО01-21-2009 10:27 AM
тАО01-21-2009 10:27 AM
Re: clear cifsmount
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2009 11:10 AM
тАО01-21-2009 11:10 AM
Re: clear cifsmount
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2009 05:30 PM
тАО01-21-2009 05:30 PM
Re: clear cifsmount
Is the cifsclient still up? It appears that is is, since you can still issue cifs* commands.
The first thing I'd try is to recreate the share on the Windows system and try to access it. If that succeeds, unmount it with cifsumount and then remove it again on the windows side.
If that does not work, I believe you will not be able to gracefully unmount; you will have to forceably kill the cifsclient daemon, then do:
cifsclient force_umount
You may then need to wait for the mount to be removed from the kernel mount table (removing /etc/mnttab again might be useful at this point). If mount (without "-a") or bdf still show the mount after a reasonable time period, you may have no choice but to reboot to remove the stale mount.
All of this is dependent on the versions of HP-UX and the CIFS Client.
-Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 09:06 AM
тАО01-22-2009 09:06 AM
SolutionYou can try the following:
I think the best way to solve this issue is to create the moun_point in windows server.
Then do the umount.
If not possible thr the following:
#cifsumount
Stop cifs client on then
#cifsclient force_umount
In last case try the following shutdown the windows machine or stop only the network services then:
#/sbin/init.d/cifsclient stop
#cifsclient force_umount "mount_point"
I think this will solve your problems,
Best regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2009 01:05 PM
тАО01-27-2009 01:05 PM