Legato NetWorker Commands Index:
ansrdascdcode
cdi_block_limits
cdi_bsf
cdi_bsr
cdi_eod
cdi_filemark
cdi_fsf
cdi_fsr
cdi_get_config
cdi_get_status
cdi_inq
cdi_load_unload
cdi_locate
cdi_offline
cdi_rewind
cdi_set_compression
cdi_space
cdi_ta
cdi_tapesize
cdi_tur
changers
dasadmin
ddmgr
EMASS_silo
erase
generate_test_tape
hadump
hafs
hagentd
hagetconf
haprune
hascsi
hasubmit
hasys
hpflip
IBM_silo
ielem
inquire
jbconfig
jbexercise
jbverify
ldunld
lgtolic
lgtolmd
libcdi
libscsi
libsji
libstlemass
libstlibm
libstlstk
lrescan
lreset
lus_add_fp_devs
lusbinfo
lusdebug
mini_el
mm_data
mminfo
mmlocate
mmpool
mmrecov
msense
mt
ndmpjbconf
networker
nsr (1)
nsr (5)
nsr_archive_request
nsr_client
nsr_crash
nsr_data
nsr_device
nsr_directive
nsr_getdate
nsr_group
nsr_ize
nsr_jukebox
nsr_label
nsr_layout
nsr_license
nsr_migration
nsr_notification
nsr_policy
nsr_pool
nsr_regexp
nsr_resource
nsr_schedule
nsr_service
nsr_shutdown
nsr_stage
nsr_storage_node
nsr_support
nsr_usergroup
nsradmin
nsralist
nsrarchive
nsrcap
nsrcat
nsrck
nsrclone
nsrcnct
nsrd
nsrexec
nsrexecd
nsrhsmck
nsrhsmclear
nsrhsmd
nsrhsmls
nsrhsmnfs
nsrhsmrc
nsrhsmrecall
nsrib
nsriba
nsrim
nsrindexasm
nsrindexd
nsrinfo
nsrjb
nsrlic
nsrls
nsrmig
nsrmm
nsrmmd
nsrmmdbasm
nsrmmdbd
nsrmon
nsrndmp_clone
nsrndmp_recover
nsrndmp_save
nsrpmig
nsrports
nsrretrieve
nsrssc
nsrstage
nsrtrap
nsrwatch
nwadmin
nwarchive
nwbackup
nwrecover
nwretrieve
pathownerignore
pmode
preclntsave
pstclntsave
read_a_block
recover
relem
resource
save
savefs
savegrp
savepnpc
scanner
sjiielm
sjiinq
sjimm
sjirdp
sjirdtag
sjirelem
sjirjc
sjisn
sn
ssi
stk_eject
STK_silo
stli
sym2xdm
tapeexercise
tur
uasm
writebuf
* - Windows Only
* mt
* nsrlpr
* nsrperf
hascsi
hascsi - Host Agent SCSI Devices information moduleSYNOPSIS
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 ]
DESCRIPTION
The hascsi program is used to collect a pre-defined set of SCSI device information for devices attached to the local host. The collected information is used to update a local RAP database or dumped to the standard output if -n option is selected. The set of information collected by hascsi is defined in an ASCII schema file specified by the -f option and has the default value schema/hascsi.sch. Each line in the schema file represents a single attribute and my have one or more values associated with it. Attributes other than resource type and version number are used to determine the type of information to be reported by hascsi. A given pieces of information will not be collected or reported if the associ- ated attribute is commented out with # or remove from the schema file. Note that attributes resource type and version number are part of every schema file and should not be removed or commented out. A schema file will be rejected if an essential attributes is missing or the value associated with the version number does not match that of hascsi. hascsi can be used to generate a fresh schema file using the -g option. The SCSI device information reported by hascsi is defined in the file hascsi.sch as follows: device type one of disk , cd-rom , tape , or autochanger. firmware revision level firmware revision level reported by the device. inquiry data inquiry data as reported by the device. bus target lun Logical Unit Number. access path path used to access the device via normal IO channels. scsi address SCSI address for the device. number of import/export units in the autochanger. number of slots number of slots in the autochanger. port base address address of the first import/export unit in the autochanger. slot base address address of the first slot in the autochanger. drive addresses address of the first drive in the autochanger. world wide number a unique id number reported by the device. serial number hardware serial number reported by the device.
OPTIONS
-f schema file Specifies the full path for the schema file associated with hascsi. When -f is not specified, the default schema file is automatically selected. Default schema file = ha/schema/hascsi.sch. -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 Net- Worker installation directory. Only one of -L or -l may be spec- ified - not both. If neither -L or -l is specified in the argu- ments 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. -n Dump the collected information to the standard output; do not update the local RAP database. -g Generate a new schema file for hascsi after renaming the old schema, if exists, to <name>.<date>.[1..] -h Display a brief help message; ignore all other options. -v Run in verbose mode.
EXAMPLES
Collect SCSI devices information and dump the result to the standard output, do not update the local RAP data base: hascsi -n able.
SEE ALSO
hasys(1) hafs(1)
ADVERTISEMENT
Legato NetWorker 7.xMan(1) output converted with man2html, sed, awk