- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: VMS Disk Init
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
04-11-2006 12:44 PM
04-11-2006 12:44 PM
VMS Disk Init
on an emulex 8" dua0,disk drive. is there any way
to undo init and restore the disk as before?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 12:57 PM
04-11-2006 12:57 PM
Re: VMS Disk Init
preparation. INITIALIZE does tend to
overwrite some useful data.
I haven't heard of a magic method to recover
from this, other than (expensive) data
recovery services.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 01:54 PM
04-11-2006 01:54 PM
Re: VMS Disk Init
Unless you are VERY lucky, NO. If the first INIT and the second INIT both used the default values, then it overwrote the same areas on the disk.
How critical is the data on the disk?
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 05:53 PM
04-11-2006 05:53 PM
Re: VMS Disk Init
welcome to the OpenVMS ITRC forum. Sorry to hear, that you've come here because of this unfortunate event.
First of all, WRITE PROTECT the disk and make a BACKUP/PHYSICAL copy of it to secure the physical contents of that disk.
There is NO WAY to automatically re-do the effects of the INIT command. Depending on the parameters of the INIT command, it has overwritten the most critical parts of the on-disk file structure and possibly also some of your data files.
The most critical data are the file headers, which specifiy the physical location of the varous part of the data files on disk. File headers have a checksum and a distinct layout, so they can be found using a raw LBN scan of the disk.
The DISKBLOCK utility (OpenVMS Freeware, URL: http://h71000.www7.hp.com/freeware/freeware70/diskblock/ ) can find valid file headers on the disk:
$ MC DISKBLOCK
DISKBLOCK> SEL/NOWRITE DUA0:
DISKBLOCK> SEA/HEADER
Start with this command and see, how many file headers of your 'old' files are found.
Then consider to get help of an experienced OpenVMS consultant with in-depth knowledge of the ODS-2 file structure to help diagnose, if at least partial recovery of the data may be possible.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 10:25 PM
04-11-2006 10:25 PM
Re: VMS Disk Init
I must second Volker's comments. IMMEDIATELY physically remove the disk from service. The safest place is in an anti-static bag, inside the safe, marked DO NOT TOUCH.
A physical mode backup, alternatively a forensic backup) is a good suggestion. And, having dealt with the internals of FILES-11 (1, 2, and 5), you can do things yourself, but a very thorough understanding of the file structure is essential to this type of recovery.
One time, many years ago, pre-BACKUP, I had occasion to reconfigure the cluster factor of a disk in-place. There were no spare drives, no spare packs, and only a tape drive for backup. If I had not studied the FILES-11 specification in detail, the task would have been impossible.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 12:35 AM
04-12-2006 12:35 AM
Re: VMS Disk Init
1) how valueable is the data on the disk?
2) how good is your backup?
3) can you reconstruct your data from other sources? For example, if it was a system disk, just re-install VMS and such (yeah I know, easier said than done).
4) what is the timeline needed to recover the data?
Personally I have not seen an 8" DUA0 style disk active in over 15 years. THerefor, I'm thinking that this may be an older, stable, environment, where even old backup may be relatively valuable.
Personally I have never been able to justify the time to recover from an init, because it is likely to take a while, but I'm less pessimistic than the others.
If I were to have to deal with this (and I could for mere money, just send me a mail :-) then I'd start by (re-)learning the exact details of what init does. I'd create an LD disk and trace the IOs, mapping them back onthe the resulting disk structure. It will write the new indexf.sys... but does it overwrite anything beyond the minimum? and so on.
Then I'd problaby make an attempts by just flipping all the bitmap.sys bits and the indexf.sys internal bitmap to allocate and 'see' what comes back to live... just in case the init just the exact same layout as before.
But most likely you need to manually attach file header to the new indexf... in the old place (FILE-ID). And 000000.DIR is ofcourse cleared, but that's not a big deal.
The tool volker mentions probably does this, or can help with this, After all, file headers are very recogizable (word offsets, name, checksum) and there are travel in bunches (the old indexf extents), and you know where in indexf.sys they should live (the file id)
Good luck,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 01:26 PM
04-12-2006 01:26 PM
Re: VMS Disk Init
Thomas.