- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Problem restoring system disk image from tape.
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
тАО09-19-2007 04:08 AM
тАО09-19-2007 04:08 AM
Problem restoring system disk image from tape.
I'm managing an AlphaServer 400 running OVMS 7.3 for a small hospital accounting system.
Once per month I boot from an external disk and make an image backup to tape of the system disk. I then restore this image to a second, auxilary, machine as part of our disaster recovery program.
Last month I upgraded the firmware on the auxilary machine and then tried to restore the latest image and failed!
Here are the commands and results I got:
>>> boot -flags E,0 dka600
(...boot from external disk follows...)
$$$ mount/over=id mka500:
%MOUNT-I-WRITELOCK, volume is write locked
%MOUNT-I-MOUNTED, GCMOS mounted on _SABKUP$MKA500:
$$$ mount/foreign dka0:
%MOUNT-I-MOUNTED, AXPVMSSYS mounted on _SABKUP$DKA0:
$$$ backup/image mka500:gcmos.bck dka0:
%BACKUP-F-MOUNTFOR, MKA500:[SYSEXE]GCMOS.BCK; must be mounted /FOREIGN
I've never seen this message before. Usually the restore operation procedes without complaint. Has anybody got any ideas as to what is going on?
-Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2007 04:32 AM
тАО09-19-2007 04:32 AM
Re: Problem restoring system disk image from tape.
Try just that the error suggest to you:
$$$ mount/foreign mka500:
instead of
$$$ mount/over=id mka500:
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2007 04:41 AM
тАО09-19-2007 04:41 AM
Re: Problem restoring system disk image from tape.
try MOUNTing the tape /FOREIGH.
I would guess that that is what you did previously as well...
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2007 04:55 AM
тАО09-19-2007 04:55 AM
Re: Problem restoring system disk image from tape.
If you're familiar with OpenVMS VAX and its traditional bootable standalone environment, the OpenVMS Alpha analog is basically full OpenVMS itself; far more than just the BACKUP command of OpenVMS VAX and its Standalone BACKUP environment is present at and available at the OpenVMS Alpha $$$ prompt.
Your use of the system root SYSE could be inferred as having this familiarity.
And FWIW, you should be able to boot dka600: directly, too. You don't need to select a specific root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2007 05:10 AM
тАО09-19-2007 05:10 AM
Re: Problem restoring system disk image from tape.
I did try the backup operation with the tape mounted /FOREIGN, here are the results:
$$$ dismount mka500:
$$$ mount/foreign mka500:
%MOUNT-I-WRITELOCK, volume is write locked
%MOUNT-I-MOUNTED, GCMOS mounted on _SABKUP$MKA500:
$$$ backup/image mka500:gcmos.bck dka0:
%SYSTEM-I-MOUNTVER, SABKUP$MKA500: is offline. Mount verification in progress.
%BACKUP-F-GETCHN, error getting device characteristics for DKA0:
-SYSTEM-F-IVIDENT, invalid identifier format
%SYSTEM-I-MOUNTVER, SABKUP$MKA500: has completed mount verification.
$$$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2007 05:27 AM
тАО09-19-2007 05:27 AM
Re: Problem restoring system disk image from tape.
I did try the backup operation with the tape mounted /FOREIGN. After the backup command is issued there is some activity between dka0 and mka0 for about 3 minutes and then failure:
$$$ dismount mka500:
$$$ mount/foreign mka500:
%MOUNT-I-WRITELOCK, volume is write locked
%MOUNT-I-MOUNTED, GCMOS mounted on _SABKUP$MKA500:
$$$ backup/image mka500:gcmos.bck dka0:
%SYSTEM-I-MOUNTVER, SABKUP$MKA500: is offline. Mount verification in progress.
%BACKUP-F-GETCHN, error getting device characteristics for DKA0:
-SYSTEM-F-IVIDENT, invalid identifier format
%SYSTEM-I-MOUNTVER, SABKUP$MKA500: has completed mount verification.
$$$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2007 06:43 AM
тАО09-19-2007 06:43 AM
Re: Problem restoring system disk image from tape.
verification, and, at the same time, the disk
triggers a GETCHN complaint, I'd suspect a
SCSI problem of some kind. How stable is the
stuff on the "A" bus? (Or are you attaching
the tape drive just for this exercise, or
...?) Does SHOW ERROR say anything
informative?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2007 07:54 AM
тАО09-19-2007 07:54 AM
Re: Problem restoring system disk image from tape.
thanks for your reply. I think you may be
on to something... I've had some difficulty
with SCSI on this system in the past.
I physically connect the external tape and boot disk drives for this procedure. The boot disk was created from a 7.3 installation using the PCSI_INSTALL_MIN.COM utility.
Before booting
I set the scsi termination to external since these SCSI devices are not normally connected to the server:
>>> set control_scsi_term external
I work directly from the $$$ command prompt presented after booting:
$$$ dir [*]
Directory SABKUP$DKA600:[SYSE]
...
Directory SABKUP$DKA600:[VMS$COMMON]
...
$$$ show default
SABKUP$DKA600:[SYSEXE]
%DCL-I-INVDEF, SABKUP$DKA600:[SYSEXE] does not exist
$$$ show error
Device Error Count
PKA0: 1
SABKUP$MKA500: 9
$$$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2007 09:03 AM
тАО09-19-2007 09:03 AM
Re: Problem restoring system disk image from tape.
> with SCSI on this system in the past.
Assuming that it's single-ended/fast/ultra,
you can pretty easily exceed the total cable
length if it's doing both internal and
external. This has been discussed before:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1152646
1.5m is pretty short, really.
Personally, I'd invest (not much) in a Qlogic
SCSI card (KZPBA-CA/CX), and use that for
(dedicate it to) the external stuff. (Which
is what I do on my XP1000 systems.)
On the other hand, if this stuff normally
works, you could have one of the (other)
usual cable or termination problems. (How
long _are_ the cables?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2007 07:38 PM
тАО09-19-2007 07:38 PM
Re: Problem restoring system disk image from tape.
So it would be like:
$$$ mount/foreign mka500:
$$$ mount/foreign DKA0:
$$$ backup/image/log mka500:gcmos.bck dka0:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2007 08:20 PM
тАО09-19-2007 08:20 PM
Re: Problem restoring system disk image from tape.
Always worth using a cleaning tape every so often.
Always worth using /VERIFY every so often - as is proving that you can read the tape on another drive / system.
Cheers, Colin (http://www.xdelta.co.uk).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2007 11:45 PM
тАО09-19-2007 11:45 PM
Re: Problem restoring system disk image from tape.
I see from your comments that you are able to mount the Tape /foreign, however I dont see any evidence that you can explicitly mount the DKA0 device, Have you checked that you can do that?
Also, see Vladimir's response, vis. you need to mount both the tape and the destination disk /FOREIGN.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2007 04:23 AM
тАО09-20-2007 04:23 AM
Re: Problem restoring system disk image from tape.
procedure for almost a year and have
never had any problems with it until now.
I can successfully mount all the drives.
I can copy files both ways between the tape
and hard drives, both external and internal.
The external tape and boot drives have short
cables and are only connected to the machine
for this particular operation.
CONTROL_SCSI_TERM is set to external.
The procedures I'm using were gleaned from
the Baldwin,Hoffman,Miller book: OVMS Sys.
Management Guide.
I have never heard of mounting the source
target as /FOREIGN. And I've never seen
this error message before.
The only difference to the machine since the last successful image restore is that I upgraded the firmware from V6.3-4 to V7.0-9.
If the upgrade was corrupted would the system
even boot at all?
I do have some other tape drives, perhaps I should try them?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2007 05:33 AM
тАО09-20-2007 05:33 AM
Re: Problem restoring system disk image from tape.
$$$
$$$ mount/foreign dka300:
%MOUNT-I-MOUNTED, GCMOS mounted on _SABKUP$DKA300:
$$$ mount/foreign mka500:
%MOUNT-I-MOUNTED, GCMOS mounted on _SABKUP$MKA500:
$$$ backup/image mka500:gcmos.bck dka300:
...backup job successful!
And again to the original target:
$$$ mount/foreign mka500:
%MOUNT-I-MOUNTED, GCMOS mounted on _SABKUP$MKA500:
$$$ backup/image mka500:gcmos.bck dka0:
%SYSTEM-I-MOUNTVER, SABKUP$MKA500: is offline. Mount verification in progress.
%BACKUP-F-GETCHN, error getting device characteristics for DKA0:
-SYSTEM-F-IVIDENT, invalid identifier format
%SYSTEM-I-MOUNTVER, SABKUP$MKA500: has completed mount verification.
$$$
So it seems there is some sort of problem
with the dka0: drive.
I'll presue that in a different thread.
Thanks for your help.
-Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2007 07:18 AM
тАО09-20-2007 07:18 AM
Re: Problem restoring system disk image from tape.
Do be cautious with BACKUP commands such as:
backup/image mka500:gcmos.bck dka300:
Leaving BACKUP to decide the source and destination or leaving BACKUP and the drive to decide if the transfer operation worked (or not) has historically been occasionally hazardous practice.
A minimum of:
backup/image -
mka500:gcmos.bck/save/verify -
dka300:
would be my preference.
Also consider using a distro or a BACKUP booted from a newer OpenVMS Alpha release. There have been occasional bugs in BACKUP, in the tape drivers, and elsewhere.
The error log might have an indication of there have been problems in the running system. The GETCHN and IVIDENT and mount verification messages do not bode well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2007 07:25 AM
тАО09-20-2007 07:25 AM
Re: Problem restoring system disk image from tape.
That DKA0 what brand/model is it?
/Guenther
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2007 10:25 AM
тАО09-20-2007 10:25 AM
Re: Problem restoring system disk image from tape.
/Guenther
Hi Guenther,
It's an original DEC/Seagate part:
ST35051
>>>show device
dka0.0.0.6.0 DKA0 RZ26N 1103
dka300.3.0.6.0 DKA300 RZ29L-AS 0814
dka600.6.0.6.0 DKA600 QUANTUM VIKING 2.3 NSE 880R
dva0.0.0.0.1 DVA0
mka500.5.0.6.0 MKA500 TLZ09 03a5
ewa0.0.0.13.0 EWA0 00-BB-AA-FF-F2-0F
pka0.7.0.6.0 PKA0 SCSI Bus ID 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2007 03:48 AM
тАО09-21-2007 03:48 AM
Re: Problem restoring system disk image from tape.
If you want to further diagnose instead of throwing the RZ26 away, try to do the backup to this drive on another system.
/Guenther
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2007 11:13 AM
тАО09-23-2007 11:13 AM
Re: Problem restoring system disk image from tape.
and use /save/verify switches
with short SCSI cables.
Thanks