- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- BACKUP/NOASSIST & MOUNT/NOASSIST
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
01-14-2004 05:43 AM
01-14-2004 05:43 AM
BACKUP/NOASSIST & MOUNT/NOASSIST
When does Backup/Noassist timeout?
Or do you just get
%BACKUP-I-READYWRITE, mount volume 1 on MKA600: for writing
Enter "YES" when ready:
Can it be set to timeout after 3600 seconds as well?
As I want to use it in a batch job!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2004 07:31 AM
01-14-2004 07:31 AM
Re: BACKUP/NOASSIST & MOUNT/NOASSIST
if you are running a batch /noassist is not supposed to work anyhow, from the help:
The /NOASSIST qualifier has no
effect if the logical name SYS$COMMAND points to a device that
is not a terminal (as is the case when you run BACKUP in a batch
job).
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 08:44 PM
11-09-2004 08:44 PM
Re: BACKUP/NOASSIST & MOUNT/NOASSIST
I agree with Martin that the documentation states that a BACKUP/NOASSIST combination is not intended for batch jobs. But there is a question on Ask The Wizard (see BACKUP,Tapes and Operator Assistance?) where the answer implies that either BACKUP/NOASSIST or MOUNT/NOASSIST is the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 09:16 PM
11-09-2004 09:16 PM
Re: BACKUP/NOASSIST & MOUNT/NOASSIST
http://h71000.www7.hp.com/wizard/wiz_7395.html
I usally am initialising the tape first so the INIT command fails if no tape is loaded and the job exits with an error.
I can't see the text in help that Martin referred to but parhaps you could work around it by assigning SYS$COMMAND to OPA0: for the duration of the mount command
$ DEFINE/USER SYS$COMMAND OPA0:
$ MOUNT/NOASSIST....
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 09:27 PM
11-09-2004 09:27 PM
Re: BACKUP/NOASSIST & MOUNT/NOASSIST
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 09:42 PM
11-09-2004 09:42 PM
Re: BACKUP/NOASSIST & MOUNT/NOASSIST
which you can conditionally react upon (well, along with other -F- errors) with
$ ON SEVERE_ERROR THEN GOTO
Cheers.
Have one on me.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 09:46 PM
11-09-2004 09:46 PM
Re: BACKUP/NOASSIST & MOUNT/NOASSIST
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 09:46 PM
11-09-2004 09:46 PM
Re: BACKUP/NOASSIST & MOUNT/NOASSIST
please note that MOUNT/NOASSIST does NOT wait until MVTIMEOUT expires, it will return with an appropriate error (after a couple of mount/device specific internal retries). This may take up to 2-3 minutes...
Example:
(MVTIMEOUT=3600 on this system).
$ show time
10-NOV-2004 11:41:06
$ mount/noassist/over=id $1$mkb0:
%MOUNT-F-MEDOFL, medium is offline
$ show time
10-NOV-2004 11:43:05
So first trying to mount the tape with MOUNT/FOR/NOASSIST before letting BACKUP use it, will probably be the best method to detect a problem with the device/medium.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 10:01 PM
11-09-2004 10:01 PM
Re: BACKUP/NOASSIST & MOUNT/NOASSIST
In my post I try to explain what happens when you use the /ASSIST qualifier. It will not work if an operator leaves withot logout (which is a security issue).
I use the backup command as it was in the old days when backup was not able to mount tapes. So first INIT if needed (as you) and then MOUNT/FOREIGN.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 10:15 PM
11-09-2004 10:15 PM
Re: BACKUP/NOASSIST & MOUNT/NOASSIST
Volker - are you saying that the behavior of MOUNT/FOR/NOASSIST is different to what BACKUP/NOASSIST does when mounting tapes?
If so then this suggests doing the MOUNT first is a good thing.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 10:30 PM
11-09-2004 10:30 PM
Re: BACKUP/NOASSIST & MOUNT/NOASSIST
_OUR_ main reason for mounting the tape first, is that we can than do good label checking, and take appropriate action.
-- for unattended backups, we REQUIRE the tape to have the correct label, or be a new, unlabelled tape. If using a tape loader, human error IS to be expected (hopefully not too often),and needs to be prevented from causing more damage than "just" a day's backup skipped.
Cheers.
Have one on me.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2004 11:51 PM
11-09-2004 11:51 PM
Re: BACKUP/NOASSIST & MOUNT/NOASSIST
Volker - are you saying that the behavior of MOUNT/FOR/NOASSIST is different to what BACKUP/NOASSIST does when mounting tapes?
Example from the same system:
(there is no tape in the drive)
$ backup/noassist *.com mkb0:x.bck/save/rew/ign=label
%MOUNT-F-MEDOFL, medium is offline
%BACKUP-I-READYWRITE, mount volume 1 on _$1$MKB0: for writing
Enter "YES" when ready:
You have to abort this with CTRL/Y (QUIT won't work).
If the same command is run in batch job, then you would get:
%MOUNT-I-OPRQST, medium is offline
%MOUNT-I-OPRQST, Please mount volume X in device _$1$MKB0: (AXPVMS)
BACKUP requests: Saveset X.BCK, Volume number 01, write ENABLED
Even if OPA0: is not logged in, it may still be enabled as an OPERATOR terminal. So once I did
$ DEF/USER SYS$COMMAND OPA0:
$ REPLY/DISABLE
the BACKUP command in the batch job immediately finished with:
%MOUNT-F-BATCHNOOPR, no operator available to service batch request
So yes, the behaviour of /NOASSIST is different when used with MOUNT or BACKUP.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 12:22 AM
11-10-2004 12:22 AM
Re: BACKUP/NOASSIST & MOUNT/NOASSIST
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 07:53 AM
11-10-2004 07:53 AM
Re: BACKUP/NOASSIST & MOUNT/NOASSIST
$ backup/noassist *.com mkb0:x.bck/save/rew/ign=label
%MOUNT-F-MEDOFL, medium is offline
%BACKUP-I-READYWRITE, mount volume 1 on _$1$MKB0: for writing
Enter "YES" when ready:
I am not really in a position to test this now (test system is long-time in use for some big test sequence), but does the above react to the ON SEVERE_ERROR, or is it converted to Informational before DCL is allowed to react?
In the second case, that would mean that Rob would have to discard my previous answer :-(
Cheers.
Have one on me.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 08:38 AM
11-10-2004 08:38 AM
Re: BACKUP/NOASSIST & MOUNT/NOASSIST
well in a batch it explicitly gets converted to -I-, so no severe error to catch. Here is
a log of a test I just ran:
$ on severe_error then goto err_exit
$ backup/noass *.com $1$mkb400:x.bck/save/rew/ign=label
%MOUNT-I-OPRQST, medium is offline
%MOUNT-I-OPRQST, Please mount volume X in device _$1$MKB400: (NC4001)
BACKUP requests: Saveset X.BCK, Volume number 01, write ENABLED
The same executed interactively has status -F-.
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 06:47 PM
11-10-2004 06:47 PM
Re: BACKUP/NOASSIST & MOUNT/NOASSIST
BACKUP catches/handles the %MOUNT-F-MEDOFL condition, so it never gets to DCL. Note this happens when run INTERACTIVELY and you can't get out of it except with CTRL/Y.
Volker.