Hello,
Learning bacula so this may be a basic question, but I can't find a way to get
it done. In the morning, I had labeled the tapes manually, for example
bacula1, bacula2 etc. Then I realized I could use barcode. So I went about
purging and them relabeling the tapes.
One of the tables however don't show up when I type "list media". The system
has 8 tapes, but only 7 show up now. Why is this? I had assumed its on the
drive, but even if I load a different tape, the 8 tape wouldn't show up on the
list.
This is the approach I took:
*label barcodes slot=1
Automatically selected Storage: File
Connecting to Storage daemon File at eng-backup02.eng.perasotech.com:9103 ...
3306 Issuing autochanger "slots" command.
Device "SuperLoader3" has 8 slots.
Connecting to Storage daemon File at eng-backup02.eng.perasotech.com:9103 ...
3301 Issuing autochanger "loaded? drive 0" command.
3302 Autochanger "loaded? drive 0", result is Slot 1.
3306 Issuing autochanger "list" command.
The following Volumes will be labeled:
Slot Volume
==============
1 000315L6
Do you want to label these Volumes? (yes|no): yes
Defined Pools:
1: Default
2: File
3: Scratch
Select the Pool (1-3): 2
Connecting to Storage daemon File at eng-backup02.eng.perasotech.com:9103 ...
Sending label command for Volume "000315L6" Slot 1 ...
3920 Cannot label Volume because it is already labeled: "BACULA1"
Label command failed for Volume 000315L6.
*
*
*purge volume=BACULA1
This command can be DANGEROUS!!!
It purges (deletes) all Files from a Job,
JobId, Client or Volume; or it purges (deletes)
all Jobs from a Client or Volume without regard
to retention periods. Normally you should use the
PRUNE command, which respects retention periods.
sql_get.c:1094 Media record for Volume "BACULA1" not found.
*purge slot=1
What is the proper way of overcoming this issue?
Regards,
William
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users