Hi Bruno. Nope, i don't use this option. My bacula version is 5.0.3.
Is ActionOnPurge=Truncate the default behavior ? i have no override on this, so if it's default, it could be that. I have several tape that are waiting for rotation because of the "bad label" tape blocking issue, but the other seems to be not corrupted yet. I guess, some of those tape should be reuse as well as soon the situation is solved, but as i don't have any people working those day, having the whole system blocked is a good opportunity to try solving the problem correctly. if i add ActionOnPurge=None on all my pool, will it propagate to my "waiting to be recycle" volumes or will i have to do something special ? How should i do a test run with that without waiting for the next recycling problem, which can occurs in a month or so ? Below is my pool conf file: Pool { Name = AllIncrementals Label Format = "Incr" Cleaning Prefix = "CLN" Pool Type = Backup Recycle = yes AutoPrune = yes Storage = gozer-sd_on_Batcave Volume Retention = 1 months } Pool { Name = AllDifferentials Label Format = "Diff" Cleaning Prefix = "CLN" Pool Type = Backup Recycle = yes AutoPrune = yes Storage = gozer-sd_on_Batcave Volume Retention = 1 months } Pool { Name = AllFulls Label Format = "Full" Cleaning Prefix = "CLN" Pool Type = Backup Recycle = yes AutoPrune = yes Storage = gozer-sd_on_Batcave Volume Retention = 2 months Maximum Volume Jobs = 2 } Pool { Name = CatalogFulls Label Format = "Full" Cleaning Prefix = "CLN" Pool Type = Backup Recycle = yes AutoPrune = yes Storage = gozer-sd_on_Batcave Volume Retention = 2 months } # Default pool definition Pool { Name = Default Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year } # Scratch pool definition Pool { Name = Scratch Pool Type = Backup } Le 6 déc. 11 à 17:11, Bruno Friedmann a écrit : > On 12/06/2011 11:35 AM, David Vandergucht wrote: >> Hi there. >> >> I have a very cool Bacula installation on gentoo, backuping on a dell >> PV 124T with LTO5 tape. >> Everything works ok... almost. >> >> I have no problem backuping and restoring over several volume. >> >> However i get trouble when come the time to recycle tape. Bacula try >> to recycle tape, and that's ok with me. But when it tries, i don't >> know what's happening but it seems it detroys the tape header (with >> the volume name on it). >> >> For instance, a tape name is flagged to be recycled. so far i can >> read >> the tape header using btape /dev/nst0 and: >> >> -- flag as recycle, but not tried yet -- >> *readlabel >> btape: btape.c:528 Volume label read correctly. >> >> Volume Label: >> Id : Bacula 1.0 immortal >> VerNo : 11 >> VolName : 000017L5 >> PrevVolName : >> VolFile : 0 >> LabelType : VOL_LABEL >> LabelSize : 164 >> PoolName : AllIncrementals >> MediaType : LTO-5 >> PoolType : Backup >> HostName : gozer >> Date label written: 21-Mar-2011 01:29 >> >> This tape is FLAGGED, but has not been tried to be reused yet. >> >> Now here is a tape that has been tried to be reuse: >> >> -- flag as recycle and tried to be -- >> *readlabel >> 06-Dec 12:07 btape JobId 0: Error: block.c:1002 Read error on fd=3 at >> file:blk 0:0 on device "Batman" (/dev/nst0). ERR=Input/output error. >> btape: btape.c:525 Volume has no label. >> >> Volume Label: >> Id : **error**VerNo : 0 >> VolName : >> PrevVolName : >> VolFile : 0 >> LabelType : Unknown 0 >> LabelSize : 0 >> PoolName : >> MediaType : >> PoolType : >> HostName : >> Date label written: -4712-01-01 at 00:00 >> * >> >> Clearly, it seems that my bacula is erasing the label on the tape at >> some point, and then is unable to reuse it. >> >> What's wrong with me ? >> So far, the only thing i've been able to do was to destroy the volume >> completly in the database and create a new one with the same label, >> as >> bacula just don't agree with relabeling a tape with a name which is >> already in the DB. This is not really what i think about Automatic >> recycling. >> >> Please help me ! >> >> > > Are you using truncate after purge ? > http://www.bacula.org/5.2.x-manuals/en/main/main/New_Features_in_5_0_1.html#SECTION00910000000000000000 > > Could explain what you see on your tape > Truncate is usefull (if any) for File > > > > -- > > Bruno Friedmann > Ioda-Net Sàrl www.ioda-net.ch > > openSUSE Member & Ambassador > GPG KEY : D5C9B751C4653227 > irc: tigerfoot > > ------------------------------------------------------------------------------ > Cloud Services Checklist: Pricing and Packaging Optimization > This white paper is intended to serve as a reference, checklist and > point of > discussion for anyone considering optimizing the pricing and > packaging model > of a cloud services business. Read Now! > http://www.accelacomm.com/jaw/sfnl/114/51491232/ > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- David Vandergucht dav....@gmail.com ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users