On 3 Aug 2007 at 11:00, John Drescher wrote: > > Hi John/All. > > > > Thanks John for your prompt response. > > > > Is there any solution for this case, or should I replace this tape > > with a new one? Since it is not convenient to use the btape command > > and loosing all the data on the tape. > > > > When a tape is in Error status you can not append. To reuse the tape > you must recycle the tape (removing any backup jobs on the tape) if > you want to add data to the tape.
I can see how this advice applies to this situation. IIRC, the server crashed while data was being added to the tape. Not that I think John meant this, but least anyone conclude that in all cases: status == ERROR means you must recyle, it does not. Sometimes the status gets set to ERROR and you can simply reset the status to APPEND (via the bconsole command: UPDATE VOLUME). This used to happen regularly when three was a VOLUME FILES count error (the Catalog would think there were 6 files in the Volume, when the real count was something else; e.g. 3 or 7). In this particular case, there is a good chance that the data on the tape is corrupted or incomplete. This could be tested by running a restore on the tape. For Hisham WAKED, if there is data on the tape you wish to retain (e.g. other backups), you could use UPDATE VOLUME to mark the tape as FULL (thus making it unavailable for future backups). The tape would then go through the regular retention period mechanisms and come up for recycling in the fullness of time. Your choice... -- Dan Langille - http://www.langille.org/ Available for hire: http://www.freebsddiary.org/dan_langille.php ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bacula-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
