On Fri, 2007-06-15 at 21:06 +0200, Andreas Helmcke wrote: > Hello, > > Craig White wrote: > > 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/ > > > > [...] output cut > > > > *** 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? > > > > Your error messages look a bit strange to me, but nonetheless I would suggest > to try to use the scsi generic device for the command (most probably /dev/sg0, > if you don't have more scsi-devices in your system), because the tape device > normally is held locked by the storage daemon. ---- apparently /dev/sg2 would work - I changed it but it's already in the middle of a backup so it doesn't make sense to restart the bacula-sd daemon
Thanks -- Craig White <[EMAIL PROTECTED]> ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users