Operating System - OpenVMS
1752848 Members
3909 Online
108790 Solutions
New Discussion

Re: AlphaVM, Backup's saveset maped to a disk device ... How to ?!

 
SOLVED
Go to solution
Ruslan R. Laishev
Super Advisor

AlphaVM, Backup's saveset maped to a disk device ... How to ?!

Hi All!

 

I have tried to get an access to the .BCK files (Backup saveset) from AlphaVM-free instance running OVMS/Alpha 8.4. So, I configured AlphaVMS disk2 as OS file alpha-sys.bck (it's a real VMS's Backlup savet set).

So, at the time I can

$MOUNT/FOR DKA200:

$DUMP DKA0

Dump of device DKA200: on 26-SEP-2016 12:28:58.79

Logical block number 0 (00000000), 512 (0200) bytes

00000000 00000000 00000000 00000000 00000000 00000001 00010001 08000100 ................................ 000000
422E4B43 422D5359 532D4148 504C4111 00000000 00007E00 E295EA8E 00010101 .....Й.Б.~.......ALPHA-SYS-BCK.B 000020
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00004B43 CK.............................. 000040
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000060
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000080
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0000A0
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0000C0
4B760000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ..............................vK 0000E0
2D535953 2D414850 4C410001 00110101 00000000 00000000 00000000 000100F0 П.....................ALPHA-SYS- 000100
4F4E283D 45524F4E 47492F45 47414D49 2F4B4341 42000200 464B4342 2E4B4342 BCK.BCKF...BACK/IMAGE/IGNORE=(NO 000120
4148504C 41204543 49564544 53595324 53595320 294C5245 544E492C 4B434142 BACK,INTERL) SYS$SYSDEVICE ALPHA 000140
20202020 56454853 49414C00 04000C45 5641532F 4B43422E 4B43422D 5359532D -SYS-BCK.BCK/SAVE....LAISHEV 000160
56000800 04080000 07000200 B0B6882F 72D37700 06000800 01000500 05000420 ............wсr/.І╟...........V 000180
47442431 245F000B 000B8000 0000000A 00043A3A 34565444 5F000900 07342E38 8.4...._DTV4::............_$1$DG 0001A0
42000F00 02000A00 0E000200 007E0000 0D000434 2E385600 0C00043A 32333741 A732:....V8.4.....~............B 0001C0
00000000 00000000 00000100 11000220 20202020 20202020 20202000 10000C0A ..... ............... 0001E0
$

to the screen, and see that real block from the save set is displayed, but cannot do something useful like

BACKUP /list DKA200: /save

did not produced expected result, I see only I/O count grow permanently.

 

So, any advice ?

The primary target is the restore system disk to the a yet another viruoal drive (.vdisk).

 

 

 

Thanks!

14 REPLIES 14
H.Becker
Honored Contributor

Re: AlphaVM, Backup's saveset maped to a disk device ... How to ?!

BACKUP-F-NOHOMEBLK, no valid home block found on ... ?

As far as I understand, a save set is always a file, to access the file it has to be either on a disk or a tape. What you tried was to point backup/list to the (raw) data of the save set. That is not supposed to work.

What you can do, is to copy the raw data into a file, like

$ copy dka200:*.* x.bck


You will see warnings like

%COPY-W-INCOMPAT, DKA200:[].; (input) and USER$DISK:[USER]X.BCK;1 (output) have incompatible attributes
%COPY-E-READERR, error reading DKA200:[].;
-RMS-F-RER, file read error
-SYSTEM-F-ILLBLKNUM, illegal logical block number
%COPY-W-NOTCMPLT, DKA200:[].; not completely copied
%COPY-W-NOTCMPLT, DKA200:[USER].; not completely copied
$

Then a

$ backup/list/repair x.bck/sav

should work.

I know, this - another copy of the saveset - is what you want to avoid.

On the other hand, where is the system disk which you want to clone? Very likely on a real Alpha, otherwise you would have copied the "vdisk". Again, as far as I know, there is no special "vdisk" format. If you have enough disk space on the source system I would create a container file, ld device, do an image backup from the system disk to the ld device and copy the container file to the AlphaVM host system.

Ruslan R. Laishev
Super Advisor

Re: AlphaVM, Backup's saveset maped to a disk device ... How to ?!

Hi!

Thanks for the response!

.VDISK is a file-container has been produced by windoze DiskPart utility , so containers has been used by some other VMs like VirtualBox and VMWare ...

Yeah, I have tried to avoid manipulation with  huge files (50+ GB), so I thinking that using MOUNT/FOR and access to the DKA as non-structured block-oriented device can be handled by BACKUP.

I'll try to get something useful with COPY ... but I thhink that record-oriented copiing will be a root of problem, it need to find way to performing block-oriented copy with restoring RMS attributes of the resulted .BCK file.

Thanks!

Ruslan R. Laishev
Super Advisor

Re: AlphaVM, Backup's saveset maped to a disk device ... How to ?!

BACKUP-F-NOHOMEBLK, no valid home block found on ... ?

No, 

BACKUP DKA200: /SAVE [...] did not produce any output at all, I can only see something by pressing Control-T

Ruslan R. Laishev
Super Advisor

Re: AlphaVM, Backup's saveset maped to a disk device ... How to ?!

Dump of device DKA200: on 26-SEP-2016 12:28:58.79

Logical block number 0 (00000000), 512 (0200) bytes

00000000 00000000 00000000 00000000 00000000 00000001 00010001 08000100 ................................ 000000
422E4B43 422D5359 532D4148 504C4111 00000000 00007E00 E295EA8E 00010101 .....Й.Б.~.......ALPHA-SYS-BCK.B 000020
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00004B43 CK.............................. 000040
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000060
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 000080
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0000A0
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ 0000C0
4B760000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ..............................vK 0000E0
2D535953 2D414850 4C410001 00110101 00000000 00000000 00000000 000100F0 П.....................ALPHA-SYS- 000100
4F4E283D 45524F4E 47492F45 47414D49 2F4B4341 42000200 464B4342 2E4B4342 BCK.BCKF...BACK/IMAGE/IGNORE=(NO 000120
4148504C 41204543 49564544 53595324 53595320 294C5245 544E492C 4B434142 BACK,INTERL) SYS$SYSDEVICE ALPHA 000140
20202020 56454853 49414C00 04000C45 5641532F 4B43422E 4B43422D 5359532D -SYS-BCK.BCK/SAVE....LAISHEV 000160
56000800 04080000 07000200 B0B6882F 72D37700 06000800 01000500 05000420 ............wсr/.І╟...........V 000180
47442431 245F000B 000B8000 0000000A 00043A3A 34565444 5F000900 07342E38 8.4...._DTV4::............_$1$DG 0001A0
42000F00 02000A00 0E000200 007E0000 0D000434 2E385600 0C00043A 32333741 A732:....V8.4.....~............B 0001C0
00000000 00000000 00000100 11000220 20202020 20202020 20202000 10000C0A ..... ............... 0001E0
$ back /list /repa dka200: /save
Listing of save set(s)

SYSMAN::SYSTEM 13:46:34 BACKUP CPU=01:40:04.01 PF=4938 IO=40057204 MEM=268
SYSMAN::SYSTEM 13:46:46 BACKUP CPU=01:40:07.82 PF=4938 IO=40117086 MEM=268
SYSMAN::SYSTEM 13:46:49 BACKUP CPU=01:40:08.99 PF=4938 IO=40135493 MEM=268
SYSMAN::SYSTEM 13:46:52 BACKUP CPU=01:40:09.92 PF=4938 IO=40149260 MEM=268
SYSMAN::SYSTEM 13:46:54 BACKUP CPU=01:40:10.75 PF=4938 IO=40164872 MEM=268
SYSMAN::SYSTEM 13:46:57 BACKUP CPU=01:40:11.85 PF=4938 IO=40188069 MEM=268
Interrupt

$ back /list dka200: /save
Listing of save set(s)

SYSMAN::SYSTEM 13:47:11 BACKUP CPU=01:40:12.73 PF=5107 IO=40200074 MEM=254
SYSMAN::SYSTEM 13:47:13 BACKUP CPU=01:40:13.52 PF=5107 IO=40208243 MEM=254
SYSMAN::SYSTEM 13:47:15 BACKUP CPU=01:40:14.10 PF=5107 IO=40215007 MEM=254
SYSMAN::SYSTEM 13:47:17 BACKUP CPU=01:40:14.89 PF=5107 IO=40225746 MEM=254
SYSMAN::SYSTEM 13:47:19 BACKUP CPU=01:40:15.45 PF=5107 IO=40234836 MEM=254
SYSMAN::SYSTEM 13:47:21 BACKUP CPU=01:40:16.13 PF=5107 IO=40246571 MEM=254
Interrupt

$ sho dev dka200: /full

Disk SYSMAN$DKA200:, device type EmuVM HD image, is online, allocated,
deallocate on dismount, mounted foreign, file-oriented device, shareable,
available to cluster, error logging is enabled.

Error count 0 Operations completed 39526861
Owner process "SYSTEM" Owner UIC [SYSTEM]
Owner process ID 0000009A Dev Prot S:RWPL,O:RWPL,G:R,W
Reference count 2 Default buffer size 512
Current preferred CPU Id 0 Fastpath 1
Total blocks 38325484 Sectors per track 78
Total cylinders 6220 Tracks per cylinder 79

Volume label "" Relative volume number 0
Cluster size 0 Transaction count 1
Free blocks 0 Maximum files allowed 0
Extend quantity 0 Mount count 1
Mount status Process ACP process name ""

Volume Status: Unknown ACP type.

$

Ruslan R. Laishev
Super Advisor

Re: AlphaVM, Backup's saveset maped to a disk device ... How to ?!

May be I can restore with  Backup API ? What you think ?

H.Becker
Honored Contributor

Re: AlphaVM, Backup's saveset maped to a disk device ... How to ?!

> BACKUP DKA200: /SAVE [...] did not produce any output at all, I can only see something by pressing Control-T

What do I know, I would have expected backup to look for a valid home block. A backup/list should give you the summary information almost immediately. And then, together with /LIST you can try /ANALYZE, which may show what backup is trying to do. But I have to agree, I didn't try this, here.

Anyway, it's not obvious to me what you are trying to achieve.

>>> The primary target is the restore system disk to the a yet another viruoal drive (.vdisk).

I interpreted this as you want to make an existing VMS system disk available to the AlphaVM. OK, I may be wrong.

You do have a save set with an image backup of the system disk and you want to restore that to a VMS disk on the AlphaVM, right?

To me it seems here you can't avoid some copying. Either in VMS from the foreign mounted device or on the host system, where I would try to create an ISO 9660 image file, including just the save set file. Then I would configure AlphaVM to use the ISO file as CDRom device. In VMS I would mount the CDROM with /UNDEFINED_FAT=FIXED:NONE:32256 and access the save set file. Again, I didn't try it, but that's what I understand what you are trying to do and what could work.

Edit: As I said, I didn't try to create an ISO file and thinking about the size of the save set it may not be worth the time to try it. The intend was to create a container file on the AlphaVM host, which is readable from VMS.

Ruslan R. Laishev
Super Advisor

Re: AlphaVM, Backup's saveset maped to a disk device ... How to ?!

I have not an access to the VMS system to performs with the disk images anything. I have only backup save sets.

Let me imagine the situation with some more words. I made image backup from real VMS system. This cluster system was eliminated by fkng marketoids an so on ...

So I trying to build  a part of environment by using AlphaVM.

I installed VMS to a small virtual .vdisk.

Booted from it.

Created a big .vdisk for a new system disk (which I want to create by restoring from .BCK ).

Mapped .bck file to the DKA200: ...

A rest of the history u can see at begin of the post.

H.Becker
Honored Contributor

Re: AlphaVM, Backup's saveset maped to a disk device ... How to ?!

I don't have such big save sets. So I could do only limited testing. I created a small image backup save set, created a small ISO file containing it and on VMS mounted the "ISO file" with /UNDEFINED_FAT as described: backup lists the contents of the save set.  Then I tried to mount a 4GB "ISO" file, which actually is a Linux distribution DVD: VMS happily mounts it as a "CDROM". So it may work to create an ISO file with your 50+GB save sets and mount/access them from VMS as well.

The other option seems to be to copy the file from the AlphaVM host to VMS, for example with ftp.

Ruslan R. Laishev
Super Advisor

Re: AlphaVM, Backup's saveset maped to a disk device ... How to ?!

Thanks!

 

FTP, SFTP and FTPS implementaion by HP/Process Software cannot transfering so big files, so, I have wrote a small utility to performs transferring huge files with resume broken downloads? multistreaming, CRC-checking and so on ... I keep in mind that I can download into the VMS system the saveset by the same way. But ... why I cannot get something useful from the BACKUP ?! :-)