Re: How amanda deals with write-protected tapes?

2012-10-02 Thread Attila Bogár
Hi Jean-Louis, On 01/10/12 16:13, Jean-Louis Martineau wrote: So the bug is that amanda reported: These dumps were to tape Daily-24. which is not true since amanda did not succeed to write to it. Not exactly as I see the how many data is left on the holding disk after these reports. I'd

Re: How amanda deals with write-protected tapes?

2012-10-02 Thread Jean-Louis Martineau
On 10/02/2012 04:58 AM, Attila Bogár wrote: Hi Jean-Louis, On 01/10/12 16:13, Jean-Louis Martineau wrote: So the bug is that amanda reported: These dumps were to tape Daily-24. which is not true since amanda did not succeed to write to it. Not exactly as I see the how many data is left on

Re: How amanda deals with write-protected tapes?

2012-10-02 Thread Attila Bogár
Hi Jean-Louis, On 02/10/12 13:30, Jean-Louis Martineau wrote: I'd refine the bug: amanda flushes to the write-protected tape, the dump is removed from the holding disk (of course it's not on tape), reports the dump were to Daily-24 and re-expects the same tape. Amanda flushed nothing to

Re: Negative Tape utilization?

2012-10-02 Thread Jean-Louis Martineau
Guy, The reporting issue in amstatus (reporting negative value) is already fix, check the svn tree. I'm surprised that you complain about a small amstatus reporting issue but not about the fact that your backup failed, you should have at least posted the error from the email report. I

Re: How amanda deals with write-protected tapes?

2012-10-02 Thread Jean-Louis Martineau
Attila, The attached patch fix amstatus and amdump to report that the tape is write protected. I do not have a tape drive on hand so I can't test it. I appreciate if someone can test it. Jean-Louis On 10/02/2012 08:46 AM, Attila Bogár wrote: Hi Jean-Louis, On 02/10/12 13:30, Jean-Louis

Re: How amanda deals with write-protected tapes?

2012-10-02 Thread Jean-Louis Martineau
On 10/02/2012 10:10 AM, Jean-Louis Martineau wrote: Attila, The attached patch fix amstatus and amdump to report that the tape is write protected. I mean amcheck and amdump. I do not have a tape drive on hand so I can't test it. I appreciate if someone can test it. Jean-Louis On