ent and query schedule commands.) q status begin eventlogging q dbspace q log or q log f=d (You can query the scheduled events using the query ev
q vol history q drive q vol q libvolume q stgpool q process q session q node f=d q mgmt * * f=d
Query Commands
q actlog search=abc q node f=d q libvol ###### Ex (q libvol abclib M50011) q vol ##### to check a tape #####Ex (q vol M50011) q drmedia q mount q proc q sess f=d q path q drive
q copy ntserver active * f=d q req ( checkin/checkout) q event * t=a ### to checker the status of scheduled events query library f=d query drive f=d query path f=d query libv f=d query occu q mgmt * * f=d
Update Path/Drive
>select stgpool_name, count(*) from volumes where pct_reclaim>69 group by stgpoo l_name
to stop the reclaim set the storage pooll back. >update stg <storagePoolname> recl=100
Misc Commands
move drmedia tapeNumber wherest=mount tostate=notmo move drmedia tapeNumber wherest=notmo tostate=vault move drmedia tapeNumber wherest=vault tostate=onsiter
note
If you run
q drmedia
VAULT RETRIEVE .
Here is what to do Review Then run >move drm VOLUME_NUMBER tostate=onsiter on each, then put them into library. Next time Operations runs checkin1.sh script, they become scratch tapes. checkin.sh script.
Server command: > 'select domain_name, node_name, date(lastacc_time) as LASTACC_DATE, time(lasta cc_time) as LASTACC_TIME from nodes where lastacc_time < timestamp(current date - 7 day,'00:00:00') order by lastacc_date, domain_name, node_name`
You need to run the 'Audit Volume' command with fix=yes parameter. This will del ete the file that is damaged from the TSM database >audit volume <volumeName> fix=yes
To restore files from damaged volume(tape) run restore volume or restore STGpool command.
>checkout libvol <library_name> <volume_name> checkl=no >checkin libvol <library_name> <volume_name> status=private owner=<tape owner>
To import data from another TSM server. register the node in TSM server, place the tape into the Library then run "check in" command on the tape.
checkin libv <library_name> <tape> status=private checklabel=yes Ex: >checkin libv MLIB01 P1049L3 status=private checklabel=yes
search for request number (ex:002). ANR8352I Requests outstanding: ANR8323I 002: Insert ANY volume PM1000 R/W into entry/exit port of library MLIB01 within 60 minute(s); issue 'REPLY' along with the request ID when ready.