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
mmlocate
mmlocate - NetWorker media location reporting commandSYNOPSIS
mmlocate [ -s server ] [ -l { -n volname | -i volid | location }] [ -L ] [ -d location ] [ -c { -n volname | -i volid }] [ -u { -n volname| -i volid| location }]
DESCRIPTION
The mmlocate command is used to access and manage the volume location information contained in the media database. The information contained in a volume's location field is meant to give the user an idea of where the volume can physically be found. Other NetWorker commands will dis- play the location along with the volume name (see the versions sub-com- mand of recover(1)). Any user can use this command with the -l (default) or -L options. The -c, -d and -u options are limited to Net- Worker administrators (see nsr(1)). -l is assumed by mmlocate if a -L, -c, -d or -u option is not specified. Running mmlocate without any arguments lists all volumes and their locations for the specified server (if you do not specify a server, the current host is used). Note that each time nsrjb(1) moves a piece of media inside a jukebox, the location of a volume is set to the name of the jukebox. When using storage nodes, the name of the jukebox is used to indicate on which node the volume can be mounted. Hence, the first portion of this field containing the jukebox name should not be changed. When using volumes on a storage node that are not contained within a jukebox, this field can be used to indicate on which node a volume should be mounted, by giving it a value of any remote device on that node. See nsr_storage_node(5) for additional detail on storage nodes.
OPTIONS
-c Clears the location field for the specified volume. -d location Deletes all volumes associated with the specified location. A confirmation prompt appears prior to the deletion of each vol- ume. -i volid Restricts the mmlocate operation to the specified volume ID (volid). -l Lists entries. Performs a database query using the supplied volume name, volume ID or location. If a volume name or volume id is given, then only the volume's location information is displayed. If a location is provided, then only volumes in that location are displayed. When the -l option is used without specifying any other options (volume name, volume id, or location), volumes without a set location are displayed. -u Updates the location for a volume. Locations are limited to a maximum length of 64 characters. The -n volname or -i volid and location options must be used in conjunction with the -u option.
EXAMPLES
Update the media database to show that volume Offsite.011 is now at location 'Media Vault' mmlocate -u -n Offsite.011 'Media Vault' Delete volumes at location 'Media Shelf 6' mmlocate -d 'Media Shelf 6' Delete location information for volume NonFull.001 mmlocate -c -n NonFull.001 List the location of volume NonFull.001 mmlocate -n NonFull.001 List all volumes stored in the location 'Media Vault' mmlocate 'Media Vault'
FILES
/nsr/mm/mmvolume The media database.
SEE ALSO
nsrmm(1), mminfo(1), nsr(1), nsrjb(1), recover(1) nsr_storage_node(5)
DIAGNOSTICS
Server server does not support remote update operations... If you are running mmlocate against an old server, you are not allowed to use the -u or -c options. You must login to that server and run the mmlocate program there.
ADVERTISEMENT
Legato NetWorker 7.xMan(1) output converted with man2html, sed, awk