20 February 2008

Basic (Useful) TSM Commands

Sometimes I need to analyse *something* in TSM (I'm very noob with TSM) and I never remember any commands




Basic (Useful) TSM commands


Analysing Logs
TSM> q actlog
Analysing DB TSM> q db
Analysing Storage Pool TSM> q stgpool
Analysing volumes inside the library TSM>q libvol
Analysing all volumes in Tape Storage Pool TSM> q vol devclass=ltoclass

Analysing backups in db (executed)

TSM> q volhist type=dbb


Write a label on a volume
TSM> run label “volume name”

Remove a volume from LTO TSM> run DISMOUNT “volume name”
Verify existing scripts TSM> q script

Verifying commands executed from one script
TSM> q script f=d
Verifying sessions TSM> q sess

Canceling a session
TSM>cancel sess “session number”
Show data from scheduled client on the current day TSM> q event * *

Show data from scheduled client on the next day
TSM> q event * * begind=+1

Show data from administrative schedule on the current day
TSM> q event * t=a

Show data from administrative schedule on the next day
TSM> q event * t=a begind=+1

Show process
TSM> q proc

Show Tape requisition
TSM> q req

Show a tape into the drive
TSM> q mount

9 comments:

  1. gopinath8.5.08

    very usefully commends......hands of to the one who did this

    ReplyDelete
  2. selva26.5.08

    very useful and easy god bless u

    ReplyDelete
  3. Jason K29.5.08

    Just what I was looking for...thank you.

    ReplyDelete
  4. Excellent. Handy information.

    Thanks and regards,
    P.S.MURALI

    ReplyDelete
  5. thangarajan22.4.09

    this is really helpful to me ,
    i want to learn more comments on tsm,help me in this

    thank u

    ReplyDelete
  6. very usefully commends……hands of to the one who did this

    ReplyDelete
  7. PARINATHAN12.10.09

    this is really helpful to me , thanks a lot.
    i want to learn more comments on tsm,help me in this

    ReplyDelete
  8. Rafi9.3.10

    Many thanks for your contribution.

    ReplyDelete
  9. It was really excellent i need some more regular used TSM commands
    can u guys provide

    ReplyDelete