Linux (RHELv5 if that matters)
*** from command line as root, this works fine...
# sh -c 'smartctl -H -d scsi -l error /dev/nst0'
smartctl version 5.36 [i686-redhat-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 2.003
0
write: 0 0 224 224 0 162.565
5
*** but within bacula-sd.conf ***
14-Jun 20:16 SRV1: Alert: smartctl version 5.36 [i686-redhat-linux-gnu]
Copyright (C) 2002-6 Bruce Allen
14-Jun 20:16 SRV1: Alert: Home page is
http://smartmontools.sourceforge.net/
14-Jun 20:16 SRV1: Alert:
14-Jun 20:16 SRV1: Alert: Standard Inquiry (36 bytes) failed [Operation
not permitted]
14-Jun 20:16 SRV1: Alert: Retrying with a 64 byte Standard Inquiry
14-Jun 20:16 SRV1: Alert: Standard Inquiry (64 bytes) failed [Operation
not permitted]
14-Jun 20:16 SRV1: Alert: Request Sense failed, [Operation not
permitted]
14-Jun 20:16 SRV1: Alert:
14-Jun 20:16 SRV1: Alert: Error Counter logging not supported
14-Jun 20:16 SRV1: 3997 Bad alert command: sh -c 'smartctl -H -T
permissive -T permissive -T permissive -d scsi -l error /dev/nst0':
ERR=Child exited with code 6.
(the multiple -T permissive commands were suggested)
*** is there something I can do to make this command work or do I have
to comment it out of conf file?
--
Craig White <craig < at > to...>
