Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

We replaced the LTO-5 tape drives. Next what action I should do?

Created: 23 Jan 2014 • Updated: 25 Jan 2014 | 7 comments
This issue has been solved. See solution.

Hello All,

Netbackup 7.1 , fujitsu LT60 s2 tape with LTO -5 drives.

One of the pool was filled  which is belongs to one policy with infinity retention.

Media ID   Media Status    Barcode    Robot Number    Volume Pool
E798L5    Full                    AAE798L5    1                   SN
E906L5    Full                    AAE906L5    1                   SN
E938L5    Full                    AAE938L5    1                   SN
E958L5    Full                    AAE958L5    1                   SN
E966L5    Full                    AAE966L5    1                   SN
E988L5    Full                    AAE988L5    1                   SN

We replaced the tape drives. But from netbackup side no changes. showing same status. 

Two questions:

1. The barcodes are should be same which I replaced or no difference?

2. What action I should do to netbackup side ?

        1. recreate volume pool? or 2. just restart ))?   or scan the disc ?

Operating Systems:
Discussion Filed Under:

Comments 7 CommentsJump to latest comment

RamNagalla's picture

you are mixing the both tape Drives and tapes

when tape Drive is replaced there is nothing you need to do with tapes.does not need to touch barcodes, no change in volume pools  and nothing..

when tape Drive is replaced.. you need to check

--> if the Drive is visiable in OS level  or not( Device moniter for Windows) and OS level commands in unix

then  check the Drive avaliablity in the scan command and comprare the serail number make sure it visiable

--> then see the paths are correct in netbackup if not reconfigure the Drives in the netbackup level

that is all..

SymTerry's picture

1. The barcodes are should be same which I replaced or no difference?

The bar codes are handled by the robot, so if you didn't change the robot, you not see any difference

2. What action I should do to netbackup side ?

        1. recreate volume pool? or 2. just restart ))?   or scan the disc ?

From the NetBackup side you will need to remove the old tape drives, by right clicking and deleting. Then as Nagalla mentioned, check the OS for dive visibility. If the drive is visable in the OS run the device wizard in the NetBackup console to add the drive. You will be looking to make sure that your new drives are associated with the robot. Adding the drives will have NetBackup restart the device daemon, so make sure you have no active tape jobs going for that media server.

turguns@gmail.com's picture

Sorry, as Nagalla mentioned, I mistyped ..I mentioned about tape cartridge  replacement..

I installed the cartridge with different barcodes.

From Netbackup GUI medialist I couldnt see newly installed catridges.

but from robtest showing ..

I should run Inventory ???

Simterry,are you sure about deleting. If  need some files to recover in future , what can we do ?

Marianne's picture

Yes, if you removed the tapes from the robot and put in new tapes, you must run an Inventory.

This is the only way that netbackup knows about the media change.

It will move the tapes that were removed to NONE (meaning non-robotic) and update the config with the new tapes in the robot.

If you don't have Barcode rules in place, the new tapes will be in NetBackup pool.

Please read up about Media Management and Robot Inventory in NBU Admin Guide I:  http://www.symantec.com/docs/DOC3650

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

turguns@gmail.com's picture

Thank you all!! Now it is okay.

I created like the following procedure.

1. Run the following command vmupdate -rt tld -rn 1

Example.
[root@nbumedia ~]# vmupdate -rt tld -rn 1
Generating list of recommended changes ...

Proposed Change(s) to Update the Volume Configuration
=====================================================
Logically move media ID E958L5 (barcode AAE958L5) from slot 25 to standalone residence.
Logically move media ID E908L5 (barcode AAE908L5) from slot 26 to standalone residence.
Logically move media ID E698L5 (barcode AAE698L5) from slot 32 to standalone residence.
Logically move media ID E948L5 (barcode AAE948L5) from slot 33 to standalone residence.
Logically move media ID E928L5 (barcode AAE928L5) from slot 34 to standalone residence.
Logically move media ID E938L5 (barcode AAE938L5) from slot 35 to standalone residence.
Logically move media ID E798L5 (barcode AAE798L5) from slot 36 to standalone residence.
Logically move media ID E966L5 (barcode AAE966L5) from slot 37 to standalone residence.
Logically move media ID E926L5 (barcode AAE926L5) from slot 38 to standalone residence.
Logically move media ID E976L5 (barcode AAE976L5) from slot 40 to standalone residence.
Logically move media ID E906L5 (barcode AAE906L5) from slot 42 to standalone residence.
Logically move media ID E988L5 (barcode AAE988L5) from slot 44 to standalone residence.
Logically add new media E822L5 (barcode AAE822L5) to robot slot 10.
Logically add new media E100L5 (barcode AAE100L5) to robot slot 25.
Logically add new media E102L5 (barcode AAE102L5) to robot slot 26.
Logically add new media E105L5 (barcode AAE105L5) to robot slot 32.
Logically add new media E101L5 (barcode AAE101L5) to robot slot 33.
Logically add new media E103L5 (barcode AAE103L5) to robot slot 34.
Logically add new media E104L5 (barcode AAE104L5) to robot slot 35.
Logically add new media E106L5 (barcode AAE106L5) to robot slot 36.
Logically add new media E111L5 (barcode AAE111L5) to robot slot 37.
Logically add new media E110L5 (barcode AAE110L5) to robot slot 38.
Logically add new media E107L5 (barcode AAE107L5) to robot slot 40.
Logically add new media E108L5 (barcode AAE108L5) to robot slot 42.
Logically add new media E109L5 (barcode AAE109L5) to robot slot 44.
Updating volume configuration ...

Processing existing media removed from or moved within the robotic library by
logically moving media to standalone residence as follows...
        Media ID        Slot
        ========        ====
         E958L5           25
         E908L5           26
         E698L5           32
         E948L5           33
         E928L5           34
         E938L5           35
         E798L5           36
         E966L5           37
         E926L5           38
         E976L5           40
         E906L5           42
         E988L5           44

Processing new media added to the robotic library by logically
adding media with new media IDs as follows...
        Media ID        Slot
        ========        ====
         E822L5           10
         E100L5           25
         E102L5           26
         E105L5           32
         E101L5           33
         E103L5           34
         E104L5           35
         E106L5           36
         E111L5           37
         E110L5           38
         E107L5           40
         E108L5           42
         E109L5           44

Volume configuration successfully updated.

2. Now on the GUI the cartridges are  in Netbackup Pool.Now I will move it to desired pool SN_ArchiveTT... so I need pool number.

 Run vmpool -list

[root@nbumedia ~]# vmpool -listall
===================================================================
pool number:  0
pool name:    None
description:  the None pool
max partially full:    0
================================================================================
pool number:  1
pool name:    NetBackup
description:  the NetBackup pool
max partially full:    0
================================================================================
pool number:  2
pool name:    DataStore
description:  the DataStore pool
max partially full:    0
================================================================================
pool number:  3
pool name:    CatalogBackup
description:  NetBackup Catalog Backup pool
max partially full:    0
================================================================================
pool number:  4
pool name:    BO_Backup
description:  ------
max partially full:    0
================================================================================
pool number:  5
pool name:    SN_ArchiveTT
description:  TTServer
max partially full:    0
=============================

3. So desired pool number is 5
 So run the following command
I will move 5 media.

[root@nbumedia ~]# vmchange -m E101L5 -p 5
[root@nbumedia ~]# vmchange -m E102L5 -p 5
[root@nbumedia ~]# vmchange -m E103L5 -p 5
[root@nbumedia ~]# vmchange -m E104L5 -p 5

4. run the inventory

QUESTION ))

 Old medias wasn't deleted from the list of pool.

I tried to eject ,but no changes.

example :

vmchange -res -verbose -rn 1 -rt tld -ml E958L5 -rh nbumedia

Marianne's picture

The command that you ran is the same as doing Inventory from the GUI as per my suggestion above.

Have another look at the output:

Logically move media ID E958L5 (barcode AAE958L5) from slot 25 to standalone residence.

You can see that NBU has already moved them to non-robotic (standalone).

There is nothing more to do.

Tapes will stay in same pool. Location (in or out the robot) has nothing to with the pool... 
Volume Group is the attribute that deals with location. 
See this TN for explanation: http://www.symantec.com/docs/HOWTO86045

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

SOLUTION