Hello,

I got a problem with one tape which have a corrupt label so
bacula cannot mount them.
I checked with btape too: readlabel could not found the
original label.

The tape is in use of my weekly backups.

Now my serious problem:
A job has been startet.
Bacula has loaded the tape an wants to mount it. But it cannot
because of the label was not found.
Now bacula wait and wait and wait..so I must cancel the jobs
which will go on these tape. I think auto cancel of the job I can
configure on job level.

To reread which tape is in which port I have updated the media list
by an

umount
update slots scan. At Slot 6 which contains the corrupt tape I got a
message.

A update slots=6 scan again said:

Could not unserialize Volume label: ERR=label.c:775 Expecting Volume
Label, got FI=SOS_LABEL Stream=141 len=162.

Here a problem:

But the tape will be still loading at next backup so I have now disabled
the volume which should contains the slot.

1. Is there a way to use an Error status instead of an disabling? (Not
   important but shows that there is a problem with this tape).
   Disabled status tapes could not purge, later.

2. Because of the corrupt label I think all backups stored on the tape
   and the following incrementals are no more readable so I want to
   purge/prune them. I did this without any problem after setting the
   status back to Full. Any other idea?

3. Here I found possible an bug:
   I have to delete the volume so I used update which didn't helped me:

*update
Update choice:
     1: Volume parameters
     2: Pool from resource
     3: Slots from autochanger
Choose catalog item to update (1-3): 3
The defined Storage resources are:
     1: File
     2: Libra-8
Select Storage resource (1-2): 2
Connecting to Storage daemon Libra-8 at spaceetch.privatnet:9103 ...
Connecting to Storage daemon Libra-8 at spaceetch.privatnet:9103 ...
3306 Issuing autochanger "slots" command.
Device "Libra-8" has 8 slots.
Connecting to Storage daemon Libra-8 at spaceetch.privatnet:9103 ...
3306 Issuing autochanger "list" command.
No Volumes found to label, or no barcodes.

  So I used different one to check how I can delete the volume from
  the database. A update than slots didn't helped me.

  Any idea how I can delete the media from bacula?

4. update command can move a volume to an slot number which didn't
  exist on the tape library (12 for example). Not dau friendly :-)



MfG...
Pierre Bernhardt




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to