You can also use the undocumented command "show ASMounted". Example:
tsm: TSM2.USWASH6>show asm Mounted (or mount in progress) volumes: Volume 2C0469(146693) --> SessId=305, Mode=Output, Use=?, ClassId=2, ClassName=3590, IsScratch=True, VolSeqNum=1, Pool=(0), Allocated=False, NextSeqNum=0, PosUncertain=True, Open=True, OpenInProg=False, MountMode=Read/Write, Reuse=Remove, IsFirstMount=True, IsEmpty=True, IsNewScratch=False, PreemptAccess=False, Waiters=0, TwoSided=False, SideSeqNum=-1 Michael French Savvis Communications IDS01 Santa Clara, CA (408)450-7812 -- desk (408)239-9913 -- mobile -----Original Message----- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Ted Byrne Sent: Tuesday, November 18, 2003 3:13 PM To: [EMAIL PROTECTED] Subject: Re: what tape is in a drive? How about using query mount? -Ted At 04:15 PM 11/18/2003 -0600, you wrote: >TSM 5.1, 2K server, overland neo 4100 with 2 X LTO2 drives. > >I'm trying to find a select or query statment that will tell me what >volume is in a drive. The only thing close is the drive_state in the >drives table, but that only tells me if it is loaded or not, whereas I >need to know what volume is in there. > >Any idea? Seems simple enough, but I couldn't find it. > >Thanks, > >Alex
