cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Restore the data from LTO4 Tapes

naari11
Level 2

Hi Team,

we are unable to restore the data from old LTO4 tapes and have tried below options.

quick help would be really appreicated.

1. Changed the Density which matches the archived Tape 

2. Tried all possible ways with the NBU and tape libraries like restart the services and restart the TL's but no luck.

3. i guess the issue with the barcode as the restore job is requesting for the Tape CI4581 but the inventory is showing 4581L4.

Attached the Image for Ref ( it is waiting at this stage forever)

Thank you in advance.

7 REPLIES 7

naari11
Level 2

Adding Inventory Snapshot for ref.

I am hounded with the legal issues with the customer as they would need this data asap.

request your help at the earliest.

Michal_Mikulik1
Moderator
Moderator
Partner    VIP    Accredited Certified
Hello,
In inventory dialog, in Tab Media Id Generation, write this: 1:2:3:4:5:6.
Rgds. It should generate right Media id.
Michal

mph999
Level 6
Employee Accredited

Michal is 'probably' correct ...

NBU generates a media ID from some, or all of the barcode displayed by the robot, with the media ID bing a max of 6 characters.

"requesting for the Tape CI4581 but the inventory is showing 4581L4."

If the robot is displaying all 8 charcters in the barcode, Michal is correct, just need to delete the media, change the media generateion rules so the mediaid becomes [CI4581]L4

If the robot is only displaying the last 6 characters of the barcode, then no mater what you do, a media ID rule will only show the last 6 charaters.

You can see how many characters, and which ones, the robot displays by looking in robtest 's s' command or just looking at existing 'working' media in the GUI and see what the barcode is.

If you have this issue, two ways:

1.  Change the robot so it can displays all 8 charaters (this will be possible somewhere in the robot console.

2.  Create the media ID rule to select the first 6 characters (you also have to specify how many total charcters are in the barcode)

... Once the restore is done, you will have to set the robot back to how it was ... and delete the mediaid rule.

The other way I think is to put customer charcters in to the rule - I've never done this, but from the admin guide

A Media ID generation rule consists of a maximum of six colon-separate fields.
Numbers define the positions of the characters in the barcode that are to be
extracted. For example, the number 2 in a field extracts the second character
(from the left) of the barcode. You can specify numbers in any order.
To insert a specific character in a generated media idea, precede the character
by a pound sign (#). Any alphanumeric characters that are specified must be
valid for a media ID..

You would specify the rule like thsis (I think)

#C#I#4#5#8#1

 

 

Marianne
Level 6
Partner    VIP    Accredited Certified

@naari11 

Please do the following: 

Use the Media GUI to check the physical slot number in the robot of media id 4581L4 , then delete this media id.

Check if CI4581 exists in the volume catalog:
vmquery -m CI4581

Next step will depend on output of above command.
Please share output. 

If the output shows the media id as CI4581 with barcode CI4581L4 and density as hcart2, then all you need to do is to find CI4581 in the media GUI, right-click, move. 
In the next screen, select the robot and slot number to update physical location. 

If you then repeat the vmquery command an all pameters are correct, e.g. 
media ID: CI4581
media type: 1/2" cartridge tape 2
barcode: CI4581L4
volume pool: XXXXX
robot type: TLD - Tape Library DLT (8)
robot number: #
robot slot: ##

Restore should work now. 

Thank you so much Marianne for the reply,

I have deleted the media ID 4581L4 and changed the barcode of CI4581 to CI4581L4 with below command.

vmchange -m CI4581 -barcode CI4581L4 

I have re inventory the Tape library and now restore job able to mount the tapes but ended up with different error and please check the attached the error snapshot for ref and request your help to fix this.

restored from image XXXXXX_1417585287; restore time: 0:00:09the restore failed to recover the requested files (5)

Here you go witht the Output of vmquery

./vmquery -m CI4581
================================================================================
media ID: CI4581
media type: 1/2" cartridge tape (6)
barcode: CI4581L4
media description: Added by Media Manager
volume pool: Takase-STA-1 (151)
robot type: TLD - Tape Library DLT (8)
robot number: 6
robot slot: 2
robot control host: osbk001.open-silicon.com
volume group: 000_00006_TLD
vault name: ---
vault sent date: ---
vault return date: ---
vault slot: ---
vault session id: ---
vault container id: -
created: Mon 23 Jul 2012 07:05:58 PM IST
assigned: Mon 30 Sep 2013 04:12:28 PM IST
last mounted: Thu 19 Sep 2019 12:51:41 PM IST
first mount: Tue 24 Jul 2012 06:17:35 AM IST
expiration date: ---
number of mounts: 10
max mounts allowed: ---
status: 0x0

Marianne
Level 6
Partner    VIP    Accredited Certified

@naari11 wrote:

Thank you so much Marianne for the reply,

I have deleted the media ID 4581L4 and changed the barcode of CI4581 to CI4581L4 with below command.

vmchange -m CI4581 -barcode CI4581L4 

I have re inventory the Tape library and now restore job able to mount the tapes .......

 


@naari11 

Your issue with the media id and tape mount is solved, right? 

Please start a new discussion for your NDMP restore error. 
Give as much detail as possible about source NDMP environment and the destination NDMP environment that you are trying to restore to. 

Please try to copy text from Activity Monitor, and paste in the post, rather than taking screenshots.