ADSM-L

Re: How many scratch volumes in library?

2001-10-18 15:04:05
Subject: Re: How many scratch volumes in library?
From: Lisa Cabanas <CABANL AT MAIL.MODOT.STATE.MO DOT US>
Date: Thu, 18 Oct 2001 14:11:10 -0500
create this cmd file in your baclient subdirectory (for Windows clients),
and just type in

count scratch adsmservername

and it will return the number of tapes

echo off
if "%1"=="courier" GOTO courier
if "%1"=="vaultr" GOTO vaultr
if "%1"=="vault" GOTO vault
if "%1"=="scratch" GOTO SCRATCH
if "%1"=="private" GOTO PRIVATE
GOTO end
:vault
dsmadmc -id=userid -pass=passwd -tcpserveraddress=%2 q drm > count.txt
find /c "Vault" count.txt
GOTO END
:SCRATCH
dsmadmc -id=userid -pass=passwd -tcpserveraddress=%2 q libv > count.txt
find /c "Scratch" count.txt
GOTO END
:PRIVATE
dsmadmc -id=userid -pass=passwd -tcpserveraddress=%2 q libv > count.txt
find /c "Private" count.txt
GOTO END
:vaultr
dsmadmc -id=userid -pass=passwd -tcpserveraddress=%2 q drm > count.txt
find /c "Vault retrieve" count.txt
GOTO END
:courier
dsmadmc -id=userid -pass=passwd -tcpserveraddress=%2 q drm > count.txt
find /c "Courier retrieve" count.txt
:END

lisa




"Dearman, Richard" <rdearm1 AT UIC DOT EDU>
10/17/2001 05:19 PM
Please respond to "ADSM: Dist Stor Manager"


        To:     ADSM-L AT VM.MARIST DOT EDU
        cc:     (bcc: Lisa Cabanas/SC/MODOT)
        Subject:        How many scratch volumes in library?



How can I find out quickly how many scratch volumes I have in my library?

Thanks
***************************EMAIL  DISCLAIMER**************************
This e-mail and any files transmitted with it may be confidential and are
intended solely for the use of the individual or entity to whom they are
addressed.   If you are not the intended recipient or the individual
responsible for delivering the e-mail to the intended recipient, any
disclosure, copying, distribution or any action taken or omitted to be
taken
in reliance on it, is strictly prohibited.  If you have received this
e-mail
in error, please delete it and notify the sender or contact Health
Information  Management (312) 996-3941.
<Prev in Thread] Current Thread [Next in Thread>