- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cannot delete entry in CIFS database
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
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
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-05-2007 02:37 AM
03-05-2007 02:37 AM
Cannot delete entry in CIFS database
I have mounted a windows shared on my HP-UX using cifsmount and the -s option (Save mount and password in database).
Now, I can umount the fs but I can't delete his entry in CIFS database:
cifsumount -d /xa136
Unmounting Share: Path not mounted!
somebody has an idea?
Lionel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2007 04:10 AM
03-05-2007 04:10 AM
Re: Cannot delete entry in CIFS database
I think there is a windows process on the windows share with an open file on the share.
It may not be a cifs related process which is why you can't manage it with the CIFS interface.
SEP
Back in the USA
For a week or so.
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
03-05-2007 07:31 PM
03-05-2007 07:31 PM
Re: Cannot delete entry in CIFS database
This is Eric in the HP CIFS Client lab.
The exact sequence of events you describe is not entirely clear. It appears you have successfully unmounted the Windows share, and (after unmounting), trying to do "cifsumount -d ..." to remove the user-database entry.
If my interpretation is not correct, please post a more explicit description and I'll do my best to solve it.
If I am correct, however, the problem is easy to correct: in the version of the CIFS Client that you are using (A.01.xx), user-database entries can be deleted only during a cifsumount operation. Since you have already unmounted the Windows share, you cannot unmount it again, thus you cannot delete the UDB entry.
You have two solutions: first and easiest, do the "cifsumount -d ..." when the Windows fs is mounted; second, less easy but better, upgrade to the latest CIFS Client (A.02.02.01). In this version, there is a "cifsdb" command that allows users to manage database entries regardless of whether fs's are mounted or users are logged in.
Upgrading is strongly recommended notwithstanding this feature; the latest version is much more stable and feature-rich than the early versions. It is available free at software.hp.com. If you do upgrade, there are procedures to follow for database entries; see the Migration chapter in the Admin Guide, available at docs.hp.com.
-Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2007 07:49 PM
03-05-2007 07:49 PM
Re: Cannot delete entry in CIFS database
A couple of clarifications:
1. You can delete UDB entries via cifslogout, not just cifsumount. But once the fs is unmounted, all users are automatically logged out, so you would still need to do "cifslogout -d ..." when the fs is mounted. This is all much more flexible in A.02.xx: mounts, logins and UDB entries are independent of one another.
2. If you do upgrade and wish to consult the Admin Guide first, note that the most recent version of this document is A.02.02. The latest version of the software is A.02.02.01, a minor upgrade to A.02.02; we generally do not update the Admin Guide for minor releases. Release notes are also available at docs.hp.com.
Finally, an additional reason to upgrade to A.02.02.01 is that the A.01.xx versions are no longer officially supported.
-Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2007 02:09 AM
03-06-2007 02:09 AM
Re: Cannot delete entry in CIFS database
First, I excuse myself for my English.
Your second answer appears the best solution with my concern.
The tools provided in CIFS A.02.02 seem to be the best to resolve my concern.
I think that I quickly will migrate.
You solved in a few hours my problem what the French support did not succeed in doing in seven days.
I am happy to have fallen on somebody from also qualified.
Thanks a lot.
Lionel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2007 04:23 AM
03-06-2007 04:23 AM
Re: Cannot delete entry in CIFS database
I'm glad I was able to help. Your English is fine--I was just not clear about the sequence of events.
I also should have mentioned, A.02.xx versions are not available for HPUX 11.0, so if that's your OS version, you will be able to upgrade the CIFS Client only if you upgrade the OS.
Best,
-Eric