Views

What is nsrjb?

This Wiki is brought to you by Backup Central, where you can find the Mr. Backup Blog, Forums, and a mailing list for each forum!

Backup FAQs Service Providers Backup Software Backup Hardware Backup Book Wiki Free Stuff Miscellaneous


One command that every Networker administrator will come to know well is nsrjb. Read & reread the man page on this command, which both manages the jukebox & the volumes or devices within the jukebox. While the Jukebox menu within the nwadmin GUI allows access to much of the same functionality, several powerful options -- nsrjb -H & nsrjb -IE -- are not available from the Jukebox menu. This makes it a useful option to senior sysadmins who wish to restrict junior admins to a subset of nsrjb's functionality. Commands found in /etc/LGTOuscsi enable a more fine tuning of the Legato's interface to the tape peripherals than nsrjb permits. The man page describes them. (According to Stein Bjorndal, these commands exist on the NT version of the server.) In a post dated 27 Mar 2000, Joseph Sleigh offered an example of using some of these commands: If you want to check what density a tape is, you can use the msense command, e.g. /etc/LGTOuscsi/msense -a x.x.x -p 0 | /etc/LGTOuscsi/pmode where x.x.x is the scsi address for your drive from the /etc/LGTOuscsi/inquire command. The output you will get looks like

Mode Header: mdl=11 mtype=0x85 dparm=0x10 bdlen=8
Block Desc[0]: dens=0x85 nblks=0 blklen=0

Q. How can I get a list of what's in my library from the command line? nsrjb -Cv

mminfo -a -r 'volume(20),location(20), pool(15), %used'

No slot information, but others have shown how to get that.