- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Backup taking locks ?
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
тАО05-12-2009 11:03 PM
тАО05-12-2009 11:03 PM
Backup taking locks ?
While the backup was running, I created lots of files with names in decending order.
The file creation aborted with "file currently locked by another user". Tried it with ascending names. Idem. Without /image. Idem.
So, any backup can cause file creation failures ?
Wim (hoping I miss something)
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 11:05 PM
тАО05-12-2009 11:05 PM
Re: Backup taking locks ?
$ create xxx
a
$
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 11:58 PM
тАО05-12-2009 11:58 PM
Re: Backup taking locks ?
So, interlock not only means "able to read all files" but also "don't lock" ?
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 12:00 AM
тАО05-13-2009 12:00 AM
Re: Backup taking locks ?
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 12:14 AM
тАО05-13-2009 12:14 AM
Re: Backup taking locks ?
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 12:31 AM
тАО05-13-2009 12:31 AM
Re: Backup taking locks ?
It seems the only one that could cause problems for creating files would be the .DIR file.
And yes, backup without /ignore=interlock can lock files and cause other processes to get file locked by another user errors when they attempt to open the files for write access.
There have even been reports of login failures due to SYSUAF.DAT being locked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 12:47 AM
тАО05-13-2009 12:47 AM
Re: Backup taking locks ?
Can it also happen that something gets locked when using /ign=int ?
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 01:37 AM
тАО05-13-2009 01:37 AM
Re: Backup taking locks ?
In other words, I am not aware of any locking that the BACKUP image would do to cause file locked errors for other processes.
But how useful the resulting backup would be is the question you have to ask, if there is a lot of activity on the disk. I assume you have been following the other backup thread:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1338782
If you have a test system, try the SDA LCK extension and collect a trace of locks while you are doing your test.
I am not sure how a movefile operation (defragmentation assist) is synchronized with files that are opened with "explicit interlock ignore". I remember reading somewhere that you should avoid backups while defragmenting disks, but I don't remember where I read it, and whether it was due to performance effects, or consistency effects.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 04:44 AM
тАО05-13-2009 04:44 AM
Re: Backup taking locks ?
High- or continuous-uptime application data archiving is not an easy problem, and it usually involves the assistance of the application(s) and (usually) replication, and (increasingly) the direct assistance of the database and the file system.
You can (and usually should) (also) use database-integrated tools, such as mysqldump or RMU/BACKUP or such; these are synchronized with the data source, and can provide (more) consistent results.
It is possible to get rather close to this goal with OpenVMS with the use of the (optional) RMS Journaling pieces.
There are other issues with the current implementation of BACKUP (beyond the locking-related matters), not the least of which are the bandwidth limits inherent in the current design; the current tool is within a close percentage of the theoretical limit of the bandwidth of the underlying devices and I/O buses. Avoiding the increase in archival time then tends to point to data compression (which is latent but as yet unsupported) or reducing the quantity of data involved in getting the archival copy, or toward parallel archiving or faster hardware. Or a combination.
There's certainly fodder here for a Best Practices article or two, as the features and limitations of the OpenVMS tools are (clearly) not (widely) understood.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 05:49 AM
тАО05-13-2009 05:49 AM
Re: Backup taking locks ?
I had exactly this problem once. I was backing up our archive disk, and the backup ran long. The EOD job was running on another server. At the end of this job it copies trading-data files to the archive disk. Several files couldn't be created. I suspect that BACKUP had the directory locked (or one of its blocks?) at that time.
As recently mentioned here in the /ignore=interlock post, it is best to run BACKUP when things are quiet.
AEF