Hello, Nice tip. smartctl has much better info than tapeinfo, so I have added it to the default bacula-sd.conf file.
On Sunday 04 March 2007 09:20, Stephen Kitt wrote: > Hi, > > There was a discussion recently about retrieving tape error counts at the > end of a job; I actually do this already, using smartctl: > > Alert Command = "sh -c 'smartctl -H -l error %c'" > > This retrieves any TapeAlert info and error counts from the tape drive: > > smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen > Home page is http://smartmontools.sourceforge.net/ > > TapeAlert: OK > > Error counter log: > Errors Corrected by Total Correction Gigabytes > Total ECC rereads/ errors algorithm processed > uncorrected fast | delayed rewrites corrected invocations [10^9 > bytes] errors read: 0 0 0 0 0 > 0.000 0 write: 0 0 0 0 > 147 0.000 0 > > (Line wrapping might mess this up...) > > Regards, > > Stephen > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users