Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I get the index off of a tape? 1

Status
Not open for further replies.

UnixSkunk

IS-IT--Management
Oct 16, 2002
86
US
I was given a random Legato tape from someone else's Legato server.. I'm not sure how to build the index/recover the data off of this tape. Can someone please explain to me how to A) build the indexes from the tape. B) How to do a restore from that tape.
I think after getting the indexes off the tape aand registering it in the Legato MediaDB, etc, it should be a normal restore. Any help would be much appreciated.

UnixSkunk - Tux's evil nemesis.
 
You best follow this procedure:

- if this client is unknown, edit your hosts file to
resolve his name to a dummy IP address
- create that client resource
- install a compatible device
- you also need to make sure that the block size is the
same (but NW will tell you if it has a problem)
- rebuild the media db info with
scanner -m device_name
- if you need the client file index info, use
scanner -i device_name
this of course will also rebuild the media index

The restore is not 'normal', it is a directed recovery. So
make sure that you have the "remote access" rights for this
client's data.

Good luck.
 
Hi, 605.
Thats an awesome answer! Just curious, and making certain this is correct. Client Alpha is backed up onto server Omega. That tape is mailed to me. I own Server Delta. This process will allow me to restore all the data to a machine, basically making the new client, BETA, identical to client ALPHA using nothing but the tapes and Server Delta, right? (BETA has ALPHA's ipaddress address, etc.)
Thanks!
UnixSkunk - Tux's Evil Nemesis.
 
Hi, 605...
Also, scanner -m and scanner -i wont harm any of the exhisting client indexes already on the machine, will it? Server Delta houses client information and indexes for other clients as well.

Thanks
UnixSkunk - Tux's Evil Nemesis.
 
Well, at least you can recover the data. Whether you can
create an "identical" machine also depends on other issues
like rights etc. But yes, in general this is possible.

With respect to the client file indexes - since NW 6 each
client has a separate index directory.
 
Hi, 605.
I'm running the Scanner -m /dev/rmt/4cbn command, and I was wondering if A) this is what I'm supposed to be seeing:
# scanner -m /dev/rmt/4cbn
scanner: scanning dlt7000 tape BB1117 on /dev/rmt/4cbn
scanner: dlt7000 tape BB1117 already exists in the media index
scanner: ssid 216324097: scan complete
scanner: ssid 216324097: 934 KB, 10 file(s)
scanner: ssid 216324354: scan complete
scanner: ssid 216324354: 11 MB, 17 file(s)
scanner: ssid 216324355: scan complete
scanner: ssid 216324355: 855 KB, 9 file(s)
scanner: ssid 216332545: scan complete
scanner: ssid 216332545: 1 KB, 0 file(s)
scanner: ssid 216324353: scan complete
scanner: ssid 216324353: 13 MB, 201 file(s)
scanner: ssid 216357121: scan complete
scanner: ssid 216357121: 152 KB, 11 file(s)


scanner: ssid 216586497: scan complete
scanner: ssid 216586497: 12 MB, 13 file(s)
scanner: ssid 216588289: scan complete
scanner: ssid 216588289: 20 MB, 7 file(s)
scanner: ssid 216622593: scan complete
scanner: ssid 216622593: 17 MB, 71 file(s)
scanner: ssid 216624641: scan complete
scanner: ssid 216624641: 448 MB, 53 file(s)
scanner: ssid 216622337: scan complete
scanner: ssid 216622337: 2008 MB, 15443 file(s)
scanner: ssid 216904193: scan complete
scanner: ssid 216904193: 949 MB, 107 file(s)
scanner: ssid 216324356: scan complete
scanner: ssid 216324356: 6418 MB, 48551 file(s)
scanner: ssid 217144833: scan complete
scanner: ssid 217144833: 1291 MB, 520 file(s)
scanner: ssid 217193985: scan complete
scanner: ssid 217193985: 20 MB, 7 file(s)
scanner: ssid 216622594: scan complete
scanner: ssid 216622594: 3618 MB, 97273 file(s)
scanner: ssid 216678401: scan complete
scanner: ssid 216678401: 4149 MB, 14 file(s)
scanner: ssid 217038081: scan complete
scanner: ssid 217038081: 6452 MB, 11 file(s)
scanner: ssid 217094401: SYNCHRONIZED at 8583 MB, 12 file(s)


^C
scanner: the following save sets are still incomplete:
client name save set save time level size files ssid S
remedy /backup 7/09/03 21:47 f 15806252832 117 217094401 S
scanner: Press:
c<RETURN> to continue
n<RETURN> to go to next volume
q<RETURN> to quit
>c
scanner: continuing

and B) Does anyone know how long it takes for this command to run on each DLT4 tape? Thanks!

UnixSkunk - Tux's Evil Nemesis
 
- What you see is absolute correct.
With &quot;scanner -m &quot;you will get informed about each save
set the command discovers.

BTW - you also may apply &quot;scanner -m -S ssid&quot; to scan a
certain save set. But do not do this unless you pipe the
output through uasm to recover the data - this is
possible as well (see Tech Bulletin #1).

And .. the nice thing about scanner is that you can even
use it for very old media. The oldest version i have is
NW 4.2. NW does not have a problem to read the data and,
what is even more important, it fills the databases in
the current format (it converts all data on-the-fly).

- How long does it take ?
No idea - it depends a bit on the tape technology, the
density and other things. But the major question is:
To what percentage is the tape filled?

Sorry, i demo it in trainings all the time but never had
to deal with the real world. But i have heard that it
may take about a day for a filled DLT7000 tape.

 
*cackles happily and in a totally unprofessional manner*
Thank you, 605! You are my Legato Savior! *chuckle* Many thanks. This is exactly what I needed to know. I was a bit worried because the index didnt seem to be showing up in the Legato server.Now, I just hope I can figure this out. And just to let you know, it took us about 4 hours for a DLT7K tape. :) And the others are still going. I used scanner -i -c clientname /dev/name on it, and its working on the second tape right now.
Thanks again! I'll keep an eye out for your replies in other threads, too. :)



UnixSkunk - Tux's Evil Nemesis
 
Hi, Everyone.
Does anyone know how I can speed up getting the indexes off of a tape? Its taking me about 4 hours per tape to get this data off of a DLT. Is there any way we can make this happen faster in the future? Can someone include index files on the tape....? My boss wants this to happen NOW, and he doesnt want to wait for the tapes to finish. TJe wont listen to me when I tell him we need to wait for the machine to finish pulling the indexes off of the tape before trying a recover. It shows the index okay, but in recover when I type volumes, it says &quot;Unknown&quot; about what volumes it needs.

Thanks again!

UnixSkunk - Tux's Evil Nemesis
 
Well, your boss just wants ... the impossible!

Actually, this is what index backups are for. But if you
'import' a foreign media, your NW server does not know
about it until you scan it at least once.

Most likely, scanner -m will run faster as it will only
need to extract the save set indexes but you would never
be faster than the tape drive is able to stream.
 
Hi,
You should try to migrate to AIT tapes, that include a chip that holds the indexes of all the data that is on the tape.
Anat
 
Hello, Anatox...
I havent seen an AIT Tape(Its been a while) that can compete with the speed of these tapes, and the 200 Gig capacity. :) I also dont mind pulling the indexes off of the tape...I was just curious how to do so. Many thanks!



UnixSkunk - Tux's Evil Nemesis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top