- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: v7.3-2 restoring v6.2 system disk image ... br...
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
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
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-08-2006 07:20 AM
тАО03-08-2006 07:20 AM
I have tried restoring directly from tape to the LD drive, from the same saveset copied to disk to the LD drive and also onto a native vms disk. All three complete "successfully" ... no errors.
However, as noted in a previous thread, VMS$COMMON and it's SYSCOMMON aliases are "broken" - No such file when referenced, but they all have the same FID. And with my last test proved that LD driver has nothing to do with it.
Asking DFU to fix it doesn't, it just moves all the common directories to SYSLOST. I can "fix" it by creating a new VMS$COMMON and creating SYSCOMMON aliases and then moving the subdirectories back.
I did try playing with the /noALIAS switch on the restore(s), seemingly made no diff.
I listed the saveset and the common structure is shown as being backed up under [SYS0.SYSCOMMON...], in fact there is no mention of VMS$COMMON.DIR in the listing.
Is my source v6.2 disk "bad"?
Is my v6.2 version of BACKUP old/bad?
Do I need to use the /noALIAS switch on the backup?
Is it an unsupported action to use VMS v7 to restore a v6 disk with aliases?
Cheers,
Art
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 07:48 AM
тАО03-08-2006 07:48 AM
SolutionFrom your deskription, it sounds like that is one of the problems. Do a:
$ dump /header /blocks=count=0 disk:[000000]VMS$COMMON.DIR;1
and check the filename *in* the header. If it is SYSCOMMON.DIR;1, there is an easy fix:
$ set default disk:[000000]
$ rename VMS$COMMON.DIR;1 SYSCOMMON.DIR
$ rename SYSCOMMON.DIR;1 VMS$COMMON.DIR
That should put the correct filename into the file header.
But there might be another problem left, so please check the backlink and make sure it points to the MFD ( [000000]000000.DIR;1 ). If that is not the case, you need to move the primary entry to the MFD, e.g.:
$ rename [SYS0]SYSCOMMON.DIR;1 [000000]VMS$COMMON.DIR;1
It's possible that you cannot do that online. Can you boot from a CD-ROM? If I remember correctly, there is a mini-system available, when you boot [SYS2].
>Is my v6.2 version of BACKUP old/bad?
>Do I need to use the /noALIAS switch on the backup?
I thought I have read somewhere that the _workaround_ is to use /ALIAS .xor. /noALIAS (don't know which one) on a restore, but you said you had tried that already?
>Is it an unsupported action to use VMS v7 to restore a v6 disk with aliases?
That was a rethorical question, yes ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 08:06 AM
тАО03-08-2006 08:06 AM
Re: v7.3-2 restoring v6.2 system disk image ... breaks aliases
Maybe :) During the VMS 6.x timeframe the default behavior of BACKUP vis-a-vis /ALIAS was flip-flopped a couple of times. There were also numerous patches for bugfixes. Lots of folks had issues with restoring system disk images. If you have a 6.2 CD available you may be able to boot from it and restore successfully. (A google search of comp.os.vms for "backup 6.2 restore alias" should reveal the pain that others felt way back when.) Restoring completely from 7.x systems reportedly fails. All seem to have had to enter aliases by hand.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 08:43 AM
тАО03-08-2006 08:43 AM
Re: v7.3-2 restoring v6.2 system disk image ... breaks aliases
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 11:19 AM
тАО03-08-2006 11:19 AM
Re: v7.3-2 restoring v6.2 system disk image ... breaks aliases
Very odd!
It should be OK to restore the V6 saveset with V7. I'm wondering about the exact command used to create the V6 saveset, and the state of the V6 disk (were its backliks correct?). Use BACKUP/LIST to determine the BACKUP command.
Please post the output of the DUMP/HEAD command suggested by Uwe:
$ dump/head/bl=c:0 disk:[000000]VMS$COMMON.DIR;1
I'm most interested in the fields File identification, Back link file identification, and File name
If there is no VMS$COMMON.DIR, then dump the header from any valid SYSCOMMON.DIR directory entry. If there aren't any valid entries, and you know the file ID of the "repaired" file, try:
$ dump/head/bl=c:0/id=fid disk:
(where fid is the first number in the FID triplet).
Worst case, dump the header after repairing the entries into SYSLOST (note that will force the back link to point to SYSLOST).
It may also be interesting to see
$ DIR/FILE disk:[000000]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 03:45 PM
тАО03-08-2006 03:45 PM
Re: v7.3-2 restoring v6.2 system disk image ... breaks aliases
I'm fairly certain the source disk is fine. I ran DFU against it several months ago, there was indeed a problem at the time (and probably for several years!) and DFU fixed it. I have attached the dumps for [000000]VMS$COMMON.DIR and [000000]000000.DIR ... the backlink pointers look ok. Check the create dates!! I can only take responsibility for the last 3 years ;-)
The version of BACKUP.EXE on this v6.2 system does seem a bit odd:
Image Identification Information
image name: "BACKUP"
image file identification: "T6.2-FT3"
link date/time: 5-DEC-1997 21:41:33.36
linker identification: "05-13"
Field Test?! I guess we're a little tardy on our 8 year old patches! Remember, I "inherited" this stuff.
From v7.3-2:
Trying to do the above dump command on the restored (native VMS) disk gives :
%DUMP-E-OPENIN, error opening DKB405:[000000]VMS$COMMON.DIR;1 as input
-RMS-E-FNF, file not found
Running DFU shows similar:
%DFU-W-OPENERR, Error accesing file DKB405:[000000]VMS$COMMON.DIR;1,
%SYSTEM-W-NOSUCHFILE, no such file
If I run DFU /FIX, it just puts all the subdirectories of the common structure in SYSLOST and I get to fix it by hand. Perhaps I should look into patching BACKUP on my v6.2 ;-)
Hoping very soon to have the "fastest VAX on the planet" ... I was gratiously granted the temporary use of a dual Xeon 3.6Ghz/4GB Blade to prove CHARON-VAX on.
WooHoo,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 08:23 PM
тАО03-08-2006 08:23 PM
Re: v7.3-2 restoring v6.2 system disk image ... breaks aliases
VMS$COMMON is not on it either. The syscommon is recorded on sys0. That's all.
Restore not yet tested.
Fwiw
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 08:35 PM
тАО03-08-2006 08:35 PM
Re: v7.3-2 restoring v6.2 system disk image ... breaks aliases
The file name for VMS$COMMON is SYSCOMMON.
On my 7.3 alpha, this is not the case. It contains vms$common. 6.2 bug ?
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 08:38 PM
тАО03-08-2006 08:38 PM
Re: v7.3-2 restoring v6.2 system disk image ... breaks aliases
It is a known bug.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 08:44 PM
тАО03-08-2006 08:44 PM
Re: v7.3-2 restoring v6.2 system disk image ... breaks aliases
BTW : I inherited this system too.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 09:02 PM
тАО03-08-2006 09:02 PM
Re: v7.3-2 restoring v6.2 system disk image ... breaks aliases
All 6.2 1h3 systems have the problem. Clustered or not.
Standalone systems running 7.3 received directly have the problem. Clusters do not have the problem.
Standalone systems running 7.3 but via upgrade of 7.2 do NOT have the problem.
Standalone systems running 7.2-1 received directly have the problem.
As John Gillings once wrote : backups must be tested. But I'm managed ...
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 09:48 PM
тАО03-08-2006 09:48 PM
Re: v7.3-2 restoring v6.2 system disk image ... breaks aliases
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 10:29 PM
тАО03-08-2006 10:29 PM
Re: v7.3-2 restoring v6.2 system disk image ... breaks aliases
Note also : backup date
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 11:07 PM
тАО03-08-2006 11:07 PM
Re: v7.3-2 restoring v6.2 system disk image ... breaks aliases
Which means you did not run BACKUP /RECORD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2006 08:29 AM
тАО03-09-2006 08:29 AM
Re: v7.3-2 restoring v6.2 system disk image ... breaks aliases
The file header is shared, so there's no way the filename and backlinks can be different.
The correct filename in the header is VMS$COMMON.DIR, and the correct backlink is (4,4,0). Any other combinations is incorrect. It may or may not cause a problem. The directory entry that matches the filename/backlink in the file header is considered the "primary".
The problem stems from the design decision to call the "primary" directory entry VMS$COMMON and all the others SYSCOMMON. Choosing the same for all would have (almost) eliminated the possibility of errors. The other problem is that SYSCOMMON is alphabetically before VMS$COMMON, so in some versions of BACKUP, a restore would change the filename in the header.
Art's problem is new to me. I've never heard of an image backup being restored with no valid directory entries pointing to the file, but back in V6.2, it was fairly common to have an invalid backlink/filename pair (like SYSCOMMON/(4,4,0), or VMS$COMMON/[SYS0]).
DFU can correct the backlinks if they're wrong, but if the directory is "lost", all you can do is recover it to SYSLOST, then RENAME it to [000000]VMS$COMMON.DIR and link in all the SYSCOMMONs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2006 09:03 AM
тАО03-09-2006 09:03 AM
Re: v7.3-2 restoring v6.2 system disk image ... breaks aliases
It doesn't sound right that a "released" version would have a FT designation.
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2006 09:19 AM
тАО03-09-2006 09:19 AM
Re: v7.3-2 restoring v6.2 system disk image ... breaks aliases
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2006 06:52 PM
тАО03-09-2006 06:52 PM
Re: v7.3-2 restoring v6.2 system disk image ... breaks aliases
Instead, you have to do this:
$ INIT LDA1:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2006 06:53 PM
тАО03-09-2006 06:53 PM
Re: v7.3-2 restoring v6.2 system disk image ... breaks aliases
Could someone check 7.3-2 and 8.x ?
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2006 01:53 AM
тАО03-10-2006 01:53 AM
Re: v7.3-2 restoring v6.2 system disk image ... breaks aliases
I repaired the broken VMS$COMMON/aliases in the LD disk, FTP'd it over to the blade and it did indeed boot on CHARON late yesterday afternoon!
VAX/VMS at 3.6GHz ... WooHoo!
Cheers,
Art