2013/4/8 rashid ahmed <rashidkah...@gmail.com>: > Hi, > > Below is error message we are facing in bacula server. > smhpmblb00-dir shell command: run BeforeJob > "/etc/bacula/make_catalog_backup.pl MyCatalog" > > smhpmblb00-dir Using Device "Drive-1" > > Start Backup JobId 1379, Job=BackupCatalog.2013-04-08_08.36.42_14 > > smhpmblb00-sd 3304 Issuing autochanger "load slot 1, drive 0" command. > > 3991 Bad autochanger "loaded? drive 1" command: ERR=Child exited with code > 1. > > Results=cannot open SCSI device '/dev/sg8' - No such file or directory > > 3991 Bad autochanger "loaded? drive 0" command: ERR=Child exited with code > 1. > > Results=cannot open SCSI device '/dev/sg8' - No such file or directory > > 3991 Bad autochanger "loaded? drive 0" command: ERR=Child exited with code > 1. > > Results=cannot open SCSI device '/dev/sg8' - No such file or directory > > 3991 Bad autochanger "loaded? drive 0" command: ERR=Child exited with code > 1. > > Results=cannot open SCSI device '/dev/sg8' - No such file or directory > > smhpmblb00-dir > > Error: Bacula smhpmblb00-dir 5.2.12 (12Sep12): > > Build OS: x86_64-unknown-linux-gnu redhat Enterprise release > > JobId: 1379 > > Job: BackupCatalog.2013-04-08_08.36.42_14 > > Backup Level: Full > > Client: "SMC-BACKUP-Machine-fd" 5.2.12 (12Sep12) > x86_64-unknown-linux-gnu,redhat,Enterprise release > > FileSet: "Catalog" 2012-12-12 07:00:00 > > Pool: "Daily" (From Job resource) > > Catalog: "MyCatalog" (From Pool resource) > > Storage: "TS3200" (From command line) > > Scheduled time: 08-Apr-2013 08:35:43 > > Start time: 08-Apr-2013 08:37:39 > > End time: 08-Apr-2013 08:42:39 > > Elapsed time: 5 mins > > Priority: 10 > > FD Files Written: 0 > > SD Files Written: 0 > > FD Bytes Written: 0 (0 B) > > SD Bytes Written: 0 (0 B) > > Rate: 0.0 KB/s > > Software Compression: None > > VSS: no > > Encryption: no > > Accurate: no > > Volume name(s): > > Volume Session Id: 96 > > Volume Session Time: 1364803824 > > Last Volume Bytes: 4,615,028,296,704 (4.615 TB) > > Non-fatal FD errors: 1 > > SD Errors: 1 > > FD termination status: Error > > SD termination status: Error > > Termination: *** Backup Error *** > > smhpmblb00-fd Fatal error: job.c:2395 Bad response to Append Data command. > Wanted 3000 OK data > > , got 3903 Error append data > > smhpmblb00-sd Fatal error: 3992 Bad autochanger "load slot 1, dr > ive 0": ERR=Child died from signal 15: Termination. > > Results=Program killed by Bacula (timeout) > > If anyone knows the solution please let me know as soon as possible.
Hi, It seems that your autochanger has another a SCSI generic special file (/dev/sg8) than is expected by Bacula Storage Daemon. It may be caused through: 1. Changes on SCSI bus (eg. connected new additional device) 2. Wrong configuration of the Bacula Storage Daemon. You should correct your bacula-sd.conf to current state of your system. I mean your /dev/sg8 definition. You can check special SCSI generic file for your autochanger eg. by next command: lsscsi -g Better solution is creating UDEV rules for your autochanger. In this case your autochanger and tape drives will be always fixed names defined by you. Regards. Marcin Haba (gani) -- "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za przyjaciół swoich." Jezus Chrystus ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users