cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Can not remove two tapes "Media is already allocated(199)"

ramadan50
Level 0

Dear Ms Marianne,

hope your are doing well..

also i have the same problem for tap A00000 & A00001 when try romove it receiving the message (the media is already allocate) so your kind support to resolve this issue as per the following output.

kindly note that the metioned tapes are currently out of Tape library.

appreciate your prompt response

ramadan@nbu-app:/usr/openv/netbackup/bin/admincmd> nbemmcmd -listmedia -mediaid A00000
NBEMMCMD, Version: 8.1
====================================================================
Media GUID: eacd4ede-1e9e-11e8-8000-c52b6fb5b89b
Media ID: A00000
Partner: -
Media Type: HCART
Volume Group: ---
Application: Netbackup
Media Flags: 1
Description: Added by Media Manager
Barcode: ASZ160L7
Partner Barcode: --------
Last Write Host: NONE
Created: 03/03/2018 01:54
Time Assigned: -
First Mount: 03/03/2018 01:56
Last Mount: 04/02/2018 20:29
Volume Expiration: -
Data Expiration: -
Last Written: 04/02/2018 20:28
Last Read: -
Robot Type: NONE
Robot Control Host: -
Robot Number: -
Slot: -
Side/Face: -
Cleanings Remaining: -
Number of Mounts: 43
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: nbu-app
Server Group: -
Upgrade Conflicts Flag:
Pool Number: 2
Volume Pool: DataStore
Previous Pool Name: Weekly
Vault Flags: -
Vault Container: -
Vault Name: -
Vault Slot: -
Session ID: -
Date Vaulted: -
Return Date: -
Media on Hold: 0
====================================================================
Command completed successfully.

1 REPLY 1

Marianne
Level 6
Partner    VIP    Accredited Certified

@ramadan50

When you say you 'try to remove', do you mean delete? 

Have you tried to use nbrbutil to look for orphaned allocations or reset/release allocations?

I am curious about the use of DataStore volume pool - are you using it for a thirdparty product as explained in this post