- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: File locking on cifsmount
Operating System - HP-UX
1753767
Members
5664
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО12-28-2006 02:49 AM
тАО12-28-2006 02:49 AM
I have a user trying to copy files to a cifsmounted file system. He is running a command for VB that can turn of file locking. When file locking is turned off the copy completes. When file locking is not turned of the copy times out.
Has anyone seen this before. Is there a way to turn off file locking on a cifsmount.
Thanks,
Brian
Has anyone seen this before. Is there a way to turn off file locking on a cifsmount.
Thanks,
Brian
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-02-2007 06:41 AM
тАО01-02-2007 06:41 AM
Solution
Brian,
This is Eric in the HP CIFS Client software lab.
File locking is not currently supported by the CIFS Client. It cannot be turned on or off. The problem you have encountered, when the application attempts to lock the file, is therefore not exactly a problem with *how* the CIFS Client does locks; it is an unfortunate side-effect of the lack of support for file locking by the Client.
For your situation (as you have seen), the only effective method is for applications that operate on cifsmounts not to attempt to lock files.
Incidentally (and for other CIFS Client users who may read this thread), because the CIFS Client uses NFS as a frontend, implementing NFSv4 support in the Client would in turn enable support for file locking. This is under investigation; it is a massive effort and will not happen any time soon.
-Eric
This is Eric in the HP CIFS Client software lab.
File locking is not currently supported by the CIFS Client. It cannot be turned on or off. The problem you have encountered, when the application attempts to lock the file, is therefore not exactly a problem with *how* the CIFS Client does locks; it is an unfortunate side-effect of the lack of support for file locking by the Client.
For your situation (as you have seen), the only effective method is for applications that operate on cifsmounts not to attempt to lock files.
Incidentally (and for other CIFS Client users who may read this thread), because the CIFS Client uses NFS as a frontend, implementing NFSv4 support in the Client would in turn enable support for file locking. This is under investigation; it is a massive effort and will not happen any time soon.
-Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2007 02:29 AM
тАО01-03-2007 02:29 AM
Re: File locking on cifsmount
Eric,
Thanks for your reply. This of course is not the answer I was hoping for.
Do you know if any workarounds that will allow us to lock a file within our environment?
Thanks,
brian
Thanks for your reply. This of course is not the answer I was hoping for.
Do you know if any workarounds that will allow us to lock a file within our environment?
Thanks,
brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2007 06:30 AM
тАО01-03-2007 06:30 AM
Re: File locking on cifsmount
Brian,
Without a more detailed understanding of your environment, it is difficult to know if any workaround would be available.
If you are trying to solve a particular problem, and not necessarily looking for a full-featured file-locking solution, then HP may be able to help. I suggest you open a support call; this way we can ensure the right breadth of experts can be involved (for example, CIFS Server, NFS, etc).
-Eric
Without a more detailed understanding of your environment, it is difficult to know if any workaround would be available.
If you are trying to solve a particular problem, and not necessarily looking for a full-featured file-locking solution, then HP may be able to help. I suggest you open a support call; this way we can ensure the right breadth of experts can be involved (for example, CIFS Server, NFS, etc).
-Eric
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP