BUG REPORT: bpexpdate -deassignempty does not recognize NDMP tapes

  • Article ID:100019170
  • Modified Date:
  • Product(s):

Problem

BUG REPORT: bpexpdate -deassignempty does not recognize NDMP tapes

Solution

Bug:   1376642

Overview:   /usr/openv/netbackup/bin/admincmd/bpexpdate -deassignempty does not recognize NDMP type tapes.  The output of bpexpdate -deassignempty does not list the tape(s) at all.

Workaround:

1.  Verify there are no valid images for the tape by running:
# /usr/openv/netbackup/bin/admincmd/bpimmedia -mediaid <mediaID> -L

Example:

C:\Program Files\Veritas\NetBackup\bin\admincmd> bpimmedia -mediaid A00032 -L
no entity was found

2.  Verify that the tape is assigned and that the Data Expiration date is in the past by running:
# /usr/openv/netbackup/bin/admincmd/nbemmcmd -listmedia -mediaid <mediaID>

Example:
C:\Program Files\Veritas\NetBackup\bin\admincmd> nbemmcmd -listmedia -mediaid A00032

NBEMMCMD, Version:6.5.2
====================================================================
Media GUID: 77625638-b7eb-4258-a1e9-1c63ea0bf27e
Media ID: A00032
Partner: -
Media Type: HCART
Volume Group: ---
Application: Netbackup
Media Flags: 1
Description: Added by Media Manager
Barcode: A00032
Partner Barcode: --------
Last Write Host: nycfiler1.domain.com
Created: 05/23/2008 12:17
Time Assigned: 06/16/2008 21:45
First Mount: 06/16/2008 21:56
Last Mount: 06/22/2008 02:59
Volume Expiration: -
Data Expiration: 06/29/2008 03:02
Last Written: 06/22/2008 03:02
Last Read: -
Robot Type: NONE
Robot Control Host: -
Robot Number: -
Slot: -
Side/Face: -
Cleanings Remaining: -
Number of Mounts: 7
Maximum Mounts Allowed: 0
Media Status: FULL
Kilobytes: 1373028759
Images: 85
Valid Images: 19
Retention Period: 0
Number of Restores: 0
Optical Header Size Bytes: 1024
Optical Sector Size Bytes: 0
Optical Partition Size Bytes: 0
Last Header Offset: 20066792
Adamm Guid: 00000000-0000-0000-0000-000000000000
Rsm Guid: 00000000-0000-0000-0000-000000000000
Origin Host: NONE
Master Host: nycnb1.domain.com
Server Group: NO_SHARING_GROUP
Upgrade Conflicts Flag:
Pool Number: 1
Volume Pool: NetBackup
Previous Pool Name: Scratch
Vault Flags: -
Vault Container: -
Vault Name: -
Vault Slot: -
Session ID: -
Date Vaulted: -
Return Date: -
====================================================================
Command completed successfully.

3.  If there are no valid images, run the following command to unassign the tape:
# cd /usr/openv/netbackup/bin
# ./bpexpdate -m <mediaID> -justmedia -d 0

ETA of Fix:
The formal resolution to this issue (Etrack 1376642) is included in the following patch release:
  • NetBackup 6.5 Release Update 3 (6.5.3)
This release is available at the support web site at:
  https://www.veritas.com/enterprise/support/downloads.jsp?pid=15143


Was this content helpful?

Get Support