ADSM-L

Re: [ADSM-L] Unable to delete volhist entries

2007-10-01 07:46:29
Subject: Re: [ADSM-L] Unable to delete volhist entries
From: CAYE PIERRE <Pierre.Caye AT ALCATEL-LUCENT DOT FR>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Mon, 1 Oct 2007 13:39:59 +0200
In the help of del volh command, you can find :

     DBSnapshot
          Specifies to delete only records that contain information about
          volumes used for snapshot database backups, and that meet the
          specified date and time criteria. The latest snapshot database
          backup will not be deleted.
          DEVclass=classname
               Specifies the device class name that was used to create the
               database backups. This optional parameter can be used to
               delete database backups created using a server-to-server
               virtual volume device class. The type of the device class
               must be SERVER. This parameter can only be used to delete
               volume history entries of type BACKUPFULL, BACKUPINCR, or
               DBSNAPSHOT.

               A full, incremental, or snapshot database backup volume is
               eligible to be deleted if all of the following conditions are
               met:
                  + The device class used to create the database backup
                    volume matches the specified device class
                  + The volume was created on or before the specified date
                    and time
                  + The volume is not part of the latest full plus
                    incremental database backup series if the specified
                    volume type is DBBackup, or snapshot database backup
                    series if the volume type is DBSnapshot
 
You can try :

del volh t=dbs force=y tod=today

Regards,

Pierre Cayé

> -----Message d'origine-----
> De : ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] De 
> la part de Richard Sims
> Envoyé : lundi 1 octobre 2007 13:18
> À : ADSM-L AT VM.MARIST DOT EDU
> Objet : Re: [ADSM-L] Unable to delete volhist entries
> 
> On Oct 1, 2007, at 4:48 AM, Otto Chvosta wrote:
> 
> > ...   ANR2467I DELETE VOLHISTORY: 0 sequential volume history
> > entries were
> > successfully deleted.
> >
> > Any suggestions how to delete the entries ?
> 
> Otto -
> 
> There is really one entry, for a single backup series (#2), 
> consisting of multiple volumes.  As TSM documentation says, 
> it doesn't want you to destroy your last/only database 
> backup.  (See Technote 1083952.)  You could supplant the old 
> snapshot with a new one, or try adding FORCE=Yes to the delete.
> 
>     Richard Sims     http://people.bu.edu/rbs/
>