Monday 10 February 2014

Legato Commands part 1

Contents


PRE COMMANDS AND PARAMETERS

Run from executable folder


In order to run most commands, place the command interpreter to the Legato executable directory (server or client):

Cd C:\Program Files\nsr\bin

Remote Shortcuts


Open Menu Windows on Remote Computer:               ALT+HOME
Send CTRL+ALT+DEL on remote computer:                                             CTRL+ALT+HOME

Device parameters tests

000031 or PYR231
Tape or Volume name
Jukebox Overlan
SCSI
The name of a SCSI device is identified as a combination of bus,
target, and logical unit number (LUN) (b.t.l), where b is the logical scsi bus, t is the SCSI target, and l is the SCSI LUN on that target. A logical SCSI bus number is not necessarily related to a specific platform or hardware bus number
OVERLANDNEO Series
Name of the Overlan Jukebox
QUANTUM SDLT600 RB0509AM
Name of Tape Librairy
Adress of Tape device

Legato Installed Infrastructure

N
TYPE
NAME
FQN / IP ADRESS
DNS SERVICE
1
SERVER
bormsback01
Name:    bormsback01.EMEA.BORMS.COM
Address:  145.245.218.95

DNS server  bormsemea01.emea.borms.com
Address:  145.245.218.75
2
CLIENT
Bormsapp04
Name:    bormsapp04.emea.BORMS.COM
Addresses:           145.245.218.113
                               145.245.218.114
Aliases:  bormsapp04.BRD.BORMS.COM

DNS server  bormsemea01.emea.borms.com
Address:  145.245.218.75

3
CLIENT
Bormsfs01
Name:    bormsfs01.emea.borms.com
Address:  145.245.218.77

DNS server  bormsemea01.emea.borms.com
Address:  145.245.218.75
4
CLIENT
Bormsfs02
Name:    bormsfs02.emea.BORMS.COM
Address:  145.245.218.119
Aliases:  bormsfs02.BRD.BORMS.COM
DNS server  bormsemea01.emea.borms.com
Address:  145.245.218.75
5
CLIENT ASM
Rudmanufact01
Name:    bormsmanufact01.emea.BORMS.COM
Address:  145.245.156.32
Aliases:  bormsmanufact01.BRD.BORMS.COM
DNS server  bormsemea01.emea.borms.com
Address:  145.245.218.75
6
CLIENT
Bormssan01
Name:    bormssan01.emea.BORMS.COM
Address:  145.245.218.70
Aliases:  bormssan01.BRD.BORMS.COM
DNS server  bormsemea01.emea.borms.com
Address:  145.245.218.75
7
CLIENT
Bormstest01
Name:    bormstest01.emea.BORMS.COM
Addresses:  145.245.218.68
          145.245.156.7
          145.245.218.67
Aliases:  bormstest01.BRD.BORMS.COM
DNS server  bormsemea01.emea.borms.com
Address:  145.245.218.75





Server quick commands

Reset Terminal Services Sessions

FUNCTION
COMMAND
Query User Sessions
query session /server:servername
query session /server:BORMSBACK01

C:\Users\user5>query session /server:bormsback01
 SESSIONNAME       USERNAME                 ID  STATE   TYPE        DEVICE
 console                                     0  Conn    wdcon
 rdp-tcp                                 65536  Listen  rdpwd
 rdp-tcp#19        user5                  1  Active  rdpwd
 rdp-tcp#4         user6                  2  Active  rdpwd

Reset sessions
reset session [ID] /server:servername

C:\Users\user5>reset session 1 /server:BORMSBACK01
C:\Users\user5>

Query use of files and folders

FUNCTION
COMMAND
Query Use of Shares
net use /user:[username] \\servername\share

Network configuration

FUNCTION
COMMAND
Query Network Config
ipconfig /all                   
netstat -e -s                  
netstat -a                       
                       
net start  
net config server
net config workstation
net statistics server
net statistics workstation

Rpcinfo –p hostname     check communication

host file    
C:\WINNT\system32\drivers\etc\hosts
%SystemRoot%\System32\Drivers\Etc\hosts
                       
lm host LAN Manager host File
C:\WINNT\system32\drivers\etc\lmhosts
%SystemRoot%\System32\Drivers\Etc\lmhosts

Debugging

FUNCTION
COMMAND
Doctor Watson
Doctor Watson
C:\WINNT\drwtsn32.log

                       
SHORTCUTS

ALT+HOME                       open Menu Windows on Remote Computer
ALT+Tab : navigation
CTRL + mouse roll :  zoom


SCSI MAINTENANCE COMMANDS

Overlan SCSI


scsidev@12.0.4:Vendor <OVERLAND>, Product <NEO Series>, Revision <0429>
Standard control port = scsidev@12.0.4
Max parallelism = 4



0


1


2







DEVICES

AUTOCHANGER

Autochanger Maintenance Commands Overview


Command            Description

lusbinfo.exe         Prints out SCSI information.
lusdebug.exe      Sets the library debugging level.
lrescan.exe          Rescans for devices.
lreset.exe             Resets the SCSI bus.
changers.exe      Lists the SCSI autochangers attached to the system.
hpflip.exe             Allows toggle the device between optical and direct access without additional drivers.
ielem.exe             Initializes the element status.
inquire.exe           Lists the devices available.
ldunld.exe            Loads or unloads a tape device.
msense.exe        Retrieves mode sense data.
pmode.exe           Prints mode sense data.
relem.exe             Reads the element status.
tur.exe                  Tests whether the unit is ready.
writebuf.exe        Writes a device buffer.
sjiielm.exe           Tests the standard jukebox interface (SJI) SJIIELEM
sjiinq.exe              Tests the SJI SJIINQ command.
sjirdp.exe             Tests the SJI SJIRDP command.
sjirdtag.exe          Tests the SJI SJIRTAG command.
sjirelem.exe        Tests the SJI SJIRELEM command.
sjirjc.exe               Tests the jukebox

Sjiing : Testing Autochanger Connection


sjiinq devname



C:\Program Files\nsr\bin>sjiinq scsidev@12.0.4
scsidev@12.0.4:<OVERLANDNEO Series      >

jbverify : test devices configuration


NAME
jbverify − check jukebox/device configurations in NetWorker.
SYNOPSIS
jbverify [ −a ] [ −d { −i|−u } ] [ −D devicename ]...
[ −f filename ] [ −F ] [ −h ] [ −H hostname ]...
[ −I Invoker ] [ −j ] [ −J JB name ]... [ −l ] [ −M ] [ −n ]
[ −N ] [ −P port ] [ −q ] [ −Q ] [ −r no. of retries ]
[ −R ] [ −S slot ] [ −s server ] [ −t ] [ −v ]... [ −Z ]
DESCRIPTION
jbverify verifies the devices defined in the NetWorker database, making sure that each one of them is configured
properly by checking them for accessibility and usability.

jbverify
jbverify –v (verbose level 1)
jbverify –v –v –v –v –v (verbose level 5)

C:\Program Files\nsr\bin>jbverify -a

 Jbverify is running on host bormsback01
 Option not supported at present. Please exclude and try again.

C:\Program Files\nsr\bin>jbverify

 Jbverify is running on host bormsback01

 Processing stand-alone devices...

 Processing \\.\Tape4
 Finished processing \\.\Tape4

 Processing \\.\Tape5
 Finished processing \\.\Tape5

 Processing \\.\Tape6
 Finished processing \\.\Tape6

 Processing \\.\Tape7
 Finished processing \\.\Tape7

 Finished processing stand-alone devices.

 Processing jukebox devices...

 Processing jukebox Overland:

 Testing drive 1 (\\.\Tape0) of JB Overland

 Skipping disabled drive \\.\Tape1
 Testing drive 3 (\\.\Tape2) of JB Overland

 Testing drive 4 (\\.\Tape3) of JB Overland


 Jukebox Overland on bormsback01 successfully processed.


 Finished processing jukebox devices.

**********************************************************************

                 Summary report of jbverify
                 ======= ====== == ========

Hostname   Device Handle    Blocksize  Jukebox  Drv No. Status
--------   -------------    ---------  -------  ------- ------
bormsback01 \\.\Tape4        131072     N/A      N/A     Pass
bormsback01 \\.\Tape5        131072     N/A      N/A     Pass
bormsback01 \\.\Tape6        131072     N/A      N/A     Pass
bormsback01 \\.\Tape7        131072     N/A      N/A     Pass
bormsback01 \\.\Tape0        131072     Overland 1       Pass
bormsback01 \\.\Tape1        N/A        Overland 2       Skip
bormsback01 \\.\Tape2        131072     Overland 3       Pass
bormsback01 \\.\Tape3        131072     Overland 4       Pass

**********************************************************************


 Exiting jbverify successfully.

C:\Program Files\nsr\bin>

Jbconfig : jukebox resource configuration tool

Jbconfig –s BORMSBACK01 –l
NAME
jbconfig − jukebox resource configuration tool
SYNOPSIS
jbconfig [ −s server ] [ -l ]
DESCRIPTION
The jbconfig program provides an interactive script for configuring a jukebox (Media Autochanger Device)
OPTIONS
−s server                 Specifies the controlling server, when jbconfig is being used from a storage node.
−l                            Performs a complete LUN search for all SCSI adapters in the system when performing Autodetection.

Inquire : query SCSI adapters

                                                                                   
C:\Program Files\nsr\bin>inquire –l              Performs a complete LUN search for all SCSI adapters in the system

C:\Program Files\nsr\bin>inquire -l

-l flag found: searching all LUNs, which may take over 10 minutes per adapter
        for some fibre channel adapters.  Please be patient.

Could not start a Removable Storage session (0x00000422).
scsidev@0.0.0:COMPAQ  CD-ROM SC-148C  B101|CD-ROM
scsidev@4.0.0:COMPAQ  SCSI COMMUNICATECISS|Unknown Device Type
scsidev@4.4.0:HP      LOGICAL VOLUME  2.62|Disk, \\.\PHYSICALDRIVE0
                                           WWNN:600508B100104344415031344959FFFF

scsidev@4.5.0:HP      LOGICAL VOLUME  2.62|Disk, \\.\PHYSICALDRIVE1
                                           WWNN:600508B1001043444150313449590000

scsidev@12.0.0:QUANTUM SDLT600         2A2A|Tape, \\.\Tape0
                                           S/N: QD0726AMC00080
                                           ATNN:QUANTUM SDLT600         QD0726AM
C00080
                                           WWNN:500E09E000184383
                                           PORT:00000001
scsidev@12.0.1:QUANTUM SDLT600         1F1F|Tape, \\.\Tape1
                                           S/N: RB0509AMC05311
                                           ATNN:QUANTUM SDLT600         RB0509AM
C05311
                                           WWNN:500E09E000147CF8
scsidev@12.0.2:QUANTUM SDLT600         3535|Tape, \\.\Tape2
                                           S/N: RB0524AMC05029
                                           ATNN:QUANTUM SDLT600         RB0524AM
C05029
                                           WWNN:500E09E00015F440
                                           PORT:00000001
scsidev@12.0.3:QUANTUM SDLT600         3535|Tape, \\.\Tape3
                                           S/N: RB0549AMC05896
                                           ATNN:QUANTUM SDLT600         RB0549AM
C05896
                                           WWNN:500E09E000166951
                                           PORT:00000001
scsidev@12.0.4:OVERLANDNEO Series      0429|Autochanger (Jukebox)
                                           S/N: 2B50900170
                                           ATNN:OVERLANDNEO Series      2B509001
70
                                           IENN:00900D0713FA00AA
scsidev@12.0.5:Over    NEO VIA FCO     2.20|Processor
                                           S/N: FB2350L101071
scsidev@12.127.0:QLOGIC  PSEUDO LUN          |Disk
scsidev@13.127.0:QLOGIC  PSEUDO LUN          |Disk

C:\Program Files\nsr\bin>

−N Performs a device discovery on NDMP Tape Server. User will be prompted for NDMP Tape Server name, NDMP user name and password.

ciss (Compaq Intelligent Storage Subsystem) driver is an Ultra160 SCSI RAID host adapter driver that supports Compaq® Smart Array Controllers on HP ProLiant® servers. These are high-end drive array controllers that support different RAID configurations for logical disk volumes configured on SCSI drives. Controller supported warning and critical failure notifications are notified through console logging of the events and through the Integrated Management Log. Controller statistics are collected by HP Insight Management Agents on SCO OpenServer platforms for access using SNMP.

Ascdcode : convert ASC / ASCQ codes


NAME
ascdcode - print error message for ASC/ASCQ error codes
SYNOPSIS
ascdcode [ -o vendor id [ −p product id ] ] ASC ASCQ

ascdcode –o QUANTUM ASC
ascdcode –o QUANTUM ASCQ
ascdcode –o QUANTUM SDLT600 ASC
ascdcode –o QUANTUM SDLT600 ASCQ
ascdcode –o QUANTUM –p SDLT600 ASC
ascdcode –o QUANTUM –p SDLT600 ASCQ


#
# Overland ASC/ASCQ Error Codes
#
0x04, 0x83, lun not ready - magazine door open
0x04, 0x89, lun not ready - web tlc menu mode
0x04, 0x8d, lun not ready - front panel mode
0x04, 0x8e, lun not ready - sequential mode
0x28, 0x89, not ready transition - tlc mode
0x28, 0x8c, not ready transition - mag door closed
0x28, 0x8d, not ready transition - exit menu mode
0x28, 0x8e, not ready transition - exit seq mode
0x28, 0x8f, not ready transition - mag door opened
0x3b, 0x80, illegal move command
0x3b, 0x87, cannot move element in error
0x3b, 0x90, element not accessible
0x3b, 0x91, cannot move element not installed
0x3f, 0x80, flash update erase error
0x3f, 0x82, flash update download error
0x3f, 0x84, flash update program error
0x3f, 0x86, flash update crc error
0x3f, 0x88, cannot excute flash update
0x3f, 0x89, cannot flash 3-ch slave present
0x3f, 0x8a, flash update xfer length error
0x40, 0x80, diagnostic failure
0x5d, 0xff, failure predict xhold exceeded (false)
0x80, 0x03, medium source element not installed
0x80, 0x04, medium destination element not installed
0x83, 0x01, error reading barcode label
0x83, 0x02, cartridge magazine is not installed
0x83, 0x04, tape drive is not installed
0x83, 0x09, no barcode label detected
0x83, 0x10, element is in error



#
# NetWorker
# 7.2.Build.172
# LEGATO Software, a division of EMC.
#
# QUANTUM ASC/ASCQ Error Codes
#
0x0a, 0x80, Error log generated
0x0c, 0x80, Write SCSI FIFO CRC error
0x11, 0x80, Read SCSI FIFO CRC error
0x11, 0x81, Block port detected EDC error
0x11, 0x82, Block port detected record CRC error
0x24, 0x81, Invalid mode on WRITE buffer
0x24, 0x82, Media in drive
0x24, 0x84, Insufficient resources
0x24, 0x86, Invalid offset
0x24, 0x87, Invalid size
0x24, 0x88, Image/Personality is bad
0x24, 0x89, Image data over limit
0x24, 0x8c, Not immediate command
0x24, 0x8d, Bad driver/server image EDC
0x24, 0x8e, Invalid Personality for Code Update (CUP)
0x24, 0x8f, Bad Controller Image EDC
0x25, 0x90, Bad code update image header
0x27, 0x80, Hardware write protect
0x27, 0x82, Data safety write protect
0x3a, 0x80, Media not present - cartridge missing
0x40, 0x80, Diagnostic/POST failure - ROM EDC error
0x40, 0x81, Diagnostic/POST failure - RAM failure
0x40, 0x82, Diagnostic/POST failure - bad drive status
0x40, 0x83, Diagnostic/POST failure - loader diagnostics failure
0x40, 0x84, Diagnostic/POST failure - POST soft failure
0x44, 0x80, Unexpected selection interrupt
0x44, 0x82, Command complete sequence failure
0x44, 0x83, SCSI Chip, Gross Error
0x44, 0x84, Unexplained selection interrupt
0x44, 0x85, Immediate data transfer timeout
0x44, 0x86, Insufficient CDB bytes
0x44, 0x87, Disconnect/SDP sequence failed
0x44, 0x88, Bus DMA transfer timeout
0x44, 0x89, Internal target failure
0x44, 0x8a, Over temperature condition
0x44, 0xc1, EEROM copy 1 area bad
0x44, 0xc2, EEROM copy 2 area bad
0x44, 0xc3, Both EEROM copy areas bad
0x5d, 0xff, False exception condition
0x80, 0x02, Cleaning requested
0x80, 0x03, Soft error exceeds threshold
0x80, 0x00, Calibration error
0x80, 0x01, Cleaning required
0x81, 0x00, Directory read error
0x82, 0x00, Not allowed if not at BOT
0x83, 0x00, Cannot retry read/write data transfer
0x84, 0x01, BHC test failed



# Hewlett Packard ASC/ASCQ Error Codes
#
0x04, 0x88, download need
0x04, 0x89, download checksum error
0x22, 0x80, drive not online
0x22, 0x81, drive to lib interface comm error
0x22, 0x82, drive is not present
0x2a, 0x80, online repair parameters changed
0x40, 0x80, diagnostic failure
0x80, 0x07, download to picker failed
0x80, 0x08, download to fibre card failed
0x80, 0x09, download to remote man card failed
0x80, 0x0a, need new library controller boot
0x80, 0x0b, need new picker boot
0x80, 0x0c, trying to put in wrong picker code

The ascdcode program interprets Additional Sense Code (ASC) and Additional Sense Code Qualifier
(ASCQ) data and returns an appropriate error message. The ascdcode program returns interpreted
ASC/ASCQ data either for the named vendor and product IDs (with the -o and -p options), or for all
libraries or devices as defined in the SCSI-3 Specifications (http://www.ncits.org)

The vendor id should be identical to the vendor string reported when you run the inquire program. For a complete list of vendor ID assignments, see the web page: http://www.t10.org/lists/vid-alph.htm.

The ASC argument should be the first of the pair of ASC/ASCQ error codes reported by the library or device. You may specify the value as a hexadecimal number by preceding the value with 0x . The default value is assumed to be a decimal value. The ASCQ argument should be the latter of the pair of ASC/ASCQ error codes reported by the library or device. You may specify the value as a hexadecimal number by preceding the value with 0x . The default value is assumed to be a decimal value.

FILES
/INSTALL_PATH/lgtovendors
The directory where the vendor specific files are installed.
/INSTALL_PATH/lgtovendors/OEM_MAP
The file that maps OEM vendors and their corresponding products to original vendors.


OTHER MICROSOFT ERROR CODES


ascsi : Host Agents

NAME
hascsi − Host Agent SCSI Devices information module             DO NOT WORK TO TEST AGAIN
SYNOPSIS
hascsi −h
hascsi [ −f schema file ] [ −L | −l log file ] [ −v ]
hascsi −n [ −f schema file ] [ −L | −l log file ] [ −v ]
hascsi −g [ −f schema file ] [ −L | −l log file ] [ −v ]

−L Tells hascsi that any logging information should be written to the default application logfile - this
file is named hascsi.log , and will be located in the applogs subdirectory of your NetWorker
installation directory. Only one of −L or −l may be specified - not both. If neither −L or −l is
specified in the arguments to hascsi then any logging information will be printed on stdout and
stderr.
−l log file
Allows you to specify the name of the file that hascsi will write its log to. Only one of −L or −l
may be specified - not both. If neither −L or −l is specified in the arguments to hascsi then any
logging information will be printed on stdout and stderr.

Lusbinfo : query bus information


C:\Documents and Settings\user5>lusbinfo.exe
# busses: 15
Bus #0 is '\\.\Scsi0:', dma_max=131072, initiator ID=255, ntargets=128, nluns=253
Bus #1 is '\\.\Scsi1:', dma_max=131072, initiator ID=255, ntargets=128, nluns=253
Bus #2 is '\\.\Scsi2:', dma_max=16777196, initiator ID=247, ntargets=128, nluns=255
Bus #3 is '\\.\Scsi3:', dma_max=16777196, initiator ID=247, ntargets=128, nluns=255
Bus #4 is '\\.\Scsi4:', dma_max=122880, initiator ID=255, ntargets=128, nluns=253
Bus #5 is '\\.\Scsi5:', dma_max=122880, initiator ID=255, ntargets=128, nluns=253
Bus #6 is '\\.\Scsi6:', dma_max=122880, initiator ID=255, ntargets=128, nluns=253
Bus #7 is '\\.\Scsi7:', dma_max=122880, initiator ID=255, ntargets=128, nluns=253
Bus #8 is '\\.\Scsi8:', dma_max=122880, initiator ID=255, ntargets=128, nluns=253
Bus #9 is '\\.\Scsi9:', dma_max=122880, initiator ID=255, ntargets=128, nluns=253
Bus #10 is '\\.\Scsi10:', dma_max=122880, initiator ID=255, ntargets=128, nluns=253
Bus #11 is '\\.\Scsi11:', dma_max=122880, initiator ID=255, ntargets=128, nluns=253
Bus #12 is '\\.\Scsi12:', dma_max=33554432, initiator ID=128, ntargets=128, nluns=253
Bus #13 is '\\.\Scsi13:', dma_max=33554432, initiator ID=128, ntargets=128, nluns=253
Bus #14 is '\\.\Scsi14:', dma_max=262144, initiator ID=255, ntargets=128, nluns=253

NAME
lusbinfo − print SCSI Bus information
SYNOPSIS
lusbinfo [ -v ]

Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\Documents and Settings\user5>lusbinfo.exe -v
# busses: 15
Bus #0 is '\\.\Scsi0:', dma_max=131072, initiator ID=255, ntargets=128, nluns=25
3

 Device at 0,0,0; Flags 0x1 Inqlen Value 36 (has driver)
  Removable Media: 1 Device Type Qualifier: 0
  ISO Version: 0 ECMA Version: 0 ANSI Version: 0
  Asynchronous Event Notification: 0 Terminate I/O Process: 0
  Response Data Format: 1 Additonal Bytes: 31

  SCSI 2 Qualifiers: None
  Vendor ID:
        COMPAQ
  Product ID:
        CD-ROM SC-148C
  Revision:
        B101


Bus #1 is '\\.\Scsi1:', dma_max=131072, initiator ID=255, ntargets=128, nluns=253
Bus #2 is '\\.\Scsi2:', dma_max=16777196, initiator ID=247, ntargets=128, nluns=255
Bus #3 is '\\.\Scsi3:', dma_max=16777196, initiator ID=247, ntargets=128, nluns=255
Bus #4 is '\\.\Scsi4:', dma_max=122880, initiator ID=255, ntargets=128, nluns=253

 Device at 4,0,0; Flags 0x0 Inqlen Value 36
  Removable Media: 0 Device Type Qualifier: 0
  ISO Version: 0 ECMA Version: 0 ANSI Version: 0
  Asynchronous Event Notification: 0 Terminate I/O Process: 0
  Response Data Format: 0 Additonal Bytes: 0


 Device at 4,4,0; Flags 0x3 Inqlen Value 36 (has driver)
  Removable Media: 0 Device Type Qualifier: 0
  ISO Version: 0 ECMA Version: 0 ANSI Version: 0
  Asynchronous Event Notification: 0 Terminate I/O Process: 0
  Response Data Format: 2 Additonal Bytes: 51

  SCSI 2 Qualifiers:
        Command Queueing
  Vendor ID:
        HP
  Product ID:
        LOGICAL VOLUME
  Revision:
        2.62
  Extra Bytes:
        ********************


 Device at 4,5,0; Flags 0x3 Inqlen Value 36 (has driver)
  Removable Media: 0 Device Type Qualifier: 0
  ISO Version: 0 ECMA Version: 0 ANSI Version: 0
  Asynchronous Event Notification: 0 Terminate I/O Process: 0
  Response Data Format: 2 Additonal Bytes: 51

  SCSI 2 Qualifiers:
        Command Queueing
  Vendor ID:
        HP
  Product ID:
        LOGICAL VOLUME
  Revision:
        2.62
  Extra Bytes:
        ********************
Bus #5 is '\\.\Scsi5:', dma_max=122880, initiator ID=255, ntargets=128, nluns=253
Bus #6 is '\\.\Scsi6:', dma_max=122880, initiator ID=255, ntargets=128, nluns=253
Bus #7 is '\\.\Scsi7:', dma_max=122880, initiator ID=255, ntargets=128, nluns=253
Bus #8 is '\\.\Scsi8:', dma_max=122880, initiator ID=255, ntargets=128, nluns=253
Bus #9 is '\\.\Scsi9:', dma_max=122880, initiator ID=255, ntargets=128, nluns=253
Bus #10 is '\\.\Scsi10:', dma_max=122880, initiator ID=255, ntargets=128, nluns=253
Bus #11 is '\\.\Scsi11:', dma_max=122880, initiator ID=255, ntargets=128, nluns=253
Bus #12 is '\\.\Scsi12:', dma_max=33554432, initiator ID=128, ntargets=128, nluns=253

Device at 12,0,0; Flags 0x3 Inqlen Value 36 (has driver)
  Removable Media: 1 Device Type Qualifier: 0
  ISO Version: 0 ECMA Version: 0 ANSI Version: 2
  Asynchronous Event Notification: 0 Terminate I/O Process: 0
  Response Data Format: 2 Additonal Bytes: 61

  SCSI 2 Qualifiers: None
  Vendor ID:
        QUANTUM
  Product ID:
        SDLT600
  Revision:
        2A2A
  Extra Bytes:
        ******************************


 Device at 12,0,1; Flags 0x3 Inqlen Value 36 (has driver)
  Removable Media: 1 Device Type Qualifier: 0
  ISO Version: 0 ECMA Version: 0 ANSI Version: 2
  Asynchronous Event Notification: 0 Terminate I/O Process: 0
  Response Data Format: 2 Additonal Bytes: 61

  SCSI 2 Qualifiers: None
  Vendor ID:
        QUANTUM
  Product ID:
        SDLT600
  Revision:
        1F1F
  Extra Bytes:
        ******************************


 Device at 12,0,2; Flags 0x3 Inqlen Value 36 (has driver)
  Removable Media: 1 Device Type Qualifier: 0
  ISO Version: 0 ECMA Version: 0 ANSI Version: 2
  Asynchronous Event Notification: 0 Terminate I/O Process: 0
  Response Data Format: 2 Additonal Bytes: 61

  SCSI 2 Qualifiers: None
  Vendor ID:
        QUANTUM
  Product ID:
        SDLT600
  Revision:
        3535
  Extra Bytes:
        ******************************


 Device at 12,0,3; Flags 0x3 Inqlen Value 36 (has driver)
  Removable Media: 1 Device Type Qualifier: 0
  ISO Version: 0 ECMA Version: 0 ANSI Version: 2
  Asynchronous Event Notification: 0 Terminate I/O Process: 0
  Response Data Format: 2 Additonal Bytes: 61

  SCSI 2 Qualifiers: None
  Vendor ID:
        QUANTUM
  Product ID:
        SDLT600
  Revision:
        3535
  Extra Bytes:
        ******************************


 Device at 12,0,4; Flags 0x0 Inqlen Value 36
  Removable Media: 1 Device Type Qualifier: 0
  ISO Version: 0 ECMA Version: 0 ANSI Version: 2
  Asynchronous Event Notification: 0 Terminate I/O Process: 0
  Response Data Format: 2 Additonal Bytes: 53

  SCSI 2 Qualifiers: None
  Vendor ID:
        OVERLAND
  Product ID:
        NEO Series
  Revision:
        0429
  Extra Bytes:
        **********************


 Device at 12,0,5; Flags 0x0 Inqlen Value 36
  Removable Media: 0 Device Type Qualifier: 0
  ISO Version: 0 ECMA Version: 0 ANSI Version: 2
  Asynchronous Event Notification: 0 Terminate I/O Process: 0
  Response Data Format: 2 Additonal Bytes: 96

  SCSI 2 Qualifiers:
        Command Queueing
  Vendor ID:
        Over
  Product ID:
        NEO VIA FCO
  Revision:
        2.20
  Extra Bytes:
        *****************************************************************


 Device at 12,127,0; Flags 0x1 Inqlen Value 36 (has driver)
  Removable Media: 0 Device Type Qualifier: 0
  ISO Version: 0 ECMA Version: 0 ANSI Version: 2
  Asynchronous Event Notification: 0 Terminate I/O Process: 0
  Response Data Format: 2 Additonal Bytes: 32

  SCSI 2 Qualifiers: None
  Vendor ID:
        QLOGIC
  Product ID:
        PSEUDO LUN
  Revision:

  Extra Bytes:
        *


Bus #13 is '\\.\Scsi13:', dma_max=33554432, initiator ID=128, ntargets=128, nlun
s=253

 Device at 13,127,0; Flags 0x1 Inqlen Value 36 (has driver)
  Removable Media: 0 Device Type Qualifier: 0
  ISO Version: 0 ECMA Version: 0 ANSI Version: 2
  Asynchronous Event Notification: 0 Terminate I/O Process: 0
  Response Data Format: 2 Additonal Bytes: 32

  SCSI 2 Qualifiers: None
  Vendor ID:
        QLOGIC
  Product ID:
        PSEUDO LUN
  Revision:

  Extra Bytes:
        *


Bus #14 is '\\.\Scsi14:', dma_max=262144, initiator ID=255, ntargets=128, nluns=
253


C:\Documents and Settings\user5>

Lusbdebug -  BUS debugging

NAME
lusdebug − set library debugging level
SYNOPSIS
lusdebug debug-level
DESCRIPTION
The lusdebug command sets a debugging level for the underlying NetWorker SCSI device drivers.
Debugging level 0 (zero) turns off debugging. Larger numbers enable greater levels of debugging.

Tur : Tests Unit Ready


C:\Documents and Settings\user5>tur -l
scsidev@0.0.0: Unknown error
scsidev@4.0.0 passes TEST UNIT READY command
scsidev@4.4.0 passes TEST UNIT READY command
scsidev@4.5.0 passes TEST UNIT READY command
scsidev@12.0.0 passes TEST UNIT READY command
scsidev@12.0.1 passes TEST UNIT READY command
scsidev@12.0.2 passes TEST UNIT READY command
scsidev@12.0.3 passes TEST UNIT READY command
scsidev@12.0.4 passes TEST UNIT READY command
Check Condition for cmd 'TEST UNIT READY':
 Not Ready, Power On, Reset, or Bus Device Reset Occurred
 Additional Sense Information (byte 15 out...):

         15: 0x00
         16: 0x00 0x00
scsidev@12.127.0: unknown error 1 (0x1)
scsidev@13.127.0: unknown error 1 (0x1)



C:\Program Files\nsr\bin>tur -l
scsidev@0.0.0: Unknown error
scsidev@4.0.0 passes TEST UNIT READY command
scsidev@4.4.0 passes TEST UNIT READY command
scsidev@4.5.0 passes TEST UNIT READY command
Check Condition for cmd 'TEST UNIT READY':
 Not Ready, Medium Not Present
 Additional Sense Information (byte 15 out...):

         15: 0x00
         16: 0x00 0x00 0x80 0x08 0xec 0x00 0x00 0x2b
         24: 0x00 0x00 0x00 0x00 0x00 0x00
Check Condition for cmd 'TEST UNIT READY':
 Not Ready, Power On, Reset, or Bus Device Reset Occurred
 Additional Sense Information (byte 15 out...):

         15: 0x00
         16: 0x00 0x00
Check Condition for cmd 'TEST UNIT READY':
 Not Ready, Medium Not Present
 Additional Sense Information (byte 15 out...):

         15: 0x00
         16: 0x00 0x00 0x80 0x0d 0x98 0x00 0x00 0x1a
         24: 0x00 0x00 0x00 0x00 0x00 0x00
Check Condition for cmd 'TEST UNIT READY':
 Not Ready, Medium Not Present
 Additional Sense Information (byte 15 out...):

         15: 0x00
         16: 0x00 0x00 0x81 0x07 0x57 0x00 0x00 0x62
         24: 0x00 0x00 0x00 0x00 0x00 0x00
scsidev@12.0.4 passes TEST UNIT READY command
Check Condition for cmd 'TEST UNIT READY':
 Not Ready, Power On, Reset, or Bus Device Reset Occurred
 Additional Sense Information (byte 15 out...):

         15: 0x00
         16: 0x00 0x00
scsidev@12.127.0: unknown error 1 (0x1)
scsidev@13.127.0: unknown error 1 (0x1)

C:\Program Files\nsr\bin>tur -l -v
usage: tur [ -a b.t.l ] [ -l ]

C:\Program Files\nsr\bin>



changers : elements movements


C:\Documents and Settings\user5>changers.exe
scsidev@12.0.4:Vendor <OVERLAND>, Product <NEO Series>, Revision <0429>

changers.exe –l –v

C:\Documents and Settings\user5>changers.exe -l -v
scsidev@12.0.4:Vendor <OVERLAND>, Product <NEO Series>, Revision <0429>

         1 MT Element(s) starting at address 0
        50 ST Element(s) starting at address 32
         2 IE Element(s) starting at address 448
         4 DT Element(s) starting at address 480

                  Element Movement Matrix

                  ->DT,  ->IE,  ->ST,______
                ______,______,______,______
                ST->DT,ST->IE,______,______
                IE->DT,IE->IE,IE->ST,______
                DT->DT,DT->IE,DT->ST,______
                ______,______,______,______
                ______,______,______,______
                ______,______,______,______
                ______,______,______,______


C:\Documents and Settings\user5>


NAME
changers − list SCSI autochangers attached to the system
SYNOPSIS
changers [ −dv ] [ −a b.t.l ] [ −l ]
DESCRIPTION
The changers program lists all of the SCSI autochangers (jukeboxes) connected to the current system.
OPTIONS
−a b.t.l Selects a specific ordinal SCSI address, where b is the logical SCSI bus, t is the SCSI target, and l
is the SCSI logical unit number (LUN) on that target. See libscsi(1m).
−d Determines the names and addresses of the autochanger’s media elements (for example, tape
drives).
−l Performs a complete LUN search for all SCSI adapters in the system.


C:\Program Files\nsr\bin>changers -dv
scsidev@12.0.4:Vendor <OVERLAND>, Product <NEO Series>, Revision <0429>
 Data Transfer Element at address 480 is scsidev@12.0.0
        Device:Vendor <QUANTUM>, Product <SDLT600>, Revision <2A2A>
          Type:Tape
   System Name: \\.\Tape0

         1 MT Element(s) starting at address 0
        50 ST Element(s) starting at address 32
         2 IE Element(s) starting at address 448
         4 DT Element(s) starting at address 480

                  Element Movement Matrix

                  ->DT,  ->IE,  ->ST,______
                ______,______,______,______
                ST->DT,ST->IE,______,______
                IE->DT,IE->IE,IE->ST,______
                DT->DT,DT->IE,DT->ST,______
                ______,______,______,______
                ______,______,______,______
                ______,______,______,______
                ______,______,______,______



DO NOT WORK TO TEST AGAIN

msense


C:\Documents and Settings\user5>msense
usage: msense [ -a b.t.l ][ -f file ][ -p pgcode ]


C:\Program Files\nsr\bin>msense -a 12.0.4
Device Type: 0x8
Group 1 Mode Sense: 0x0
Bytes to follow: 0xff
0xb2
0x00
0x00
0x00
0x02
0x0e
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x04
0x00
0x00
0x00
0x00
0x00
0x0a
0x0a
0x20
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x0e
0x2b
0x00
0x08
0x00
0x20
0x40
0x00
0x00
0x10
0x04
0x00
0x00
0x10
0x00
0x00
0x00
0x10
0x00
0x00
0x00
0x10
0x00
0x00
0x00
0x10
0x00
0x00
0x02
0x02
0x02
0x00
0x00
0x00
0x00
0x09
0x00
0x01
0x02
0x04
0x06
0x07
0xe0
0xe1
0xe2
0x18
0x06
0x00
0x00
0x00
0x00
0x00
0x00
0x19
0x0e
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x9c
0x0a
0x08
0x03
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x9d
0x12
0x00
0x00
0x00
0x01
0x00
0x20
0x00
0x32
0x01
0xc0
0x00
0x02
0x01
0xe0
0x00
0x04
0x00
0x00
0x1e
0x02
0x00
0x00
0x1f
0x0e
0x0e
0x00
0x00
0x0e
0x0e
0x0e
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0xa3
0x02
0x40
0x00
0x24
0x14
0x32
0x24
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x01
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00

C:\Program Files\nsr\bin>

sjiielm.exe

C:\Documents and Settings\user5>sjiielm.exe
usage: sjiielm.exe jukebox [ {drive|slot|inlt|mt} addr ]

The sjiielm program tests the SJIIELEM command on SJI compliant Jukeboxes (see libsji(1m)). This
command tests the Initialize Element Status interface for a Jukebox.

C:\Program Files\nsr\bin>sjiielm scsidev@12.0.1
SJIIELEM: Resource device
Code:0x29, Str=<Input/output error>

Sjimm : move medias

sjimm scsidev@0.4.0 slot 4 drive 1
which moves a piece of media from the fourth storage element (slot) to the first drive

sjirdp : remote control

sjirdp devname
Typical usage is in constructing the name that contains the SCSI Bus, the SCSI Target
ID and the SCSI Lun on that target, e.g., scsidev@0.4.0.


C:\Program Files\nsr\bin>Sjirdp scsidev@12.0.4
scsidev@12.0.4 has   4 DATA TRANSPORT Element(s) starting at address 1
scsidev@12.0.4 has   1 MEDIA TRANSPORT Element(s) starting at address 1
scsidev@12.0.4 has  50 STORAGE Element(s) starting at address 1
scsidev@12.0.4 has   2 IMPORT/EXPORT Element(s) starting at address 1


No comments:

Post a Comment