Veritas-bu

[Veritas-bu] Unable to change status of media

2001-06-21 12:24:55
Subject: [Veritas-bu] Unable to change status of media
From: AhrensJ AT psi DOT ca (Jason Ahrens)
Date: Thu, 21 Jun 2001 12:24:55 -0400
Recently I have begun trying to change the status of some media (for during
scripts). In particular, I am attempting to freeze a volume so that it will
not be chosen for a future operation by the script (because of what this
script does, if I do not somehow make the tape 'unavailable' it is a
certainty it will be used again immediately).

As can be seen below, the media exists to vmquery, but a bpmedia -freeze
fails telling me it does not exist.

Any clues on why this might be?

Thanks

root@veritasmaster1:/usr/openv/scripts/tmp#
/usr/openv/netbackup/bin/admincmd/bpmedia -freeze -ev 010521 -v     
<2>bpmedia: INITIATING: NetBackup 3.4GA created: 2000060700
<2>bpmedia: requested media id was not found in NB media database and/or MM
volume database
requested media id was not found in NB media database and/or MM volume
database
<2>bpmedia: EXIT status = 95
root@veritasmaster1:/usr/openv/scripts/tmp# vmquery -m 010521
============================================================================
====
media ID:              010521
media type:            1/2" cartridge tape (6)
barcode:               010521
description:           ----
volume pool:           STG1 (2)
robot type:            TLD - Tape Library DLT (8)
robot number:          0
robot slot:            368
robot host:            veritasmaster1
volume group:          00_000_TLD
created:               Fri Aug 11 10:15:56 2000
assigned:              Sat May 19 03:03:43 2001
last mounted:          Sat May 19 20:02:35 2001
first mount:           Sat May 19 03:02:27 2001
expiration date:       ---
number of mounts:      2
max mounts allowed:    ---
status:                0x0
============================================================================
====

Jason
--
Jason Ahrens
Systems Administrator/Backup Specialist
PSINet Limited
http://www.psi.ca
The Internet SuperCarrier


<Prev in Thread] Current Thread [Next in Thread>