cancel
Showing results for 
Search instead for 
Did you mean: 

replicate from disk to tape

ishita_rao
Level 3

hi,

 

i wanted to replicate the backup data from disk to tape, created the SLP and manual run

got the below error.

5/10/2015 11:34:40 PM - begin Duplicate
5/10/2015 11:34:40 PM - requesting resource LCM_d2dhost28-hcart2-robot-tld-0
5/10/2015 11:34:40 PM - granted resource LCM_d2dhost28-hcart2-robot-tld-0
5/10/2015 11:34:40 PM - started process RUNCMD (54564)
5/10/2015 11:34:40 PM - ended process 0 (54564)
5/10/2015 11:34:41 PM - requesting resource d2dhost28-hcart2-robot-tld-0
5/10/2015 11:34:41 PM - requesting resource @aaaa@
5/10/2015 11:34:41 PM - reserving resource @aaaa@
5/10/2015 11:34:41 PM - Error nbjm(pid=464) NBU status: 96, EMM status: No media is available    
5/10/2015 11:34:41 PM - Error nbjm(pid=464) NBU status: 96, EMM status: No media is available    
5/10/2015 11:34:41 PM - Error nbjm(pid=464) NBU status: 96, EMM status: No media is available    
5/10/2015 11:34:42 PM - end Duplicate; elapsed time: 0:00:02
unable to allocate new media for backup, storage unit has none available (96)

1 ACCEPTED SOLUTION

Accepted Solutions

Nicolai
Moderator
Moderator
Partner    VIP   

 d2dhost28-hcart2-robot-tld-0

But tapes are defined as DLT. Correct densitype for the tapes to HCART2  and backups will work

View solution in original post

18 REPLIES 18

Marianne
Level 6
Partner    VIP    Accredited Certified
You don't have media of the correct type the robot / pool specified in SLP duplication destination. Check SLP config and output of available_media script on the master server.

ishita_rao
Level 3

output for available_media

C:\Program Files\Veritas\NetBackup\bin\goodies>available_media.cmd

media   media   robot   robot   robot   side/   ret    size     status
 ID     type    type      #     slot    face    level  KBytes
----------------------------------------------------------------------------
CatalogBackup pool


DataStore pool


NetBackup pool


None pool

 

C:\Program Files\Veritas\NetBackup\bin\goodies>

Marianne
Level 6
Partner    VIP    Accredited Certified
Empty output? No tapes in the robot?

ishita_rao
Level 3

how to configure

ishita_rao
Level 3

bash-4.3# ioscan -fnkC tape
Class     I  H/W Path  Driver S/W State   H/W Type     Description
==================================================================
tape    263  0/2/0/0/0/0.3.244.255.0.1.0  stape   CLAIMED     DEVICE       HP      Ultrium 5-SCSI
                      /dev/rmt/263m           /dev/rmt/263mb          /dev/rmt/263mn          /dev/rmt/263mnb         /dev/rmt/c55t1d0BEST    /dev/rmt/c55t1d0BESTb   /dev/rmt/c55t1d0BESTn   /dev/rmt/c55t1d0BESTnb
tape    262  0/2/0/0/0/0.3.245.255.0.1.0  stape   CLAIMED     DEVICE       HP      Ultrium 5-SCSI
                      /dev/rmt/262m           /dev/rmt/262mb          /dev/rmt/262mn          /dev/rmt/262mnb         /dev/rmt/c54t1d0BEST    /dev/rmt/c54t1d0BESTb   /dev/rmt/c54t1d0BESTn   /dev/rmt/c54t1d0BESTnb
bash-4.3# ioscan -fnkC autoch
Class     I  H/W Path  Driver S/W State   H/W Type     Description
==================================================================
autoch   27  0/2/0/0/0/0.3.244.255.0.1.1  schgr   CLAIMED     DEVICE       HP      MSL G3 Series
                      /dev/rac/c55t1d1


there are two drives

Marianne
Level 6
Partner    VIP    Accredited Certified
So, you have a tape library (robot ) with a couple of tape drives, right? Do you have tapes (media ) in the robot? Have you added the tapes to NBU by running an Inventory?

ishita_rao
Level 3

can you tell me how to add tapes to NBU

 

Nicolai
Moderator
Moderator
Partner    VIP   

Did you follow this document ishita_rao ?

Symantec NetBackup 7.6 Device Configuration Guide

http://www.symantec.com/docs/DOC6468

Can you also do a tpconfig -d and tell us the output ?

Marianne
Level 6
Partner    VIP    Accredited Certified

Do you have tapes in the robot?

You add them in NBU by running Inventory in Media section of the GUI.
If you want media to go to specific pools and not to the default NetBackup pool, you need to select 'Advanced Options ' once you have selected Update Robot Configuration, then add Barcode Rules.

If all of this is new to you, you may want to read the Inventory chapter (chapter 9) in NetBackup Administrator's Guide, Volume I .

Nicolai
Moderator
Moderator
Partner    VIP   

You need Netbackup training  - there are free online classes to take. Netbackup can be complex until you understand the concepts

http://www.symantec.com/products-solutions/training/product-training/detail.jsp?pkid=netbackup

ishita_rao
Level 3

i have run the inventory and updated it

but still iam getting the error

5/11/2015 5:22:04 AM - requesting resource LCM_d2dhost28-hcart2-robot-tld-0
5/11/2015 5:22:05 AM - begin Duplicate
5/11/2015 5:22:05 AM - granted resource LCM_d2dhost28-hcart2-robot-tld-0
5/11/2015 5:22:05 AM - started process RUNCMD (220724)
5/11/2015 5:22:05 AM - ended process 0 (220724)
5/11/2015 5:22:06 AM - requesting resource d2dhost28-hcart2-robot-tld-0
5/11/2015 5:22:06 AM - requesting resource @aaaaW
5/11/2015 5:22:06 AM - reserving resource @aaaaW
5/11/2015 5:22:06 AM - Error nbjm(pid=186872) NBU status: 96, EMM status: No media is available    
5/11/2015 5:22:06 AM - Error nbjm(pid=186872) NBU status: 96, EMM status: No media is available    
5/11/2015 5:22:06 AM - Error nbjm(pid=186872) NBU status: 96, EMM status: No media is available    
5/11/2015 5:22:07 AM - end Duplicate; elapsed time: 0:00:02
unable to allocate new media for backup, storage unit has none available (96)

Marianne
Level 6
Partner    VIP    Accredited Certified

Please show us output of available_media again as well the SLP config:

nbstl <SLPNAME> -L 

We need to confirm media type (density) of the Storage Unit and Pool name in SLP duplication destination, and then check if there is media of the correct density in the required pool in the robot.

ishita_rao
Level 3

C:\Program Files\Veritas\NetBackup\bin\goodies>available_media.cmd

media   media   robot   robot   robot   side/   ret    size     status
 ID     type    type      #     slot    face    level  KBytes
----------------------------------------------------------------------------
CatalogBackup pool


DataStore pool


NetBackup pool

5961L5  DLT      TLD      0       4      -       -     -        AVAILABLE
5962L5  DLT      TLD      0       8      -       -     -        AVAILABLE
5963L5  DLT      TLD      0       12     -       -     -        AVAILABLE
5964L5  DLT      TLD      0       3      -       -     -        AVAILABLE
5965L5  DLT      TLD      0       13     -       -     -        AVAILABLE
5966L5  DLT      TLD      0       2      -       -     -        AVAILABLE
5967L5  DLT      TLD      0       14     -       -     -        AVAILABLE
5968L5  DLT      TLD      0       6      -       -     -        AVAILABLE
5969L5  DLT      TLD      0       15     -       -     -        AVAILABLE
5970L5  DLT      TLD      0       5      -       -     -        AVAILABLE
5971L5  DLT      TLD      0       9      -       -     -        AVAILABLE
5972L5  DLT      TLD      0       20     -       -     -        AVAILABLE
5973L5  DLT      TLD      0       16     -       -     -        AVAILABLE
5974L5  DLT      TLD      0       19     -       -     -        AVAILABLE
5975L5  DLT      TLD      0       7      -       -     -        AVAILABLE
5976L5  DLT      TLD      0       10     -       -     -        AVAILABLE
5977L5  DLT      TLD      0       18     -       -     -        AVAILABLE
5978L5  DLT      TLD      0       17     -       -     -        AVAILABLE
5979L5  DLT      TLD      0       11     -       -     -        AVAILABLE
I461L5  DLT      TLD      0       21     -       -     -        AVAILABLE
I462L5  DLT      TLD      0       22     -       -     -        AVAILABLE
I463L5  DLT      TLD      0       23     -       -     -        AVAILABLE
I464L5  DLT      TLD      0       24     -       -     -        AVAILABLE
I465L5  DLT      TLD      0       25     -       -     -        AVAILABLE
I466L5  DLT      TLD      0       26     -       -     -        AVAILABLE
I467L5  DLT      TLD      0       27     -       -     -        AVAILABLE
I468L5  DLT      TLD      0       28     -       -     -        AVAILABLE
I469L5  DLT      TLD      0       29     -       -     -        AVAILABLE
I470L5  DLT      TLD      0       30     -       -     -        AVAILABLE
I471L5  DLT      TLD      0       31     -       -     -        AVAILABLE
I472L5  DLT      TLD      0       32     -       -     -        AVAILABLE
I473L5  DLT      TLD      0       33     -       -     -        AVAILABLE
I474L5  DLT      TLD      0       34     -       -     -        AVAILABLE
I475L5  DLT      TLD      0       35     -       -     -        AVAILABLE
I476L5  DLT      TLD      0       36     -       -     -        AVAILABLE
I477L5  DLT      TLD      0       37     -       -     -        AVAILABLE
I478L5  DLT      TLD      0       38     -       -     -        AVAILABLE
I479L5  DLT      TLD      0       39     -       -     -        AVAILABLE
I480L5  DLT      TLD      0       40     -       -     -        AVAILABLE
I481L5  DLT      TLD      0       41     -       -     -        AVAILABLE
I482L5  DLT      TLD      0       42     -       -     -        AVAILABLE
I483L5  DLT      TLD      0       43     -       -     -        AVAILABLE
I484L5  DLT      TLD      0       44     -       -     -        AVAILABLE
I485L5  DLT      TLD      0       45     -       -     -        AVAILABLE
I486L5  DLT      TLD      0       46     -       -     -        AVAILABLE
I487L5  DLT      TLD      0       47     -       -     -        AVAILABLE
I488L5  DLT      TLD      0       48     -       -     -        AVAILABLE
I489L5  DLT      TLD      0       52     -       -     -        AVAILABLE
I490L5  DLT      TLD      0       51     -       -     -        AVAILABLE
I491L5  DLT      TLD      0       50     -       -     -        AVAILABLE
I492L5  DLT      TLD      0       49     -       -     -        AVAILABLE
I493L5  DLT      TLD      0       56     -       -     -        AVAILABLE
I494L5  DLT      TLD      0       55     -       -     -        AVAILABLE
I495L5  DLT      TLD      0       54     -       -     -        AVAILABLE
I496L5  DLT      TLD      0       53     -       -     -        AVAILABLE
I497L5  DLT      TLD      0       60     -       -     -        AVAILABLE
I498L5  DLT      TLD      0       59     -       -     -        AVAILABLE
I499L5  DLT      TLD      0       58     -       -     -        AVAILABLE
I500L5  DLT      TLD      0       57     -       -     -        AVAILABLE
I501L5  DLT      TLD      0       64     -       -     -        AVAILABLE
I502L5  DLT      TLD      0       63     -       -     -        AVAILABLE
I503L5  DLT      TLD      0       62     -       -     -        AVAILABLE
I504L5  DLT      TLD      0       61     -       -     -        AVAILABLE
I505L5  DLT      TLD      0       68     -       -     -        AVAILABLE
I506L5  DLT      TLD      0       67     -       -     -        AVAILABLE
I507L5  DLT      TLD      0       66     -       -     -        AVAILABLE
I508L5  DLT      TLD      0       65     -       -     -        AVAILABLE
I509L5  DLT      TLD      0       72     -       -     -        AVAILABLE
I510L5  DLT      TLD      0       71     -       -     -        AVAILABLE
I511L5  DLT      TLD      0       70     -       -     -        AVAILABLE
I512L5  DLT      TLD      0       69     -       -     -        AVAILABLE
I513L5  DLT      TLD      0       76     -       -     -        AVAILABLE
I514L5  DLT      TLD      0       75     -       -     -        AVAILABLE
I515L5  DLT      TLD      0       74     -       -     -        AVAILABLE
I516L5  DLT      TLD      0       73     -       -     -        AVAILABLE
I517L5  DLT      TLD      0       80     -       -     -        AVAILABLE
I518L5  DLT      TLD      0       79     -       -     -        AVAILABLE
I519L5  DLT      TLD      0       78     -       -     -        AVAILABLE
I520L5  DLT      TLD      0       77     -       -     -        AVAILABLE
I521L5  DLT      TLD      0       84     -       -     -        AVAILABLE
I522L5  DLT      TLD      0       83     -       -     -        AVAILABLE
I523L5  DLT      TLD      0       82     -       -     -        AVAILABLE
I524L5  DLT      TLD      0       81     -       -     -        AVAILABLE
I525L5  DLT      TLD      0       88     -       -     -        AVAILABLE
I526L5  DLT      TLD      0       87     -       -     -        AVAILABLE
I527L5  DLT      TLD      0       86     -       -     -        AVAILABLE
I528L5  DLT      TLD      0       85     -       -     -        AVAILABLE
I529L5  DLT      TLD      0       92     -       -     -        AVAILABLE
I530L5  DLT      TLD      0       91     -       -     -        AVAILABLE
I531L5  DLT      TLD      0       90     -       -     -        AVAILABLE
I532L5  DLT      TLD      0       89     -       -     -        AVAILABLE
I534L5  DLT      TLD      0       95     -       -     -        AVAILABLE
I535L5  DLT      TLD      0       94     -       -     -        AVAILABLE
I536L5  DLT      TLD      0       93     -       -     -        AVAILABLE
I537L5  DLT      TLD      0       1      -       -     -        AVAILABLE

None pool

and where should i run nbstl command

ishita_rao
Level 3

C:\Program Files\Veritas\NetBackup\bin\admincmd>nbstl tape_rep -L
                                Name: tape_rep
                 Data Classification: (none specified)
            Duplication Job Priority: 0
                               State: active
                             Version: 1
 Operation  1                Use for: 0 (backup)
                             Storage: Phase7-stu
                         Volume Pool: (none specified)
                        Server Group: (none specified)
                      Retention Type: 0 (Fixed)
                     Retention Level: 1 (2 weeks)
               Alternate Read Server: (none specified)
               Preserve Multiplexing: false
      Enable Automatic Remote Import: false
                               State: active
                              Source: 0 (client)
                        Operation ID: (none specified)
                     Operation Index: 1
                         Window Name: --
                 Window Close Option: --
                Deferred Duplication: no
 Operation  2                Use for: 1 (duplication)
                             Storage: d2dhost28-hcart2-robot-tld-0
                         Volume Pool: NetBackup
                        Server Group: Any
                      Retention Type: 0 (Fixed)
                     Retention Level: 1 (2 weeks)
               Alternate Read Server: d2dhost28.usa.hp.com
               Preserve Multiplexing: false
      Enable Automatic Remote Import: false
                               State: active
                              Source: Operation 1 (backup:Phase7-stu)
                        Operation ID: (none specified)
                     Operation Index: 2
                         Window Name: Default_24x7_Window
                 Window Close Option: SFN
                Deferred Duplication: no

C:\Program Files\Veritas\NetBackup\bin\admincmd>

Nicolai
Moderator
Moderator
Partner    VIP   

Tapes are defined as DLT - Should be defined has a HCART2 according to your earlier posts

Netbackup will compare DLT with HCART2 and say "no go" does not fit.

Nicolai
Moderator
Moderator
Partner    VIP   

 d2dhost28-hcart2-robot-tld-0

But tapes are defined as DLT. Correct densitype for the tapes to HCART2  and backups will work

Marianne
Level 6
Partner    VIP    Accredited Certified
You need to delete all DLT density tapes and create Barcode Rule to add new media as type/density hcart2.

Marianne
Level 6
Partner    VIP    Accredited Certified
Seeing that you need to start from scratch - you can see that NBU uses the last 6 characters as media id instead of the first 6. So, when you create the barcode rule, also add Media-id Generation rule to use 1st 6 characters. Details in the same Inventory chapter. Just remember that you need to delete the existing media first.