On Tue, May 25, 2010 at 11:33 AM, Gunnarsson, Gunnar <[email protected]> wrote: > I've tested the tape drivers and they seems to be working fine, how does > drivers detect end of tape. This seems to be a specific Solaris issue ?
Amanda detects EOT by counting any error as an EOT indication. What's happening in the current version of Amanda is that that error condition (internal to the Amanda code, not in the kernel) is not being cleared, so the device refuses to do anything else, such as rewinding and rewriting the tape label. I've fixed it up, and run a complete test on one of my tape drives. The fix is here: http://github.com/djmitche/amanda/commit/amtapetype and will (I hope) be in the much-delayed 3.1 release. Dustin -- Open Source Storage Engineer http://www.zmanda.com
