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
generate_test_tape
generate_test_tape - perform generates a test tape for diagnostic pur- poses.SYNOPSIS
generate_test_tape -f device [ -z blocksize ] [ -s filesize ] [ -b maxblocks ] [ -m maxfiles ] [ -v ]
DESCRIPTION
The generate_test_tape program generates a test tape mounted on a device for diagnostic purposes. 32 KB blocks are first written to the tape mounted on the device, with a filemark at every N number of blocks it has completed writing the total number of blocks specified by the user, or till it reaches end of tape.
OPERANDS
-f device Specifies the device to generate the test tape on.
OPTIONS
-b maxblocks Use the -b option to specify the maximum number of blocks to write to tape. The value of maxblocks must be greater than 0. If the -b and the -m options are not specified, the program will write to the end of tape or till a write error is encountered. -m maxfiles Use the -m option to specify the maximum number of files to write to tape. The value of maxfiles must be greater than 0. If the -b and the -m options are not specified, the program will write to the end of tape or till a write error is encountered. -s filesize Use the -s option to specify the file size (in number of blocks) to write to tape. The value of filesize must be greater than 0. The default file size is 1000 32KB blocks. -sz blocksize Use the -s option to specify the block size (in number of 1KB) to write to tape. The value of blocksize must be greater than 0. The default block size is 1000 32KB. -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: % generate_test_tape -f /dev/rmt/3cbn -b 20 -s 2 -v ready to fill tape on QUANTUM DLT7000 using device file /dev/rmt/2cbn each tape record will be 32768 bytes a filemark will be written every 2 records the process will end when 20 total records have been written to the tape block = 1. Buffer = 1 1 1 1 block = 7. Buffer = 7 7 7 7 |FM| block = 8. Buffer = 8 8 8 8 block = 9. Buffer = 9 9 9 9 |FM| block = 10. Buffer = a a a a block = 11. Buffer = b b b b |FM| block = 12. Buffer = c c c c block = 13. Buffer = d d d d |FM| block = 14. Buffer = e e e e block = 15. Buffer = f f f f |FM| block = 16. Buffer = 10 10 10 10 block = 17. Buffer = 11 11 11 11 |FM| block = 18. Buffer = 12 12 12 12 block = 19. Buffer = 13 13 13 13 |FM|
SEE ALSO
libcdi(1)
ADVERTISEMENT
Legato NetWorker 7.xMan(1) output converted with man2html, sed, awk