Discussion:
[Veritas-bu] Media in use
Mansell, Richard
2006-04-05 23:36:31 UTC
Permalink
Hi

We are in the process of implementing a brand new installation of
NetBackup 6.0 MP2 (Windows based) and I seem to be having problems with
some of the media.

I have 5 tapes that report that they are in use even though they are
sitting quietly in slots the library. If I try and use bpexpdate or
vmchange/vmdelete I get a tape in use message:-

C:\temp>bpexpdate -m 9014L3 -d 0 -force
requested media id is in use, cannot process request

and

C:\temp>vmdelete -m 9014L3
the media is allocated for use (199)


What does 'in use' actually mean? Does NB think that there are still
images on the tapes (there aren't) or does it think it is physically in
a drive somewhere?


Also if I try and do a 'bpmedialist -mcontents -m 9014L3 -L' the session
detail shows:-

6/04/2006 11:25:28 a.m. - started process bptm (2144)
6/04/2006 11:25:27 a.m. - begin Media Contents
6/04/2006 11:25:28 a.m. - requesting resource 9014L3
6/04/2006 11:25:28 a.m. - awaiting resource 9014L3 Reason: Media is in
use., Media Server: N/A, Robot Number: 0, Robot Type: NONE, Media ID:
9014L3, Drive Name: N/A, Volume Pool: N/A, Storage Unit: N/A, Drive Scan
Host: N/A


NB appears to be automatically trying to expire the tape too as these
entries are in the log:-

5/04/2006 2:09:02 p.m. ccobkp04 Error 0 Media Device Media Manager
error 97, rule does not exist in rule database, host = ccobkp04
5/04/2006 2:09:02 p.m. ccobkp04 Error 0 Media Device Media Manager
could not deassign media id 9014L3, retaining it in NetBackup database
5/04/2006 2:09:02 p.m. ccobkp04 bpexpdate Error 0 General Could not
deassign media-id 9014L3, host ccobkp04.ccity.biz: could not deassign
media due to Media Manager error (177)


Is there any way of changing the status of the tapes?



Regards

Richard


**********************************************************************
This electronic email and any files transmitted with it are intended
solely for the use of the individual or entity to whom they are addressed.

The views expressed in this message are those of the individual
sender and may not necessarily reflect the views of the Christchurch
City Council.

If you are not the correct recipient of this email please advise the
sender and delete.

Christchurch City Council
http://www.ccc.govt.nz
**********************************************************************
Greenberg, Katherine A
2006-04-06 13:41:58 UTC
Permalink
That sounds to me like it thinks the tape is mounted somewhere.

Can you run robtest and query the drives to see what is mounted?

~Kate

-----Original Message-----
From: veritas-bu-***@mailman.eng.auburn.edu
[mailto:veritas-bu-***@mailman.eng.auburn.edu] On Behalf Of Mansell,
Richard
Sent: Wednesday, April 05, 2006 7:37 PM
To: veritas-***@mailman.eng.auburn.edu
Subject: [Veritas-bu] Media in use


Hi

We are in the process of implementing a brand new installation of
NetBackup 6.0 MP2 (Windows based) and I seem to be having problems with
some of the media.

I have 5 tapes that report that they are in use even though they are
sitting quietly in slots the library. If I try and use bpexpdate or
vmchange/vmdelete I get a tape in use message:-

C:\temp>bpexpdate -m 9014L3 -d 0 -force
requested media id is in use, cannot process request

and

C:\temp>vmdelete -m 9014L3
the media is allocated for use (199)


What does 'in use' actually mean? Does NB think that there are still
images on the tapes (there aren't) or does it think it is physically in
a drive somewhere?


Also if I try and do a 'bpmedialist -mcontents -m 9014L3 -L' the session
detail shows:-

6/04/2006 11:25:28 a.m. - started process bptm (2144)
6/04/2006 11:25:27 a.m. - begin Media Contents
6/04/2006 11:25:28 a.m. - requesting resource 9014L3
6/04/2006 11:25:28 a.m. - awaiting resource 9014L3 Reason: Media is in
use., Media Server: N/A, Robot Number: 0, Robot Type: NONE, Media ID:
9014L3, Drive Name: N/A, Volume Pool: N/A, Storage Unit: N/A, Drive Scan
Host: N/A


NB appears to be automatically trying to expire the tape too as these
entries are in the log:-

5/04/2006 2:09:02 p.m. ccobkp04 Error 0 Media Device Media Manager
error 97, rule does not exist in rule database, host = ccobkp04
5/04/2006 2:09:02 p.m. ccobkp04 Error 0 Media Device Media Manager
could not deassign media id 9014L3, retaining it in NetBackup database
5/04/2006 2:09:02 p.m. ccobkp04 bpexpdate Error 0 General Could not
deassign media-id 9014L3, host ccobkp04.ccity.biz: could not deassign
media due to Media Manager error (177)


Is there any way of changing the status of the tapes?



Regards

Richard


**********************************************************************
This electronic email and any files transmitted with it are intended
solely for the use of the individual or entity to whom they are
addressed.

The views expressed in this message are those of the individual
sender and may not necessarily reflect the views of the Christchurch
City Council.

If you are not the correct recipient of this email please advise the
sender and delete.

Christchurch City Council
http://www.ccc.govt.nz
**********************************************************************




-----------------------------------------
This e-mail may contain confidential or privileged information. If
you
think you have received this e-mail in error, please advise the
sender by
reply e-mail and then delete this e-mail immediately. Thank you.
Aetna
Mansell, Richard
2006-04-06 21:43:02 UTC
Permalink
Hi Katherine

Thanks very much for your reply. I know one of the tapes I am having a
problem with did get stuck in a drive so had to be rescued manually -
not sure about the others though. The drive has been used since so
NetBackup doesn't think the tape is still in the drive.

There must be a register somewhere of tapes that are theoretically in
use. Either that or it is some sort of corruption but we are intending
to blow away the installation and start from scratch as we are about to
build the production environment. I just hope this doesn't happen in the
future.

Regards

Richard


________________________________

From: Greenberg, Katherine A [mailto:***@aetna.com]
Sent: Friday, 7 April 2006 1:42 am
To: Mansell, Richard; veritas-***@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Media in use


That sounds to me like it thinks the tape is mounted somewhere.

Can you run robtest and query the drives to see what is mounted?

~Kate

-----Original Message-----
From: veritas-bu-***@mailman.eng.auburn.edu
[mailto:veritas-bu-***@mailman.eng.auburn.edu] On Behalf Of Mansell,
Richard
Sent: Wednesday, April 05, 2006 7:37 PM
To: veritas-***@mailman.eng.auburn.edu
Subject: [Veritas-bu] Media in use


Hi

We are in the process of implementing a brand new installation
of NetBackup 6.0 MP2 (Windows based) and I seem to be having problems
with some of the media.

I have 5 tapes that report that they are in use even though they
are sitting quietly in slots the library. If I try and use bpexpdate or
vmchange/vmdelete I get a tape in use message:-

C:\temp>bpexpdate -m 9014L3 -d 0 -force
requested media id is in use, cannot process request

and

C:\temp>vmdelete -m 9014L3
the media is allocated for use (199)



What does 'in use' actually mean? Does NB think that there are
still images on the tapes (there aren't) or does it think it is
physically in a drive somewhere?


Also if I try and do a 'bpmedialist -mcontents -m 9014L3 -L' the
session detail shows:-

6/04/2006 11:25:28 a.m. - started process bptm (2144)
6/04/2006 11:25:27 a.m. - begin Media Contents
6/04/2006 11:25:28 a.m. - requesting resource 9014L3
6/04/2006 11:25:28 a.m. - awaiting resource 9014L3 Reason: Media
is in use., Media Server: N/A, Robot Number: 0, Robot Type: NONE, Media
ID: 9014L3, Drive Name: N/A, Volume Pool: N/A, Storage Unit: N/A, Drive
Scan Host: N/A


NB appears to be automatically trying to expire the tape too as
these entries are in the log:-

5/04/2006 2:09:02 p.m. ccobkp04 Error 0 Media Device Media
Manager error 97, rule does not exist in rule database, host = ccobkp04
5/04/2006 2:09:02 p.m. ccobkp04 Error 0 Media Device Media
Manager could not deassign media id 9014L3, retaining it in NetBackup
database
5/04/2006 2:09:02 p.m. ccobkp04 bpexpdate Error 0 General Could
not deassign media-id 9014L3, host ccobkp04.ccity.biz: could not
deassign media due to Media Manager error (177)



Is there any way of changing the status of the tapes?



Regards

Richard



**********************************************************************
This electronic email and any files transmitted with it are
intended
solely for the use of the individual or entity to whom they are
addressed.

The views expressed in this message are those of the individual
sender and may not necessarily reflect the views of the
Christchurch
City Council.

If you are not the correct recipient of this email please advise
the
sender and delete.

Christchurch City Council
http://www.ccc.govt.nz

**********************************************************************



________________________________






This e-mail may contain confidential or privileged information.
If
you
think you have received this e-mail in error, please advise the
sender by
reply e-mail and then delete this e-mail immediately. Thank you.
Aetna

Loading...