[Veritas-bu] More Media Fun!
2005-12-20 11:35:04
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C60582.E0DD052B
Content-Type: text/plain;
charset="iso-8859-1"
Well, the tape you've queried is already deassigned (see the "assigned"
field below).
"deassignbyid" is a big hammer of command options - I try to do everything I
can before I resort to this. -MA common "not found in NB media database" is
the need to specify the media server for the tape on the command line,
usually a "-h mediaserver" option.
You can find the media server for a tape with "bpmedialist -m <mediaid>".
-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of Martin,
Jonathan (Contractor)
Sent: Tuesday, December 20, 2005 6:44 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] More Media Fun!
I'm trying to expire some long offsite media from my UNIX Netbackup media
server and I get the following:
bpexpdate -m SU440S -d 0 -host backitup -force
requested media id was not found in NB media database and/or MM volume
database
So I try...
vmquery -deassignbyid SU440S 6 0
============================================================================
====
media ID: SU440S
media type: DLT cartridge tape 2 (16)
barcode: BSU440S
media description: SuperDLT 220 Tape
volume pool: SUPER_POOL (6)
robot type: NONE - Not Robotic (0)
volume group: ---
vault name: ---
vault sent date: ---
vault return date: ---
vault slot: ---
vault session id: ---
created: Thu Oct 30 15:33:52 2003
assigned: ---
last mounted: Sat Nov 01 01:39:42 2003
first mount: Sat Nov 01 01:39:42 2003
expiration date: ---
number of mounts: 1
max mounts allowed: ---
This always works in my NT Environment.. what am I doing wrong / any ideas
on where to go from here?
Thanks as always,
-Jonathan
------_=_NextPart_001_01C60582.E0DD052B
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1515" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=159503116-20122005><FONT face=Arial color=#0000ff size=2>Well,
the tape you've queried is already deassigned (see the "assigned" field
below).</FONT></SPAN></DIV>
<DIV><SPAN class=159503116-20122005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=159503116-20122005><FONT face=Arial color=#0000ff
size=2>"deassignbyid" is a big hammer of command options - I try to do
everything I can before I resort to this. -MA common "not found in NB
media database" is the need to specify the media server for the tape on the
command line, usually a "-h mediaserver" option.</FONT></SPAN></DIV>
<DIV><SPAN class=159503116-20122005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=159503116-20122005><FONT face=Arial color=#0000ff size=2>You
can find the media server for a tape with "bpmedialist -m
<mediaid>".</FONT></SPAN></DIV>
<DIV><SPAN class=159503116-20122005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=159503116-20122005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]<B>On Behalf Of
</B>Martin,
Jonathan (Contractor)<BR><B>Sent:</B> Tuesday, December 20, 2005 6:44
AM<BR><B>To:</B> veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B>
[Veritas-bu] More Media Fun!<BR><BR></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=399034013-20122005></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=399034013-20122005>I'm trying to expire some long offsite media from my
UNIX Netbackup media server and I get the
following:</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT size=+0><FONT size=+0><FONT size=+0><FONT size=+0><FONT
face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=399034013-20122005></SPAN></FONT></FONT></FONT></FONT></FONT></FONT></FONT> </DIV>
<DIV><FONT size=+0><FONT size=+0><FONT size=+0><FONT size=+0><FONT
face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=399034013-20122005> </SPAN>bpexpdate -m SU440S -d 0 -host backitup
-force<BR>requested media id was not found in NB media database and/or MM
volume database<BR><SPAN
class=399034013-20122005> </SPAN></FONT></FONT></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT size=+0><FONT size=+0><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN class=399034013-20122005>So I
try...</SPAN></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT size=+0><FONT size=+0><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN
class=399034013-20122005></SPAN></FONT></FONT></FONT></FONT></FONT> </DIV><FONT
size=+0><FONT size=+0><FONT size=+0><FONT size=+0><SPAN
class=399034013-20122005>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><BR><FONT face=Arial
color=#0000ff size=2>vmquery -deassignbyid SU440S 6
0<BR>================================================================================<BR>media
ID:
SU440S<BR>media
type: DLT
cartridge tape 2
(16)<BR>barcode:
BSU440S<BR>media description: SuperDLT 220
Tape<BR>volume
pool: SUPER_POOL
(6)<BR>robot
type: NONE
-
Not Robotic (0)<BR>volume
group: ---<BR>vault
name:
---<BR>vault sent date: ---<BR>vault
return date: ---<BR>vault
slot:
---<BR>vault session id:
---<BR>created:
Thu Oct 30 15:33:52
2003<BR>assigned:
---<BR>last mounted:
Sat
Nov 01 01:39:42 2003<BR>first
mount: Sat Nov 01
01:39:42 2003<BR>expiration date:
---<BR>number of mounts: 1<BR>max mounts
allowed: ---<BR></FONT></DIV>
<DIV><SPAN class=399034013-20122005><FONT face=Arial color=#0000ff
size=2>This
always works in my NT Environment.. what am I doing wrong / any ideas on
where
to go from here?</FONT></SPAN></DIV>
<DIV><SPAN class=399034013-20122005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=399034013-20122005><FONT face=Arial color=#0000ff
size=2>Thanks as always,</FONT></SPAN></DIV>
<DIV><SPAN class=399034013-20122005></SPAN><SPAN
class=399034013-20122005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=399034013-20122005><FONT face=Arial color=#0000ff
size=2>-Jonathan</FONT></SPAN></DIV></BLOCKQUOTE></SPAN></FONT></FONT></FONT></FONT></BODY></HTML>
------_=_NextPart_001_01C60582.E0DD052B--
|
|
|