>>>>> On Tue, 25 Jun 2024 18:16:42 +0200, Stefan G Weichinger said:
> 
> Am 25.06.24 um 17:43 schrieb Martin Simmons:
> >>>>>> On Tue, 25 Jun 2024 12:59:03 +0200, Stefan G Weichinger said:
> >>
> >> I see various issues, maybe related to defective tapes also.
> >>
> >> Volumes that are in mode "Append" are loaded and not written to as in:
> >>
> >>
> >> 25-Jun 12:52 samba-sd JobId 2840: 3304 Issuing autochanger "load Volume
> >> CMR945L6, Slot 6, Drive 0" command.
> >> 25-Jun 12:52 samba-sd JobId 2840: 3305 Autochanger "load Volume
> >> CMR945L6, Slot 6, Drive 0", status is OK.
> >> 25-Jun 12:53 samba-sd JobId 2840: Volume "CMR945L6" previously written,
> >> moving to end of data.
> >> 25-Jun 12:53 samba-sd JobId 2840: Warning: For Volume "CMR945L6":
> >> The number of files mismatch! Volume=350 Catalog=349
> >> Correcting Catalog
> >> 25-Jun 12:53 samba-sd JobId 2840: [SI0202] End of Volume "CMR945L6" at
> >> 350:1 on device "HP-Ultrium" (/dev/nst0). Write of 262144 bytes got -1.
> >> 25-Jun 12:53 samba-sd JobId 2840: Re-read of last block succeeded.
> >> 25-Jun 12:53 samba-sd JobId 2840: End of medium on Volume "CMR945L6"
> >> Bytes=1,310,721 Blocks=1 at 25-Jun-2024 12:53.
> >> 25-Jun 12:53 samba-sd JobId 2840: 3307 Issuing autochanger "unload
> >> Volume CMR945L6, Slot 6, Drive 0" command.
> >> 25-Jun 12:54 samba-sd JobId 2840: 3304 Issuing autochanger "load Volume
> >> CMR915L6, Slot 5, Drive 0" command.
> >>
> >>
> >> I "Purge" them, mark them as "Append" ... doesn't work.
> > 
> > Don't manually mark them as "Append" because that tells Bacula to wind 
> > forward
> > to the end of the data before writing.  The "Purge" operation just affects 
> > the
> > catalog, not the data on the tape.
> >   
> > If configured correctly, Bacula should automatically reuse tapes that have
> > been marked as purged (either explicitly marked or implicitly after the
> > retention time has expired).
> 
> So I only "Purge" a "Full" tape?

No, you can purge a volume in "Append", "Full" "Used" or "Error" state.

Bacula sets the "Used" status if a tape reaches its "Volume Use Duration".

I suggest looking at
https://www.bacula.org/15.0.x-manuals/en/main/Automatic_Volume_Recycling.html


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to