TSM cheatsheet

Clean up volumes, moving data first

  1. Set volume readonly: upd vol /tsmdata/stg1/filepool/01301.dsm acc=reado
  2. Move data from the volume: move data /tsmdata/stg1/filepool/01301.dsm w=y
  3. Delete the volume: del vol /tsmdata/stg1/filepool/01301.dsm
  4. Delete the volume from the underlying file system (linux example here): rm -f /tsmdata/stg1/filepool/01301.dsm

All this could be scripted if multiple volumes should be cleaned up to free space on underlying file system.

Backup database

ba db t=f dev={deviceclass} (example: file_dbb)

Leave a Reply