Operating System - OpenVMS
1752798 Members
6021 Online
108789 Solutions
New Discussion юеВ

Re: regarding tape backup

 
SOLVED
Go to solution
nipun_2
Regular Advisor

regarding tape backup

Hi,
I am trying to backup data to a tape (SDLT 160/320).

I did the following steps

$init tp0 disk2 (where tp0 is a logical pointing to the tape device)

$mount /foreign tp0
$backup /image disk2 tp0:sc4238_1.sav /label=disk2 /block =65500


Now this operation....ran overnight however when I arrived the next day it gave the following message

%BACKUP-I-RESUME, resuming operation on volume 2
%MOUNT-I-OPRQST, medium is offline
%MOUNT-I-OPRQST, Please mount volume DISK02 in device _SC4264$MKC500:
BACKUP requests: Saveset SC4238_1.SAV, Volume number 02, write ENABLED
%MOUNT-I-NOOPR, no operator available to service request

This is where I put in a new tape (which was not initialized)


%MOUNT-I-MOUNTED, DISK02 mounted on _SC4264$MKC500:
%BACKUP-W-MOUNTERR, volume 2 on _SC4264$MKC500 was not mounted because its label does not match one requested
specify option (QUIT,NEW tape or OVERWRITE tape);new (this is the option I choose)



%BACKUP-W-MOUNTERR,volume 2 on _SC4264$MKC500 was not mounted because its label does not match the one requested



This message as well the obove option kept on repeating and finally it went to command prompt.


My conclusion:
I believe now I will have to start the entire backup operation again and this time I will have to intialize couple of tapes with name

"disk2"

so

$init tp0 disk2

and keep them ready so that when it asks for another tape I just put in a new one with name disk2

Let me know your thoughts and comments on this

It would be best if I get all the data on one tape. I thought I will because I have total of
286749488 blocks of disk space (combined volume set consisting of three hard drives)

Out of which roughly 20 GB is free. My tape is SDLT 160/320 GB tape so I am not sure why everything didn't get saved to a single tape ?

Please let me know how I can approach the problem

Ideally I would like to (in order of preference

1) Continue from the current backup operation
2) If I have to start again put the data on a single tape
3) If I need multiple tapes - anyway to get an idea when to put in the next tape

Let me know if you require more information


15 REPLIES 15
nipun_2
Regular Advisor

Re: regarding tape backup

I forgot to add

I have OPenVMS 7.3-2

Art Wiens
Respected Contributor

Re: regarding tape backup

If I remember correctly, I believe the NEW response really means - "oops, I put the wrong tape in, I'll go get a NEW one".

Reply with OVERWRITE, it should continue using the second tape you put in.

Art
nipun_2
Regular Advisor

Re: regarding tape backup

Hi I tried that as well and it gave the following


BACKUP-W-MOUNTERR, volume 2 on _SC4264$MKC500 was not mounted because its label does not match the one requested
specify option (QUIT,NEW tape or OVERWRITE tape) OVERWRITE
%BACKUP-F-POSITERR,error positioning TP0:[]SC4238_1.SAV;
-SYSTEM-F-MEDOFL, medium is offline
$INIT TP0 DISK2
%SYSTEM-F-DEVMOUNT, device is already mounted
$
Peter Zeiszler
Trusted Contributor

Re: regarding tape backup

Try using the /media=compaction when you init the tape and in the backup command.

Use Overwrite when you are asked for a second tape.

Jim_McKinney
Honored Contributor

Re: regarding tape backup

> %BACKUP-F-POSITERR,error positioning TP0:[]SC4238_1.SAV;
> -SYSTEM-F-MEDOFL, medium is offline
> $INIT TP0 DISK2
> %SYSTEM-F-DEVMOUNT, device is already mounted


The positition error is indicative of a hardware failure - or perhaps a reaction to to an incorrect media format (compaction?). The already mounted message is indicating that the process running BACKUP still has control of the drive. You'll need to initialize any tapes that you intend to use prior to starting the BACKUP (I presume that you don't have a 2nd drive to use for an ad-hoc initialization).
nipun_2
Regular Advisor

Re: regarding tape backup

Yes I only have a single tape drive
Karl Rohwedder
Honored Contributor
Solution

Re: regarding tape backup

It is normally not nec. to pre-INIT all the tapes needed in a BACKUP operation.
But perhaps you are using different types of tapes, e.g. DDS-2,DDS-3...
I assume (not tried), that BACKUP uses the properties of the 1st tape regarding density... to INIT the next tapes thus leading to an error.
If you do not have empty tapes to continue with, you may use the quailfier /IGNORE=LABEL on the BACKUP command to instruct BACKUP to just overwrite the next tape (leaving the responsibility to insert a correct tape to you).

regards Kalle
Ian Miller.
Honored Contributor

Re: regarding tape backup

anything in the error log?

$ ANAL/ERROR/ELV TRANSLATE ERRLOG.SYS/OUT=E.LIS
The usual /SINCE and /BEFORE qualifiers can be used - See help for details.
____________________
Purely Personal Opinion
nipun_2
Regular Advisor

Re: regarding tape backup

Hi Ian,
Thanks for the reply

So I restarted the backup process by initialising two tapes before hand

and using

$backup /image disk2 tp0:sc4238_1.sav /ignore=label /rewind /block =65500

In between it stopped the backup operation and asked for a new tape so I inserted tape 2

It again stopped and has asked for a new tape.

In this case I don't have any more initialized tapes. In this scenario do I have to restart the backup operation or I simply quit the current operation (what command to use) and then start from this point on with a new tape and maybe using /since qualifier ??

One more question...
If I just get a new tape (un initialized tape) and simply continue the process as above can it work ?