TSM Commands
TSM Commands
q dr
2. If you are at TSM Server 5.1.1.5 or above, you need to check the paths to the
drive and library are online
q path
3. Check the status of the tape library.
q libvol
4. Check the drive's are mounting and dismounting tapes ok, first find the devic
e names then search the activity log.
q dr f=d
q act s=rmt1 begint=-3
5. Check the storage pools are not nearing capacity
q stg
6. Check the copy storage pools are synchronized with Offsite Tapepools
select stgpool_name,sum(physicaL_mb) from occupancy group by stgpool_
name
7. Check database and recovery log statistics.
q db
q log
8. Verify that database and recovery log volumes are online and synchronized.
q dbvol
q logvol
9. Check the status of disk volumes. If any are offline, check for hardware prob
lems.
q volume devclass=disk
10. Check the Backups status.
q eve * * begind=-1
q eve * t=a begind=-1
11. Check the activity log for error messages
q actlog search=ANR????S begind=-1
12. Verify that scheduled database backups completed successfully.
q volhistory type=dbbackup
or
q act s=dbbackup begind=-1
13. Check the connections on the server. Have you approved a change for any adho
c restores/backups?
Have any connecting been hanging for a long amount of tim
e?
q sess
14. Check to make sure admin ids and nodes are not locked
q admin
or
q node
select admin_name from admins where locked='YES'
select node_name from nodes where locked='YES'
15. Check the Scratch volume names.
select volume_name from libvolumes where status='Scratch'
select count(*) from libvolumes where status='Scratch'
16. Check the Tapes coming from offsite.
q drm wherestate=MOUNTABLE
17. To Checkout DRM volumes
move drm <volumename> tostate=vault
18. To Checkin volumes in Library
checkin libv <libraryname> search=yes status=scratch checklabel=barcode
22. To restore the file , which is deleted by the client and wants in the file t
o be in original place
dsmc restore "file path" -pick -inac -subdir=yes
23. To restore the file , which is deleted by the client and if you want to rest
ore at different location
dsmc restore "original path" "destination path" -pick - inac -subdir=yes