- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: To ANALYSE/DISK/REPAIR or not before BACKUP?
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
09-20-2007 02:50 AM
09-20-2007 02:50 AM
To ANALYSE/DISK/REPAIR or not before BACKUP?
thanks,
Clark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2007 04:06 AM
09-20-2007 04:06 AM
Re: To ANALYSE/DISK/REPAIR or not before BACKUP?
The most common thing that happens is that things like spooled files can have entries placed in SYSLOST and those will become dangling entries when the file is deleted, but that is a harmless side effect. It will correct things like free space drift and quota discrepancies (if you are using disk quotas), so in that respect periodic anal/disk/repair are good.
I believe /repair implies /lock_volume, but I can't see that in the online help. I just tried (Alpha VMS 7.3-2) and you can specify them both.
If you never use /confirm when running analyze/disk/repair, then I see no additional risk of running it in an automated fashion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2007 06:48 AM
09-20-2007 06:48 AM
Re: To ANALYSE/DISK/REPAIR or not before BACKUP?
However, because of learned-paranoia, I prefer that automated procedures do the backup (garbage and all) before doing anything that changes anything on the disk, even though the backup might perform better had it "cleaned-up" the disk before-hand.
Different sites have different needs, though, so there's no universal "right way."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2007 06:55 AM
09-20-2007 06:55 AM
Re: To ANALYSE/DISK/REPAIR or not before BACKUP?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2007 07:40 AM
09-20-2007 07:40 AM
Re: To ANALYSE/DISK/REPAIR or not before BACKUP?
While ANALYZE/DISK and the XQP are close brothers when it comes to maintaining the correct FILES-11 on-disk structure, BACKUP is a distant cousin (codewise). With a software structural problem on a disk volume the XQP (file system) very likely bugchecks and ANALYZE/DISK reports/fixes the problem. BACKUP more likely 'stumples' over the problem and may or may not report a problem.
In general I think it is a good idea to run ANALYZE/DISK/REAPIR before a backup. It might fix a problem were BACKUP would have exited with a severe error. Even if such a situation does not occur it wouldn't hurt anyway.
/Guenther
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2007 10:35 AM
09-20-2007 10:35 AM
Re: To ANALYSE/DISK/REPAIR or not before BACKUP?
As Guenther said, it won't hurt (apart from potential impact of locking allocations and deallocations on the volume for the duration), BUT if you're finding that it does repair stuff, it's fairly important to find out what and why.
A "normal" disk under "normal" usage should not accumulate any errors. If you do perform the analysis "in an automated, unattended way", make sure you check the logs, or include a check for errors that sends you mail containing a list of any unexpected messages.
In more recent versions, there's ANALYZE/DISK/LOCK to check a disk without actually repairing it. In older versions you can still ANALYZE/DISK, but becuase it isn't locked it can give spurious results.
A prudent system manager will want to perform periodic checks to detect and correct any sources of data corruption. Incorporating those checks into other periodic activity, like BACKUP, makes sense, even if it's not really related to the backup itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2007 10:36 AM
09-20-2007 10:36 AM
Re: To ANALYSE/DISK/REPAIR or not before BACKUP?
My "paranoia" learned from lessons taught by experience with Mr. Murphy's Law lets me sleep better knowing I have at least tried a backup before doing anything else.
Thinking "interactive" rather than "automated", if I see a disk that's starting to throw errors, the first thing I do is a backup. I don't do an ANALYZE/DISK or anything else that might further stress the drive. I want whatever I can get from the disk in case/before it fails, even if that's only some percentage of the data. I'll have to see what I have and decide then if it's usable. If the failing disk crashes during the backup, there's a chance it might have crashed during the analyze and I'd have nothing.
If an organization's data is extremely fragile, then there needs to be more than just simple backups protecting it, and if it is properly DT protected by mirror or replication or however, and the data is taken off-line for backup, then do clean-up it up before the backup.
I feel that while ANALYZE/DISK should be run regularly, a /REPAIR should only be done when needed and only after further investigation of any problems reported. (That's a whole 'nother discussion.)
Except for tapes-gone-bad or where there's been backup-path hardware failures (show-stopping SCSI tape drive errors are also an entirely different discussion) I've always been able to restore usable data from a backup -- even ones with verification errors caused by a failing disk. After restoring from a backup, an ANALYZE/DISK is most certainly important. Having data-file verification procedures is also important.
Like I said: Whatever let's you sleep at night. I'm not arguing for everyone to do it either way -- I'm just sharing my experience and saying each organization needs to consider their own circumstances and decide what works best for them.