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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Legato 7.4.2, Solaris 10 & sji commands

Status
Not open for further replies.

virag0640

Technical User
Sep 6, 2005
14
AU
Hi,
we are setting up a new Legato 7.4.2 server on Solaris 10.

On our old system, we relied heavily on a shell script
called "jbscan" which used the sji commands to
do the following:

* check for a free tape drive(s)
* scan the CAP for media present

But in Legato 7.3 and later, on Solaris 10,
the sji commands no longer exist and we can no longer
rely on jbscan to interrogate the CAP or tape drives for
media present.

Has anyone uncovered a workaround that does not rely on
the sji commands for this kind of thing?

I can post the contents of jbscan if anyone wants it
as it appears to be no longer available on
backupcentral.com


rachel
 
To the best of my knowledge, the sji commans still exist and if so, are located in /usr/sbin .
 
Hi,
sorry for the confusion. Yes, the commands exist
but they no longer work on Solaris 10 SPARC.

When I run the sjirdtag command, it now returns
"device busy" because there is a daemon now bound
to the Control Port: /usr/sbin/nsrlcpd

So now this daemon handles all nsr requests to the
library. But in their infinite wisdom it leaves
us with no obvious way of interrogating the CAP or
drives to see if there is a volume loaded or not.

So I guess I need another method, if there is one....


Cheers
rachel
 
Hi Rachel,

From Solaris 10 Legato no longer uses lus driver but generic scsi sgen driver to talk with the robotic arm.
Morever there is a device path for the robotic arm which was not the case before.
So it means the file can be locked.
To use sji command you need to stop NW.

Hope this helps.

JJ.
 
Hi,
we understand that! It is annoying that Legato takes
away functionality in 7.3 and later and doesn't replace
it. There is no way I know of to simply get whether
a drive has a volume in it (mounted or not) or
to interrogate the CAP port. AFAIK there is no other
way to interrogate the CAP except for the sji commands.

Please tell me I am wrong! C'mon EMC/Legato, bring
back functionality - don't take it away!


rachel
 
Rachel, I am not sure if this helps but you can use the nsrjb command to find if there are tapes (mounted or not) in a tape drive:

backup> nsrjb -j LTOJB | grep drive
drive 1 (/dev/rmt/3cbn) slot 22: -
drive 2 (/dev/rmt/2cbn) slot 9: Delta:033
drive 3 (/dev/rmt/1cbn) slot 34: November:037 (mounted)
drive 4 (/dev/rmt/0cbn) slot 48: developer:331 (mounted)

I am not sure what you mean by "CAP port", I have no experience with this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top