Operating System - OpenVMS
1828043 Members
1647 Online
109973 Solutions
New Discussion

OpenVMS Image backup on CD

 
SOLVED
Go to solution
Steven Schweda
Honored Contributor

Re: OpenVMS Image backup on CD

> %DCL-W-IVVERB, unrecognized command verb -
> check validy and spelling \sys$sysroot\

This can happen when the symbol is defined
without the first "$".

UNZIP :== $ dev:[dir]UNZIP.EXE

not:

UNZIP :== dev:[dir]UNZIP.EXE

> -SYSTEM-F-SHRIDMISMATCH, ident mismatch
> with shareable image

You probably need to link the executable on
your system. A complete binary kit should
include the object files as well as the
executable, and there should be a command
procedure ([.VMS]LINK_UNZ.COM)to do the LINK.
Otherwise, if you have a C compiler, you
should be able to build it from the source
kit. (I have VMS _VAX_ V6.2, but not Alpha.)

> http://h71000.www7.hp.com/openvms/freeware/freeware.html

Note that the UnZip linked from this page is
version 5.50, while the current version is
5.52, and on VMS, 5.52 is significantly
better than 5.50.

A better place to start when looking for the
Info-ZIP programs is the main Info-ZIP Web
page:

http://www.info-zip.org/

This leads to a directory where various
(current) UnZip executables may be found:

ftp://ftp.info-zip.org/pub/infozip/VMS/

Perhaps one of these will work better for
you.
Joseph Huber_1
Honored Contributor

Re: OpenVMS Image backup on CD

Since Geir has no unzip at all, he probably has no way to unzip the source distribution as well.
So he needs first unzip.exe for Alpha VMS 6.2.

I see in http://mvb.saic.com/freeware/97bvmslt/tools/
unzip.exe_axp.
This could well be linked against VMS 6. or earlier.
Eventually look also in some later 9xyvmslt/tools directories.
http://www.mpp.mpg.de/~huber
Steven Schweda
Honored Contributor

Re: OpenVMS Image backup on CD

Sadly, the Alpha executables on the Info-ZIP
FTP server seem to be built on a relatively
recent VMS version:

ALP $ exec UNZ552XV-AXP.EXE -v
UnZip 5.52 of 28 February 2005, by Info-ZIP. [...]

Compiled with DEC C V6.2-003 for OpenVMS (V7.3-2 Alpha) on Feb 28 2005.

My old VAX VMS inventory is much better than
my old Alpha VMS inventory, so old freeware
collections may be the best places to look,
unless some other antique collector steps
forward.
geir_2
Super Advisor

Re: OpenVMS Image backup on CD

Hi,

Thanks for great answer. Now the unzip command run as expected. I have also copied the ld062 kit and unzippped it to the directory.

It was created kd062.a-k savesets. I assume that I must use backup command to restore the contents to the directories. Will the contents be installed under current directoy, or ? (I want, if possible store the files under current directory).


Is it enough to run kitinstall, and then ld$startup, if I want to create a virtuell disk?? I would appreciate If some could give me the remaining commands. Thanks again.


Geir
Martin Vorlaender
Honored Contributor

Re: OpenVMS Image backup on CD

>>>
Sadly, the Alpha executables on the Info-ZIP
FTP server seem to be built on a relatively
recent VMS version:
<<<

Same for the version on Hunter's freeware site.

I have made available an older version on our FTP server under ftp://ftp.pdv-systeme.de/vms/unzip.alpha_exe :

$ unzip -v
UnZip 5.42 of 14 January 2001, by Info-ZIP.

Compiled with DEC C V6.2-003 for OpenVMS (V1.5 for Alpha) on Jan 13 2001.

HTH,
Martin
geir_2
Super Advisor

Re: OpenVMS Image backup on CD

Martin,

Thanks for the e-mail. I have trouble to access the proposed ftp-site. Any other recommended ftp-sites??

Geir
Martin Vorlaender
Honored Contributor

Re: OpenVMS Image backup on CD

Geir,

sorry, many graphical FTP clients have problems with VMS FTP servers (not VMS' fault, BTW).

You can find it also at http://www.pdv-systeme.de/users/martinv/unzip.alpha_exe

HTH,
Martin
Joseph Huber_1
Honored Contributor

Re: OpenVMS Image backup on CD

To install LD062 from the savesets, You don't (and should not) restore the savesets LD062.a-k, You have to use VMSINSTAL as for any other VMSINSTALlable product:
@sys$update:vmsinstal LD062 device:[dir],
where device:[dir] is where these LD062.a-k savesets are located.

Before doing the vmsinstal, since You have an old VMS and unzip version, it might be the file-format of the savesets is not correct.

Try to BACKUP/LIST LD062.a .
If this works without error, go on to vmsinstal.

Otherwise the saveset file format is wrong,
correct it like this:
SEt FILE/ATTR=(RFM:FIX,LRL:8192)
The 8192 is just a guess, You can see the real saveset blocksize in the backup/list header.
Eventually look in freeware archives for procedures/programs named like fix_saveset, one of them analyzes the saveset file to find out the right LRL to set.
http://www.mpp.mpg.de/~huber
Joseph Huber_1
Honored Contributor

Re: OpenVMS Image backup on CD

Adding to my own reply (sorry, I pushed the submit twice), the source of fix_savset.c is in my archive:
http://wwwvms.mppmu.mpg.de/vmssig/src/c/fix_saveset.c

It is small enough to paste from screen, so that the complicated download to Pc -> memory stick -> Alpha is not needed :-)
http://www.mpp.mpg.de/~huber
geir_2
Super Advisor

Re: OpenVMS Image backup on CD

Hi,

Thanks again. Now I have installed the LD utility. As told before I have a Alpha workstation that I want to backup on a virtualle disk. Next I want to backup the virtuell disk on a CD.


I have never used the command before, and need some support. I guess I must do following:
1) Create an virtuell disk
2) Make a image backup on the virtuell disk
3) Copy the virtuell disk as a file to a PC, with a CD-burner
4) Burn the file (Virtuell disk).

If somebody could give me the commands on number one, it would be great.

Thanks again.


Geir

Martin Vorlaender
Honored Contributor

Re: OpenVMS Image backup on CD

Geir,

Karl has described the commands you need in his post of Mar 20, 2006 10:12:35

cu,
Martin
geir_2
Super Advisor

Re: OpenVMS Image backup on CD

Hello,

I have done follwong commands

1)No problem
CREATE/DIR disk:[BACKUP]

2)Noi problem - create container file,
LD CREATE BACK/SIZE=1000000

3) No problem - set to nobackup
SET FILE BACK.DSK/NOBACKUP

4) No problem - connect it to a LD device
LD CONNECT BACK ! -> LD returns device

5) No problem - mount it
MOUNT/FOREIGN ld-device
- backup

6) Problem
BACKUP/IMAGE/IGN=INTER SYS$SYSDEVICE: ld-device: {/LOG/VERIFY]

%BACKUP-F-CLUSTER, unsuitable cluster factor for LDA:

Something missing?? When I executed the show device ld command, osws99$lda1: have 0 blocks free. Any comments?

Geir
Karl Rohwedder
Honored Contributor

Re: OpenVMS Image backup on CD

Geir,

backup tries to init the output disk with parameters from the input disk. The message inicates, that the cluster factor of the input disk is not suitable for the output disk.
You may init the disk disk manually before mounting it and then add /NOINIT to the backup command.

regards Kalle
geir_2
Super Advisor

Re: OpenVMS Image backup on CD

Hi Karl,

The virtuell disk (lda1) is on the same disk as I want to backup (dka0). Is it ok to execute init command on lda1:

Thanks


Geir

PS:
Sorry for all questions, but I'm afraid to do something wrong.
geir_2
Super Advisor

Re: OpenVMS Image backup on CD

Hi Karl,

The virtuell disk (lda1) is on the same disk as I want to backup (dka0). Is it ok to execute init command on lda1:



Thanks


Geir

PS:
Sorry for all questions, but I'm afraid to do something wrong.
Martin Vorlaender
Honored Contributor

Re: OpenVMS Image backup on CD

Geir,

>>>
The virtuell disk (lda1) is on the same disk as I want to backup (dka0). Is it ok to execute init command on lda1:
<<<

VMS won't let you INIT a mounted disk. Go ahead and INIT LDA1: The LD driver emulates a complete disk - only that it's backed by a container file and not a physical device.

Good luck,
Martin
Karl Rohwedder
Honored Contributor

Re: OpenVMS Image backup on CD

Geir,

you INIT the LDAxx disk, before it gets mounted, not its parent disk DKAxx.

Be sure to set the container file to /NOBACKUP to avoid backing up the containerfile into itself.

regards Kalle
Joseph Huber_1
Honored Contributor

Re: OpenVMS Image backup on CD

Attention, Geir:
Backup/image ignores any /EXCLUDE, and files set nobackup do not use space in savesets, but in a disk to disk image copy (as You indend to: backup/image dka0: lda1:), space for those files is allocated, and therefore such a copy will not work.
If You want an image of Your dka0:, then the virtual disk has to be on another volume !
http://www.mpp.mpg.de/~huber
geir_2
Super Advisor

Re: OpenVMS Image backup on CD

Hi Joseph,

Maybe I could copy the image file from mkb500 backup to the vurtuel disk? Is it ok to use followg commands

$ copy mkb500:osws99.bck lda14:

regards geir
Karl Rohwedder
Honored Contributor

Re: OpenVMS Image backup on CD

Geir,

if you have a valid image (!) backup if your systemdisk before you created the LD container file, you may copy the backup with the following command to your LD disk:

$ MOUNT/FOR LDxxx ! assume you connected it 1st
$ MOUNT/FOR MKxxx ! your tape device
$ BACK/IMAGE MKxxx:xxx.nnn LDxxx
$ DISM MKxxx
$ DISM LDxxx
$ MOUNT/OVER=ID LDxxx ! remount to check contents

regards Kalle
Volker Halle
Honored Contributor

Re: OpenVMS Image backup on CD

Geir,


if you have a valid image (!) backup if your systemdisk before you created the LD container file, you may copy the backup with the following command to your LD disk:


BEFORE is the IMPORTANT word here ! Although files marked /NOBACKUP would not consume space in your .BCK file, they will be restored to their ORIGINAL size during the backup restore operation.

So this whole idea ONLY WORKS, if your system disk (without the LD container file on it) is LESS THAN HALF FULL !

Volker.
Joseph Huber_1
Honored Contributor

Re: OpenVMS Image backup on CD

Karl+Volker have answered already how to save space by making the LD image after doing the backup.
And when You make the image backup, You should remove all big but (on CD) useless files like page-/swap-/dump-files.

Of course You can copy the *.bck saveset file to LD:, but then You have a disk containing a single file, not a (bootable) image of the system disk.

Am I wrong in the assumption, that You have a (hobby-)system with only one disk dka0: where the system resides ?
Then for this exercise (to make a system image on CD), I propose to boot with startup_p1="MIN", remove all those not necessary files, do the backup to tape, then restore (create) the files, set startup_p1="" and reboot to make the virtual disk from the backup. Check also to have fresh/minmal errlog,security audit,accounting,operator.log etc. to minimize space used in the image backup.
http://www.mpp.mpg.de/~huber