IBM Support

Session in MediaW

Question & Answer


Question

When a session on the Tivoli Storage Manager Server is in a MediaWait, is it possible to determine why the session is in a wait state?

Cause

Detail explaining the reason for a session being in a Media wait can be found using the format=detail option (f=d) on the query session command.

Answer

The output from the Admin command query session f=d displays the media access status of a session. This field can give additional information about what a session in a media wait is waiting for.

For Example the output below shows session 33 waiting for a mount point in device class FILE:
Sess Number: 33
Comm. Method: Tcp/Ip
Sess State: MediaW
Wait Time: 4.0 M
Bytes Sent: 486
Bytes Recvd: 4.8 M
Sess Type: Node
Platform: WinNT
Client Name: ROMA
Media Access Status: Waiting for mount point(s): FILE,(239 Seconds)
User Name:
Date/Time First Data Sent: 07/23/2007 10:08:52

The output belows shows session 39 is waiting for a specific volume to become available:
Sess Number: 39
Comm. Method: Tcp/Ip
Sess State: MediaW
Wait Time: 7 S
Bytes Sent: 371
Bytes Recvd: 102.8 M
Sess Type: Node
Platform: WinNT
Client Name: ROMA
Media Access Status: Waiting for output volume(s): E:\00000026.BFS,(7 Seconds)
User Name:
Date/Time First Data Sent: 07/23/2007 10:26:37

[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Server","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Supported Versions","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Product Synonym

TSM

Document Information

Modified date:
17 June 2018

UID

swg21110518