[Veritas-bu] Unable to change status of media
2001-06-21 01:26:30
Subject: |
[Veritas-bu] Unable to change status of media |
From: |
ladydi AT virginia DOT edu (Diane M. Meeker) |
Date: |
Thu, 21 Jun 2001 01:26:30 -0400 (Eastern Daylight Time) |
Hello,
Ran into the same problem and found I had to also code a -h (hostname of media
server)
for mine to work. The -h host name would be that of the client that serviced
the tape
request. We are a multihosted environment and each server keeps a database of
media.
> Date: Thu, 21 Jun 2001 12:24:55 -0400
> From: Jason Ahrens <AhrensJ AT psi DOT ca>
> To: Veritas BU <veritas-bu AT mailman.eng.auburn DOT edu>
> 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
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Veritas-bu] Unable to change status of media,
Diane M. Meeker <=
|
|
|