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
cdi_ta
cdi_ta - get TapeAlert information from or set TapeAlert on a tape deviceSYNOPSIS
cdi_ta -f device [ -d ] [ -i interval ] [ -l ] [ -m MRIE ] [ -n test- flag ] [ -s ] [ -v ] [ -t { s | t | g | n | m | i } ]
DESCRIPTION
The cdi_ta program gets from or sets TapeAlert information on a tape device. The cdi_ta program also returns the status of the named SCSI device (specified by the -f option). Note that not all devices support the TapeAlert feature. If the device does not support the TapeAlert feature or the TapeAlert data returned by the device is invalid, cdi_ta will return the status CDI_IOCTL_ERROR (11). The set TapeAlert opera- tion is currently not functional.
OPERANDS
-f device Specifies the device to send the ta SCSI command to.
OPTIONS
-d Set the DExcept field to 1. If set to 1, disable all informa- tional exception operations and ignore the MRIE field. The software must poll the TapeAlert log page. The default value for the DExcept field is 0. -i interval Set the interval timer for reporting exception conditions. If interval is set to 0, report informational exception conditions only once. The default value for the interval timer is 0. -l Set what types of exception conditions are logged. If set to 0, which is the default, log only vendor specific exception condi- tions. This flag sets the log error condition to 1. The default is 0. -m MRIE Define the method used to report informational exception condi- tions. Values of 0x0 through 0x5 for the MRIE are defined as: VALUE METHOD 0x0 No reporting 0x1 Asynchronous event reporting 0x3 Conditionally generate recovered error 0x4 Unconditionally generate recovered error 0x5 Generate no sense 0x6 Only report informational exception conditions on request Currently, only value 0x0 is supported. The default value for the MRIE field is 0. -n testflag Set or clear the TapeAlert test flag in the log page. If testflag will get TapeAlert data. -t Use the -t option to specify the method of tape functions to use for the get/set TapeAlert SCSI command. If the -t option is not specified, the default method is to use the OS tape driver SCSI passthrough functions. Please refer to the libcdi (1) manpage for the complete list of access methods currently supported by the cdi_ta program. -v Run the program in verbose mode. This option will print out the version number of the CDI library used by the program.
EXAMPLES
Sample output including drive status information: % cdi_ta -f /dev/rmt/2cbn CDI Get_TapeAlert returns: (only flags that are SET will be shown) Tape Critical flags: Tape Warning flags: Tape Information flags: Changer Critical flags: Changer Warning flags: Changer Information flags: _info.drivestat is: status = 1, DRIVE_STATUS_NO_ERROR msg = Drive reports no error - but state is unknown
SEE ALSO
libcdi(1)
ADVERTISEMENT
Legato NetWorker 7.xMan(1) output converted with man2html, sed, awk