Unsolved
1 Rookie
•
63 Posts
0
1003
June 5th, 2020 11:00
how to restore unix directory on networker 8.2
Hello All;
I am new on networker. I have question about restoring unix directory. How can I restore a unix directory on networker ? My networker system is 8.2.4.12 running redhat server , connecting with quantum scalar i80. I already inject restore tapes into quantum scalar i80 library but don't know to synchronize from networker system. Can you please give me step to step how to restore a directory or file on networker. Thank you.
No Events found!



bingo.1
2.4K Posts
0
June 6th, 2020 06:00
bingo.1
2.4K Posts
0
June 8th, 2020 09:00
As mentioned, you should run an inventory. So the key letter is a capital "i", not a lowercase "l".
For more information, see the Command Line Reference for the nsrjb command. The appropriate part starts as follows:
– I Performs an inventory on the jukebox’s contents. Use this option to ensure that the mapping between slot number and volume name is correct. If necessary, the volumes in the specified slots may be loaded into a device, so their labels may be read. This option can take a long time to complete depending on the type of jukebox.
To_Ng
1 Rookie
•
63 Posts
0
June 8th, 2020 09:00
Thank you for your information but when I run nsrjb -I , it doesn't work
-bash-4.1# nsrjb -l
38625:nsrjb: nsrjb: a `volume' or slot range must be specified with `-l'
usage: nsrjb [-j name] [-s server] [-v] [-f device] [-S slots] [volume_name]
or nsrjb -L [-j name] [-s server] [-nqvmM] [-B | -R] [-N | -Y] [-i]
[-b pool] [-f device | -J hostname] [-e forever] [-c capacity]
[-o mode] [-S slots | -T tags ] [volume_name]
or nsrjb -l [-j name] [-s server] [-nqvrM] [-R [-b pool]]
[-f device | -J hostname]
{-S slots | -T tags | volume_name}
or nsrjb -u [-j name] [-s server] [-qvM] [-f device]
[-S slots | -T tags | volume_name]
or nsrjb -w [-j name] [-s server] [-v] [-N] [-P ports] {-S slots | -T tags | volume_name}
or nsrjb -d [-j name] [-s server] [-v] [-N] [-P ports] [-S slots] [-T tags] [volume_name]
or nsrjb -I [-j name] [-s server] [-Evpq] [-I | -f device]
[-S slots | -T tags | volume_names]
or nsrjb -p [-j name] [-s server] [-qv] [-f device]
-S slot | -T tag | volume_name
or nsrjb -o mode [-j name] [-s server] [-Y]
{-S slot | -T tags | volume_names}
or nsrjb -a [-j name] [-s server] [-v] [-d] -T tags | volume_names
or nsrjb -x [-j name] [-s server] [-v] [-w] [-T tags | -S slots ]
or nsrjb -F [-j name] [-s server] [-qv] -f device
or nsrjb -U uses [-j name] [-s server] [-S slots | -T tags]
or nsrjb -H [-j name] [-s server] [-E] [-H] [-v] [-p]
or nsrjb -h [-j name] [-s server] [-v]
or nsrjb -V [-j name] [-s server] [-v]
To_Ng
1 Rookie
•
63 Posts
0
June 8th, 2020 10:00
-bash-4.1# nsrjb -I
1: QUANTUM@5.4.1 [enabled]
There is only one enabled and configured jukebox: QUANTUM@5.4.1
06/08/20 10:59:09.267405 Info: Updated volume `L5000063' in slot 7.
06/08/20 10:59:09.267893 Info: Updated volume `L5000220' in slot 9.
06/08/20 10:59:09.267972 Info: Skipping slot 28. It is empty.
06/08/20 10:59:09.268056 Info: Skipping slot 29. It is empty.
06/08/20 10:59:09.268140 Info: Skipping slot 31. It is empty.
06/08/20 10:59:09.268222 Info: Updated volume `L5000548' in slot 34.
06/08/20 10:59:09.268305 Info: Updated volume `L5000047' in slot 35.
06/08/20 10:59:09.268389 Info: Setting slot 39 name to `Cleaning Tape (2 uses left)'.
06/08/20 10:59:09.268665 Error: Operation aborted due to nsrmmgd restart.
Jukebox operation finished with status: failed
15771:nsrjb: Jukebox command terminated with errors.
It looks like it failed because another restore job running. Should I wait until restore completes then I run inventory ? Thank you.
bingo.1
2.4K Posts
0
June 8th, 2020 11:00
An inventory is only necessary after you swapped tapes. This is how the true jukebox content will be recognized and synched with the NW tape library database. It is only necessary if you opened the jukebox 'door'. Usually, a jukebox contains one or more mailslots (aka cartridge access ports or CAP). If you import/export cartridges via the CAP you usually control this via the NW Admin GUI (nsrjb in the end) so the databases will be synched by these operations.
And yes, an inventory should only be run if the jukebox is idle.
To get the current list of tapes the NW jukebox knows of, simply run "nsrjb" by itself.