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

And then I run the amtape show again, and it says the label is what it was before:

sudo -H su backup -c "/usr/local/sbin/amtape Progeny01 show"
amtape: scanning all 2 slots in tape-changer rack:
slot 1: date 20050419 label Progeny01-0038
slot 2: date 20050418 label Progeny01-0040

What am I doing wrong?

Vicki

Reply via email to