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
nsrhsmck
nsrhsmck - check and correct consistency for an HSM-managed filesystemSYNOPSIS
nsrhsmck [ -cdfMv ] [ -s server ] path
DESCRIPTION
The nsrhsmck command checks and corrects consistency between HSM migrated files stored in NetWorker and on-disk files. There are three situations handled by nsrhsmck. The first situation occurs when a symbolic link is created that points to the same name in the NetWorker IB namespace as another symbolic link. This is known as the duplicated link case. The corrective action for a duplicated link is to replace the duplicate with another symbolic link. The replacement must point to the original symbolic link, and not directly into the NetWorker IB namespace. The second situation occurs when the stub pointing to a migrated file has been deleted. This is known as the possible delete case. The term "possible" is used here, because the stub may reappear at some later point in time, possibly if a recover of the stub is done using Net- Worker. The corrective action for a possible deletion is to mark the index entry for the migrated file as possibly deleted. Note that if a file marked as possibly deleted is detected on disk before the index entry can be deleted, the index entry will be unmarked as a possible deletion. The third situation handled by nsrhsmck is an index entry that is marked as a possible deletion, but has passed the 60-day expiration period. This is known as the expired delete case. The corrective action for this case is to remove the expired entries from the HSM file index. Before an entry is deleted from the HSM file index, a final check is made to make sure the file does not exist on disk. You must specify a path on the command line when nsrhsmck is run. Only files and index entries that fall under the path specified will be examined for consistency.
OPTIONS
-c Scans the HSM file index, and deletes index entries that are marked as possibly deleted but have passed the 60-day expiration period. -d Scans the HSM file index, and marks any possible deletions that are detected. -f Scans the filesystem on disk, and searches for duplicated links and relinks them. -M Master mode (not advised for manual operation). This advises nsrhsmck that it is being run by nsrexecd(1) or another Net- Worker daemon and should log messages with timestamps, and per- form any other behavior expected by nsrexecd. of output, and is not recommended for use in most situations.
DIAGNOSTICS
Exit Codes 0 Normal exit. 1 Abnormal exit.
SEE ALSO
nsr(5), nsr(1), nsr_migration(5), nsrexecd(1), nsrmig(1), nsrpmig(1)
ADVERTISEMENT
Legato NetWorker 7.xMan(1) output converted with man2html, sed, awk