- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Saveset blocksize on tape to allow COPY to dis...
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
03-03-2006 05:24 AM
03-03-2006 05:24 AM
I have such a saveset from a VAX v6.2 system disk that I want to get off tape and onto another disk on my test v7.3-2 Alpha. I want to do this because I will need to restore it into an LD disk a few times and don't want to wait on tape restore each time.
The disk was originally backed up on a TZ88 with:
$ backup -
/image -
/ignore=(interlock,nobackup) -
$40$DIA5: -
MKA200:060225.bck -
/save /noinitialize -
/label=060225 -
/media_format=compaction -
/block=32768
The error I get is:
$ copy mkc300:[]060225.bck dkb400:[vax_disks]
%COPY-E-OPENIN, error opening MKC300:[]060225.BCK;1 as input
-RMS-F-IRC, illegal record encountered; VBN or record number = 0
I'm fairly certain this is the message when the blocksize on tape is too big.
What's the "magic" number?
Thanks in advance,
Art
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 05:28 AM
03-03-2006 05:28 AM
Re: Saveset blocksize on tape to allow COPY to disk
For clarity ...
mkc300:[ no spaces in here ]060225.bck
It's not a "box",
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 05:34 AM
03-03-2006 05:34 AM
Re: Saveset blocksize on tape to allow COPY to disk
The "magic" number is 32256.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 05:36 AM
03-03-2006 05:36 AM
Re: Saveset blocksize on tape to allow COPY to disk
Backup writes a saveset to disk with a record format of "Fixed length 32256 byte records". The "magic" number is 32256.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 05:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 05:37 AM
03-03-2006 05:37 AM
Re: Saveset blocksize on tape to allow COPY to disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 05:55 AM
03-03-2006 05:55 AM
Re: Saveset blocksize on tape to allow COPY to disk
RMS uses a signed word (16-bit value) on disk to maintain the record length, because -1 (and -2 ?) are used for special meanings. 32768(10) = 8000(16) gives an error as it does not fit into a signed 16-bit value (-32768..0..32767).
- mkc300:[ no spaces in here ]060225.bck
the "[]" is not necessary, unless your "SET DEFAULT" is on a search list. In that case, you will end up with several copies on disk, because RMS takes the directory default from the search list.
Many people are aware of this by now - a typical call from somebody new to VMS is when he does a:
$ directory tape:
while logged in to SYSTEM. The workaround is easy:
$ directory tape:[] ! ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 06:02 AM
03-03-2006 06:02 AM
Re: Saveset blocksize on tape to allow COPY to disk
Easy: it's 32768 - 512
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 07:01 AM
03-03-2006 07:01 AM
Re: Saveset blocksize on tape to allow COPY to disk
BACKUP MKC300:[]060225.BCK dkb400:[vax_disks]060225.BCK/LOG
This might work. I'm not sure.
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 07:11 AM
03-03-2006 07:11 AM
Re: Saveset blocksize on tape to allow COPY to disk
%BACKUP-F-ONEF11DEV, both input and output must not be save sets
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 07:12 AM
03-03-2006 07:12 AM
Re: Saveset blocksize on tape to allow COPY to disk
The product named "saveset manager" (or something like this) might be able to do this, though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 07:15 AM
03-03-2006 07:15 AM
Re: Saveset blocksize on tape to allow COPY to disk
I'll have a new tape on Monday to try.
Thanks all,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2006 08:43 PM
03-03-2006 08:43 PM
Re: Saveset blocksize on tape to allow COPY to disk
Indeed it can. SSMGR V1.8 latest.
$ SAVESET input-ss output-ss[x5]
Interestingly you can create up to 5 output save sets from a single input save set in one go.
There is also a /BLOCK_SIZE qualifer that allows you to specify a new output-ss block size ranging from 2048~65024 (rounded up to 512) but limited to 32256 on disk.
Kind Regards
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2006 08:35 PM
03-05-2006 08:35 PM
Re: Saveset blocksize on tape to allow COPY to disk
you did not write anything about the previous mount command. AFIAK you have to specify the blocksize during mount, so that you can copy the file. If you have a linces for the saveset manager utility, this would be the better way to copy savesets. But you should specify the blocksize also:
SAVE COPY tape:saveset /BLOCK=32768 disk:saveset /BLOCK=32256.
Best reagrds Rudolf Wingert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2006 09:01 PM
03-05-2006 09:01 PM
Re: Saveset blocksize on tape to allow COPY to disk
Don't remember off the top of my head, but a single use product license is very reasonable. It's also been/being ported to I64
Kind Regards
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 08:16 AM
03-06-2006 08:16 AM
Re: Saveset blocksize on tape to allow COPY to disk
Sorry, you probably don't want to know this...
FYI, there are only two supported utilities for accessing backup savesets on tapes - BACKUP and Saveset Manager.
Although you may be able to get COPY to "work" with sufficient fiddling, it's not supported. You experiences give an insight into why...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 09:09 AM
03-06-2006 09:09 AM
Re: Saveset blocksize on tape to allow COPY to disk
From HELP MOUNT MOUNT_Examples :
1.$ MOUNT MTA0: MATH06 STAT_TAPE
%MOUNT-I-MOUNTED, MATH06 mounted on _MTA0:
$ COPY ST061178.DAT STAT_TAPE:
This MOUNT command requests the magnetic tape whose volume label is MATH06 to be mounted on the device MTA0 and assigns
the logical name STAT_TAPE to the volume.
Subsequently, the COPY command copies the disk file ST061178.DAT to the magnetic tape.
Sounds like it is,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 01:02 PM
03-06-2006 01:02 PM
Re: Saveset blocksize on tape to allow COPY to disk
>Mounting a tape "files-11" isn't supported?!
That's not what I said. Of course you can mount files-11 tapes and copy files to and from them. However, backup savesets are not just ordinary files-11 tapes and files.
It's not even to say that COPY won't work, just that it isn't supported, and there are circumstances where it will fail. For example, BACKUP must *preserve* errors from the original disk, and restore them. COPY can't do that.
If you want to use COPY on a saveset, you must use BACKUP/INTERCHANGE when you create it, but I' not sure if it's allowed with /IMAGE (which is required for a system disk saveset). If you do use /INTERCHANGE, don't expect stellar performance!
Here's the best I could come up with for a reference at short notice. Yes it's very old, but I don't believe the restriction has ever (or can ever) be relaxed:
VMS V5.2 Release Notes page 3-7 section 3.4.5,
"Magnetic-Tape Save Sets - Restriction",
"Only magnetic-tape save sets created with the /INTERCHANGE qualifier can be copied successfully to disk or tape using the DCL command COPY. In general, Digital does not recommend using the DCL command COPY to copy magnetic-tape save sets to disk or tape. This is because BACKUP's default error correction methods will not be used, and the file created with the COPY command may contain inconsistent data."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 01:43 PM
03-06-2006 01:43 PM
Re: Saveset blocksize on tape to allow COPY to disk
I guess I realize a saveset is a "special" file, but in the end, one could argue a file is a file. If savesets can be resurrected after an "unsanctioned" zipping and transportation, you wouldn't think two supported device subsystems by one vendor would have an issue.
Thanks for the insight though ... very interesting.
I'll have to cost out SSM. Sounds like the ticket for a lot of reasons!
Cheers,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 07:30 AM
03-07-2006 07:30 AM
Re: Saveset blocksize on tape to allow COPY to disk
If you want to make it easier and supported;
On your VAX;
$ backup -
/image -
/ignore=(interlock,nobackup) -
$40$DIA5: -
MKA200:060225.bck -
/save /noinitialize -
/label=060225 -
/media_format=compaction -
/block=32768
On your Alpha;
$ ld create vaxdsk/size=? ! size in blocks
$ ld connect vaxdsk lda1:
$ mount/for lda1:
$ backup mkc300:060225.bck lda1:/image
$ dismount lda1:
$ mount lda1: label
$ backup lda1:/image -
dkb400:[vax_disks]060225.bck/save
Then you will have your LD disk and your saveset on disk without having to do an unsupported copy or worry about block sizes.
Or if you have DECNet running on the VAX at the time
$ backup -
/image -
/ignore=(interlock,nobackup) -
$40$DIA5: -
alphaname::dkb400:[vax_disk]060225.bck -
/save
will work if you have a proxy setup on the Alpha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 07:36 AM
03-07-2006 07:36 AM
Re: Saveset blocksize on tape to allow COPY to disk
>I guess I realize a saveset is a
>"special" file, but in the end, one
>could argue a file is a file. If
>savesets can be resurrected after
>an "unsanctioned" zipping and
>transportation
Note, there is a BIG difference between a saveset on DISK and a saveset on TAPE. When BACKUP was architected, tape drives lacked many of the error detection and recovery features of disk subsystems of the day, so BACKUP had to compensate. See all the extra stuff BACKUP has /CRC, /GROUP etc... (and a few more "under the hood"). That a tape created by BACKUP looks like a "real" Files-11 tape is almost a coincidence.
The unsupported COPY issue is just for savesets on *TAPE*. Once the saveset file is on a disk, yes, it's just a file, and you can do what you like with it, with whatever utilities and programs you like.
Please make sure you understand the distinction here.
FWIW, I believe that magnetic tape technology has reached its use by date. The only reason it was ever worthwhile was price. You traded cheap media for long save and recovery times.
Given the cost of hard disk drives and optical media is almost as cheap as those expensive tape cartridges, I'd recommend everyone stops considering a tape drive as a requirement and seriously considers a backup strategy that is entirely disk based. Huge advantages, just plug the disk module into the shelf and go. No messing around with arguments like this thread, no waiting for restores, no potential broken tapes or dropouts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 07:54 AM
03-07-2006 07:54 AM
Re: Saveset blocksize on tape to allow COPY to disk
> "real" Files-11 tape is almost a coincidence.
Yep, I recall from a discussion with Andy G. some years back that it was rather meant for debugging purposes.
Ho, btw: I'd be very careful when creating savesets over a DECnet link. It's been a number of years now (10+), but I had a situation when BACKUP did create corrupted savesets that way - better use a /VERIFY.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 08:00 AM
03-07-2006 08:00 AM
Re: Saveset blocksize on tape to allow COPY to disk
That's _exactly_ what I did with the exception of the last image backup of the LD disk.
The reason this whole thing came up is I did _exactly_ that and I ended up with a "corrupt" restore. Both VMS$COMMON.DIR and all the SYSCOMMON.DIR aliases were broken - No such file message if any of them were referenced. The only thing that "worked" was a DIR/FILE which showed they were all one in the same FID.
I fixed the above "corruption". I was very tempted to start another thread entitled "Unsupported action, LD Driver bug, Bad source disk or Bad tape/drive" but I wanted to try it a few times to see if it was consistent and/or if it behaved differently if I restored from a saveset on disk. Plus the title was too long ;-)
Cheers,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 08:20 AM
03-07-2006 08:20 AM
Re: Saveset blocksize on tape to allow COPY to disk
Thanks for even more insight! I understand.
I'm with you on pitching out tape technology ... have a look at my personal quote in my profile ;-)
I haven't had a chance to try the tape with the smaller block size yet. I'll load it up before I go home and give it a whirl tonight.
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 09:32 AM
03-07-2006 09:32 AM
Re: Saveset blocksize on tape to allow COPY to disk
why not report it here
http://www.openvms.org/phorum/list.php?f=5
and the author may reply.
Purely Personal Opinion