BUG REPORT: bpexpdate -deassignempty does not recognize NDMP tapes


BUG REPORT: bpexpdate -deassignempty does not recognize NDMP tapes


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.


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


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>

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
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:

Terms of use for this information are found in Legal Notices.



Did this article answer your question or resolve your issue?


Did this article save you the trouble of contacting technical support?


How can we make this article more helpful?

Email Address (Optional)