On Sunday, August 2, 2015 at 9:34:30 AM UTC+1, Marco van Wieringen wrote: > On 08/ 2/15 10:01 AM, Jalil wrote: > > Why Bareos/Bacula write label while I've already labeled it? > > > > "Wrote label to prelabeled Volume "Volume01" on device "Device01" > > (/dev/nst0)" > > > Cause it works like that by design. But to feed your curiosity ... > > The code says this: > > /* > * See if we have a fresh tape or a tape with data. > * > * Note, if the LabelType is PRE_LABEL, it was labeled > * but never written. If so, rewrite the label but set as > * VOL_LABEL. We rewind and return the label (reconstructed) > * in the block so that in the case of a new tape, data can > * be appended just after the block label. If we are writing > * a second volume, the calling routine will write the label > * before writing the overflow block. > * > * If the tape is marked as Recycle, we rewrite the label. > */ > > So a volume is labeled regardless if its a clean new one e.g. > having PRE_LABEL or when its recycled after its retention expired. > > -- > Marco van Wieringen [email protected] > Bareos GmbH & Co. KG Phone: +49-221-63069389 > http://www.bareos.com > > Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 > Komplementär: Bareos Verwaltungs-GmbH > Geschäftsführer: Stephan Dühr, M. Außendorf, J. Steffens, > P. Storz, M. v. Wieringen
Thank you Marco for the clarification. -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
