β08-14-2014 02:26 AM
Hi All
We have got few media's which does not hold any valid Images but still have got time assigned to it .
When I tried to deassign it using the command below it does not consider it to be eligible for deassign .
F:\Veritas\Netbackup\bin>bpexpdate -deassignempty -m BRU689
Search for empty media that meet the following criteria:
Media id: BRU689
Continue? y/n (n)Y
No media matching criteria were found to be deassigned.
no entity was found
F:\Veritas\Netbackup\bin\admincmd>bpimmedia -mediaid BRU689
no entity was found
F:\Veritas\Netbackup\bin>bpexpdate -m BRU689 -d 0
Media BRU689 is due to expire at 01/01/1970 01:00:00
Are you sure that the data on this media is not critical to
your business, and you are sure you want to delete BRU689 y/n (n)? y
server name not found in the NetBackup configuration
Below are the details of one of the media
F:\Veritas\Netbackup\bin\admincmd>nbemmcmd -listmedia -mediaid BRU689
NBEMMCMD, Version:6.5.6
====================================================================
Media GUID: 29245291-c4e1-48af-8982-1aa49b1764f6
Media ID: BRU689
Partner: -
Media Type: HCART3
Volume Group: 000_00000_TLD
Application: Catalog
Media Flags: 1
Description: ---
Barcode: BRU689L3
Partner Barcode: --------
Last Write Host: NONE
Created: 06/20/2008 18:32
Time Assigned: 06/20/2008 18:34
First Mount: 06/20/2008 18:45
Last Mount: 03/10/2009 20:08
Volume Expiration: -
Data Expiration: -
Last Written: -
Last Read: -
Robot Type: TLD
Robot Control Host: bbtsrvbgs01
Robot Number: 0
Slot: 1
Side/Face: -
Cleanings Remaining: -
Number of Mounts: 110
Maximum Mounts Allowed: 0
Media Status: ACTIVE
Kilobytes: 0
Images: 0
Valid Images: 0
Retention Period: -
Number of Restores: 0
Optical Header Size Bytes: 0
Optical Sector Size Bytes: 0
Optical Partition Size Bytes: 0
Last Header Offset: 0
Adamm Guid: 00000000-0000-0000-0000-000000000000
Rsm Guid: 00000000-0000-0000-0000-000000000000
Origin Host: NONE
Master Host:
Server Group:
Upgrade Conflicts Flag:
Pool Number: 1
Volume Pool: NetBackup
Previous Pool Name: CatalogBackup
Vault Flags: -
Vault Container: -
Vault Name: -
Vault Slot: -
Session ID: -
Date Vaulted: -
Return Date: -
====================================================================
Command completed successfully.
When checked , I do not see any media owner for all these media's .
When tried to change the media owner from the console , it gives error
No Volumes owned by a media server group have been selected!
Please suggest , how these set of media can be used again .
Solved! Go to Solution.
β08-14-2014 02:40 AM
The example of the vmquery -a output below shows two different types of NetBackup tapes. The status 0x0 is a NetBackup backup tape and the status 0x1 indicates a tape that has been used for a NetBackup catalog database backup.
===================================================
media ID: CAN000
media type: DLT cartridge tape (11)
barcode: --------
description: Added by Media Manager
volume pool: NetBackup (1)
robot type: TLD - Tape Library DLT (8)
robot number: 0
robot slot: 1
robot host: NBsrv1
volume group: 00_000_TLD
created: Thu Apr 05 08:38:01 2001
assigned: Thu Jun 14 10:47:08 2001
last mounted: Thu Jun 14 10:48:35 2001
first mount: Thu Apr 05 09:00:22 2001
expiration date: ---
number of mounts: 3
max mounts allowed: ---
status: 0x0
==========================================
media ID: 000101
media type: DLT cartridge tape (11)
barcode: --------
description: ------
volume pool: NetBackup (1)
robot type: TLD - Tape Library DLT (8)
robot number: 0
robot slot: 2
robot host: NBsrv1
volume group: 00_000_TLD
created: Thu Apr 05 08:45:00 2001
assigned: Sat Jun 02 08:35:06 2001
last mounted: Fri Jun 22 01:44:28 2001
first mount: Thu Apr 05 08:45:52 2001
expiration date: ---
number of mounts: 14
max mounts allowed: ---
status: 0x1
========================================
Step 2. Unassign the tapes you wish to re-use:
# /usr/openv/volmgr/bin/vmquery -deassignbyid <media_id> <pool_number> <status>
Example:
# /usr/openv/volmgr/bin/vmquery -deassignbyid 000101 1 0x1
β08-14-2014 02:40 AM
The example of the vmquery -a output below shows two different types of NetBackup tapes. The status 0x0 is a NetBackup backup tape and the status 0x1 indicates a tape that has been used for a NetBackup catalog database backup.
===================================================
media ID: CAN000
media type: DLT cartridge tape (11)
barcode: --------
description: Added by Media Manager
volume pool: NetBackup (1)
robot type: TLD - Tape Library DLT (8)
robot number: 0
robot slot: 1
robot host: NBsrv1
volume group: 00_000_TLD
created: Thu Apr 05 08:38:01 2001
assigned: Thu Jun 14 10:47:08 2001
last mounted: Thu Jun 14 10:48:35 2001
first mount: Thu Apr 05 09:00:22 2001
expiration date: ---
number of mounts: 3
max mounts allowed: ---
status: 0x0
==========================================
media ID: 000101
media type: DLT cartridge tape (11)
barcode: --------
description: ------
volume pool: NetBackup (1)
robot type: TLD - Tape Library DLT (8)
robot number: 0
robot slot: 2
robot host: NBsrv1
volume group: 00_000_TLD
created: Thu Apr 05 08:45:00 2001
assigned: Sat Jun 02 08:35:06 2001
last mounted: Fri Jun 22 01:44:28 2001
first mount: Thu Apr 05 08:45:52 2001
expiration date: ---
number of mounts: 14
max mounts allowed: ---
status: 0x1
========================================
Step 2. Unassign the tapes you wish to re-use:
# /usr/openv/volmgr/bin/vmquery -deassignbyid <media_id> <pool_number> <status>
Example:
# /usr/openv/volmgr/bin/vmquery -deassignbyid 000101 1 0x1
β08-18-2014 05:25 AM
I agree with Riaan.
This looks like a tape that was used for a cold catalog tape.
See: http://www.symantec.com/docs/TECH56392
Please convert to hot catalogs backups as cold catalog backups are no longer supported as from NBU 7.0.
As a Symantec employee, I assume that you are aware of the fact that support for NBU 6.5 ended almost 2 years ago?