[Veritas-bu] Unable to change status of media
2001-06-21 14:02:02
Hello
You have to specify the host on which the tape was written with the -h option.
ie.:
bpmedia -freeze -ev $MEDIAID -h $MEDIASERVER
Regards,
John I Wang
Sr. Systems Engineer
Steverson Information Professionals
---
Enron Networks
Enron Building room 3427e
ph (713) 345-4888
cell (832) 493-1263
fax (713) 646-8462
pg pagejwang AT skytel DOT com or 1-877-390-4155
|--------+----------------------->
| | [email protected]|
| | a |
| | |
| | 06/21/01 |
| | 11:24 AM |
| | |
|--------+----------------------->
>--------------------------------------------------------------------|
| |
| To: veritas-bu AT mailman.eng.auburn DOT edu |
| cc: (bcc: John Wang/Contractor/Enron Communications) |
| Subject: [Veritas-bu] Unable to change status of media |
>--------------------------------------------------------------------|
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
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|
|
|