Why don't you just check the volumes whose access is offsite and whose
status is empty ? This is what I do.  And to be sure that all volumes
present in library are in an readwrite status, I just put all the volumes
of the copypool in offsite state and then all the volumes of the libvol in
readwrite state. For that, I use a Shell script which is below.
The only thing which is special is that I only have private volumes and all
the volumes of my copy pool have a name starting with 'COP'
But I guess it wouldn't be very difficult to make a check on the libvol
volumes to select the ones which belong to the copy pool


#!/bin/ksh
LIBVOLS=$(dsmadmc -id=admin -pa=admin "select volume_name from libvolumes
where volume_name like 'C%'" | grep COP)
TOTVOLS=$(dsmadmc -id=admin -pa=admin "select volume_name from volumes
where volume_name like 'C%'" | grep COP)
for VOL in $TOTVOLS
do
     dsmadmc -id=admin -pa=admin "upd vol $VOL acc=offsite"
done
for VOL in $LIBVOLS
do
     dsmadmc -id=admin -pa=admin "upd vol $VOL acc=readw"
done

Etienne GUILLAUMONT
e-mail : [EMAIL PROTECTED]

RGB Technologie
Parc d'Innovation, Batiment PYTHAGORE
11 Rue Jean SAPIDUS
67400 ILLKIRCH
Tél :  03 90 40 60 60
Fax : 03 90 40 60 61


                                                                                       
                            
                    Henrik                                                             
                            
                    Wahlstedt            To:     [EMAIL PROTECTED]                  
                            
                    <shwl@STATOIL        cc:                                           
                            
                    .COM>                Subject:     missing volumes                  
                            
                    Sent by:                                                           
                            
                    "ADSM: Dist                                                        
                            
                    Stor Manager"                                                      
                            
                    <[EMAIL PROTECTED]                                                      
                            
                    RIST.EDU>                                                          
                            
                                                                                       
                            
                                                                                       
                            
                    29/08/02                                                           
                            
                    12:45                                                              
                            
                    Please                                                             
                            
                    respond to                                                         
                            
                    "ADSM: Dist                                                        
                            
                    Stor Manager"                                                      
                            
                                                                                       
                            
                                                                                       
                            




Hello,

I would like to know how to compare volume names in volumes and libvolumes
with a select statement. Or if there are other ways to determine missing
volumes? I use 4.1.3.0.

ex. I dont use DRM but I send my volumes offsite and update their access to
offsite. I bring back my volumes onsite, I do a checkin and an 'upd vol *
access=readw wherestg=copypool whereaccess=offsite wherestatus=empty'.

If the volumes arent checked in the library or by some reason still are
offsite when they are updated I will miss/need them sooner or later... How
do I find eventually missing volumes?

Dont suggest using DRM, I will if there is a need for that product (server
to server).


tia
\\Henrik

-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.

Reply via email to