07-26-2012 07:43 AM
Hi Guys,
I have deleted media contents through bpexpdate -m XXX -d 0 force.
Still I am unable to delete media from Netbackup, as it says its an assigned media.
It has no valid images as when i do a bpimmedia for that media id it says "no entity found".
Why is this media still assigned, I want to delete it.
Also there is a catalog backup which is i guess a cold catalogue backup, How can I stop it as my hot catalog backup is running fine.
Please suggest
Thanks
Sid
Solved! Go to Solution.
07-26-2012 11:44 AM
status: 0x1
That is a catalog tape (cold).
It won't delete.
This should fix it
http://www.symantec.com/business/support/index?page=content&id=TECH56392
Martin
07-26-2012 08:01 AM
<right-click> catalog in GUI. "Configure offline NetBackup Catalog Backup..." -> Schedule Tab -> "Only when manually initiated". You may also want to clear down the media entries within the Attributes tab also?
07-26-2012 08:01 AM
See what shows up when you
vmquery -m <mediaID> -X
For example here is 2 different tapes: 1 assigned, 1 unassigned.
Further check the status field. This isnt the gotcha with it being a Catalog tape?
Is their maximum mounts for media set.? Expiration date passed for the actual mediaID?
07-26-2012 08:28 AM
Hi Stuart,
This is what it says with vmquery -m -X
bash-2.05$ sudo /usr/openv/volmgr/bin/vmquery -m TCR102 -X
================================================================================
flags: 0x1
media ID: TCR102
media ID partner: ------
media type: 1/2" cartridge tape 3 (24)
barcode: TCR102
barcode partner: --------
media description: Added by Media Manager
robot type: TLD - Tape Library DLT (8)
robot number: 3
robot control host: tcbumpr2
reserved_res: -
volume group: 000_00003_TLD
coord1: 103
coord2: 0
coord3: 0
coord4: 0
coord5: 0
user: root
group: root
pool: 1
pool name: NetBackup
previous pool name: -
version: 50
created: Thu Mar 24 10:09:11 2011
assigned: Wed Jul 6 16:49:03 2011
first mount: Sat Mar 26 06:59:33 2011
last mounted: Thu Jun 21 07:03:44 2012
expiration: -
cleanings left: -1
number of mounts: 331
max mounts allowed: 0
status: 0x1
vault name: -
date sent to vault: -
vault return date: -
vault slot: -
vault session id: -
vault flags: -
vault container id: -
reserved2: -
ADAMM GUID: 00000000-0000-0000-0000-000000000000
volume GUID: 00000000-0000-0000-0000-000000000000
reserved5: -
reserved6: -
reserved7: -
reserved8: -
================================================================================
07-26-2012 08:52 AM
That's definately still assigned from the output you've provided. When you run the bpexpdate command did it return a successful looking status?
First check what server the tape is assigned to with the following ( check the line "Server Host = xxxxx" )
bpmedialist -ev TCR102
Then try the following synax with the media server that the tape is assigned to after -host:
bpexpdate -m TCR102 -d 0 -host {media server} -justmedia
Feel free to add -force too if that doesn't work.
07-26-2012 11:44 AM
status: 0x1
That is a catalog tape (cold).
It won't delete.
This should fix it
http://www.symantec.com/business/support/index?page=content&id=TECH56392
Martin