UNSOLVED

dzi

updated

11 years ago

D

dzi

5 Posts

0

1502

July 4th, 2015 06:00

Scanner command with 2 drives

Hi,

I have to scan 2 tapes on my networker server.

Question is: is it mandatory to use always the same drive ?

Or is it possible to proceed like this:

Load without mount the two tapes into the 2 drives.

Place the two drives in service mode

Launch the scanner

indra1 /#scanner -i /dev/rmt0.1

8909:scanner: using '/dev/rmt0.1' as the device name

8936:scanner: scanning LTO Ultrium-2 tape S00227 on /dev/rmt0.1

32350:scanner: adding LTO Ultrium-2 tape S00227 to pool Default

29485:scanner: ssid 4255058129: scan complete

8786:scanner: ssid 4255058129: 2 KB, 5 file(s)

....

....

39876:scanner: the following save sets continue on another volume:

client name  save set             save time     level size  files   ssid S

indra1       /oratst              6/16/14 19:28  f 5925547516 42831 1453271355 S

indra1       /delivery            6/16/14 19:28  f 9999770056 4972 1402939714 S

scanner: when next volume is ready, enter device name (or `q' to quit) [/dev/rmt0.1]?


At this point is it possible to answer: /dev/rmt1.1 ??

And continue on the second Tape.

Regards

Dzi




  • Deb_PS

    156 Posts

    990

    0

    Posted July 5th, 2015 01:00

    I think the answer is yes, it is possible

  • dzi

    5 Posts

    990

    0

    Posted July 5th, 2015 03:00

    THank you Deb, I will try tomorow.

    in fact, I have made a scan with a few problems (session putty closed due to timeout during the scan).

    AFter a few tries, I was thinking that everything was ok Because all savesets from the two tapes seems to be there.

    But when launching  arecover session, some files and directory where missing.

    Now I want to restart from scratch and delete everything from these 2 tapes in Networker databases.

    Can you give me some advise to achieve this?

  • bingo.1

    1 Rookie

    •

    2430 Posts

    990

    0

    Posted July 5th, 2015 10:00

    The easiest way is to delete the volumes from the media index using "nsrmm -d ".

    Do not forget that you can also pipe the output to a file for later investigations.

    It is also important that the save set have not passed their browse date - otherwise NW will delete the file index information right away. To prevent that, correct browse/retention date for the save sets as follows before you start the scan process:

       nsrmm -w -e -S ssid

  • dzi

    5 Posts

    990

    0

    Posted July 5th, 2015 13:00

    Because I think my index is corrupted, I want also restart from scratch for this particular client.

    To resume:

    1. Delete the media index

    # nsrmm -d


    2. Delete the index file for this client

    # ??? need your advises


    3. Scan the tape to recover media and index files.

    # scanner -i /dev/rmtx.1


    Note:

    I think the index file is corrupted because after several scan (some aborted), when trying a recover I can see that some files or directory are missing within the list.

    Thats why I want to restart from scratch.

  • bingo.1

    1 Rookie

    •

    2430 Posts

    990

    0

    Posted July 5th, 2015 19:00

    The deletion of the media index is not necessary - and it would be difficult for a particular client.

    If you really want to do that, you must delete all his save sets (nsrmm -d -S ).

    To delete the file index, simply remove/delete the clients index directory, usually stored in "/nsr/index/ ".

    To ensure that it has been deleted, run "nsrls

    Wort case update the information with "nsrck -X ".

    Rerun scanner. Again I recommend you pipe the output to a file for further investigation.

    You can also scan a specific save set using "scanner -S ", However, in this case you must know the ssid, of course.

    Also make sure that you have the latest NW version installed. I remember an issue with scanner (about 4 years old with NW 7.5?) where the command ran successfully but in the end did not update the index information. This was especially for a NW/Windows server ... but you never know. Again, I recommend creating a logfile for an easy verification.

  • dzi

    5 Posts

    990

    0

    Posted July 6th, 2015 10:00

    Thanks,

    I have now restarted from scratch and have the following issue reported in a new post:

    scanner command ask the same tape twice