cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to allocate media

rova_nbu
Level 4

Hi All,

I created a decomm volume pool, and created new SLP with decomm pool for decommsion servers. Backup completed successfully in disk and duplicate copy is failing with error code 96 - unable to allocate media. I thought that new volume pool will pick the tapes from scratch pool. But It did not happen like that. So I have moved 2 scratch pool tapes to decomm pool and checked the duplicate status, still it is failing with same error. I have enough tapes in scrtach and decomm pool. Please advise.

11 REPLIES 11

Marianne
Level 6
Partner    VIP    Accredited Certified
Can you confirm that the tapes are in the robot that matches the Storage Unit? And that the densities match?

Tousif
Level 6

Hello,

 

Kindly make sure that Volume Pool, Storage Unit belongs to same tape library.

Also make sure the density fo tape drives and tapes are same. e.g hcart, hcart2 etc.

Regards,

Marianne
Level 6
Partner    VIP    Accredited Certified

@Tousif thanks for agreeing with me.

Yes. They are in the same robot. 

Decomm pool

A12361 HCART TLD 0 25 - - - AVAILABLE
A12339 HCART TLD 0 2 - - - AVAILABLE

Marianne
Level 6
Partner    VIP    Accredited Certified

Please show us config for SLP STU and vmquery output for one of the tapes:

bpstulist -label <STU-name> -U

vmquery -m A12361

Robot is using hcart but the duplication job is looking for LCM_nb5220-hcart2-robot-tld-0 . Below is the error.  I have updated it in SLP to nb5220-hcart-robot-tld-0 ,but still it is in queued with below error.

08/24/2017 22:23:59 - requesting resource LCM_nb5220-hcart2-robot-tld-0
08/24/2017 22:23:59 - Info nbrb (pid=19017) Limit has been reached for the logical resource LCM_nb5220-hcart2-robot-tld-0

Marianne
Level 6
Partner    VIP    Accredited Certified
Are you and rova_nbu working together?

Do you have hcart and hcart2 tape drives? And different STUs for hcart and hcart2 densities?
Important to verify that densities match - media, tape drives and STU.

Marianne
Level 6
Partner    VIP    Accredited Certified
Please bear in mind that the duplication job us running against the SLP version that existed at the time. To change the STU for a previous version, you will need to list SLP versions from cmd, and then modify that particular version. (Google SLP versions for command usage).

yes. We are working together.

 

nb5220:/home/maintenance # bpstulist -label nb5220-hcart-robot-tld-0 -U

Label: nb5220-hcart-robot-tld-0
Storage Unit Type: Media Manager
Host Connection: nb5220
Number of Drives: 2
On Demand Only: no
Max MPX/drive: 4
Density: hcart - 1/2 Inch Cartridge
Robot Type/Number: TLD / 0
Max Fragment Size: 1048575 MB
nb5220:/home/maintenance # bpstulist -label nb5220-hcart2-robot-tld-0 -U

Label: nb5220-hcart2-robot-tld-0
Storage Unit Type: Media Manager
Host Connection: nb5220
Number of Drives: 2
On Demand Only: no
Max MPX/drive: 1
Density: hcart2 - 1/2 Inch Cartridge 2
Robot Type/Number: TLD / 0
Max Fragment Size: 1048576 MB


nb5220:/home/maintenance # vmquery -m A12361
================================================================================
media ID: A12361
media type: 1/2" cartridge tape (6)
barcode: L5A12361
media description: Added by Media Manager
volume pool: Decomm (12)
robot type: TLD - Tape Library DLT (8)
robot number: 0
robot slot: 25
robot control host: nb5220
volume group: 000_00000_TLD
vault name: ---
vault sent date: ---
vault return date: ---
vault slot: ---
vault session id: ---
vault container id: -
created: Fri Jan 18 18:54:49 2013
assigned: ---
last mounted: Wed Jul 12 04:01:01 2017
first mount: Sat Feb 2 20:10:06 2013
expiration date: ---
number of mounts: 72
max mounts allowed: ---
================================================================================

nb5220:/home/maintenance # vmquery -m A12339
================================================================================
media ID: A12339
media type: 1/2" cartridge tape (6)
barcode: L5A12339
media description: Added by Media Manager
volume pool: Decomm (12)
robot type: TLD - Tape Library DLT (8)
robot number: 0
robot slot: 2
robot control host: nb5220
volume group: 000_00000_TLD
vault name: ---
vault sent date: ---
vault return date: ---
vault slot: ---
vault session id: ---
vault container id: -
created: Wed Apr 24 10:47:32 2013
assigned: ---
last mounted: Thu Jul 20 03:58:00 2017
first mount: Mon May 6 21:42:17 2013
expiration date: ---
number of mounts: 173
max mounts allowed: ---
================================================================================

nb5220:/home/maintenance # vmquery -m A12333
================================================================================
media ID: A12333
media type: 1/2" cartridge tape (6)
barcode: L5A12333
media description: Added by Media Manager
volume pool: Prod_Pool (11)
robot type: TLD - Tape Library DLT (8)
robot number: 0
robot slot: 26
robot control host: nb5220
volume group: 000_00000_TLD
vault name: ---
vault sent date: ---
vault return date: ---
vault slot: ---
vault session id: ---
vault container id: -
created: Wed Jul 4 21:37:29 2012
assigned: Sat Nov 5 10:55:56 2016
last mounted: Sat Nov 5 11:18:09 2016
first mount: Wed Aug 1 06:36:17 2012
expiration date: ---
number of mounts: 289
max mounts allowed: ---
status: 0x0
================================================================================
nb5220:/home/maintenance #

 

 

I can see two SLP with name Decomm . First one is the valid one. How can I solve this issue now.

Data Classification: (none specified)
Duplication job priority: 10000
State: active
Version: 6
Operation 1 Use for: 0 (backup)
Storage: stu_disk_nb5220
Volume Pool: (none specified)
Server Group: (none specified)
Retention Type: 0 (Fixed)
Retention Level: 3 (1 month)
Alternate Read Server: (none specified)
Preserve Multiplexing: false
Enable Automatic Remote Import: false
State: active
Source: 0 (client)
Operation ID: 0
Operation Index: 1
Operation 2 Use for: 1 (duplication)
Storage: nb5220-hcart-robot-tld-0
Volume Pool: Decomm
Server Group: Any
Retention Type: 0 (Fixed)
Retention Level: 8 (1 year)
Alternate Read Server: (none specified)
Preserve Multiplexing: false
Enable Automatic Remote Import: false
State: active
Source: Operation 1 (backup:stu_disk_nb5220)
Operation ID: 0
Operation Index: 2
------------------------------------------------------------------------
Name: Decomm
Data Classification: (none specified)
Duplication job priority: 10000
State: active
Version: 0
Operation 1 Use for: 0 (backup)
Storage: stu_disk_nb5220
Volume Pool: (none specified)
Server Group: (none specified)
Retention Type: 0 (Fixed)
Retention Level: 3 (1 month)
Alternate Read Server: (none specified)
Preserve Multiplexing: false
Enable Automatic Remote Import: false
State: active
Source: 0 (client)
Operation ID: 0
Operation Index: 1
Operation 2 Use for: 1 (duplication)
Storage: nb5220-hcart2-robot-tld-0
Volume Pool: NetBackup
Server Group: Any
Retention Type: 0 (Fixed)
Retention Level: 8 (1 year)
Alternate Read Server: (none specified)
Preserve Multiplexing: false
Enable Automatic Remote Import: false
State: active
Source: Operation 1 (backup:stu_disk_nb5220)
Operation ID: 0
Operation Index: 2

Marianne
Level 6
Partner    VIP    Accredited Certified