On Mon, May 23, 2005 at 09:38:51AM -0500, Vicki Stanfield wrote:
> I relabeled a tape during the last run using this command:
>
> /usr/local/sbin/amlabel Progeny01 Progeny01-0039 slot 2
>
> The process finished and when I did an amtape Progeny01 show, the
> correct label appeared to be on the tape. Now when I try to reuse that
> same tape, amanda thinks it is labelel what it was previously labeled
> (Progeny01-0040). I tried to label it again,
>
> sudo -H su backup -c "/usr/local/sbin/amlabel Progeny01 Progeny01-0039
> slot 1"
> amlabel: label Progeny01-0039 already on a tape
I.e., you still have a tape 0039 in the tapelist.
Perhaps your first amlabel command above failed for the same reason.
Do an amrmtape to get rid of it (if you are sure you want to).
Another possibility is to use the "-f" option of amlabel.
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
|