From: Sergey K. <ska...@co...> - 2003-07-29 23:27:46
|
Hello guys, I have RedHat 7.2 and Bacula v1.30a I liked the program and as a response you can state that Bacula works perfectly with Tape device DEC TLZ09 and it's autochanger. Here is my /proc/scsi/scsi file: Attached devices: Host: scsi1 Channel: 00 Id: 05 Lun: 00 Vendor: DEC Model: TLZ9 (C) DEC Rev: A035 Type: Sequential-Access ANSI SCSI revision: 02 Host: scsi1 Channel: 00 Id: 05 Lun: 01 Vendor: DEC Model: TLZ9 (C) DEC Rev: A035 Type: Medium Changer ANSI SCSI revision: 02 But here are some issues that I found: 1. In RPM package: bacula-mysql-rh7-1.30a-1.i386.rpm mtx-changer file is placed in /etc/bacula directory but this file should be reached through PATH... Bacula doesn't report that it didn't find the file, but just reports that you have a problem with autoloader. After I moved this file to /usr/bin everything started to work perfectly. 2. I was playing around with volumes and pools and finally I decided what I want and moved 2 volumes from pool Default to pool FullBackup. (purge them in Default, delete them in Default, add them to FullBackup). Both volumes seemed to be OK after this (they both had status Append). But when Backup job started it stuck asking me to mount a storage. I typed "mount" in console it seemed didn't help, then I purged volume FullBackup02 and job proceeded with this volume (FullBackup02). here is the log: -------------------------- stins-sd: Please mount Volume "Fullbackup01" on Storage Device "TapeStorage" for Job FullBackup.2003-07-29_00.38.04 Use "mount" command to release Job. stins-sd: FullBackup.2003-07-29_00.38.04 Warning: mount.c:230 Wanted Volume "Fullbackup01". Current Volume "FullBackup01" not acceptable because: 1997 Volume "FullBackup01" not in catalog. stins-sd: Please mount Volume "Fullbackup01" on Storage Device "TapeStorage" for Job FullBackup.2003-07-29_00.38.04 Use "mount" command to release Job. stins-sd: FullBackup.2003-07-29_00.38.04 Warning: mount.c:230 Wanted Volume "Fullbackup01". Current Volume "FullBackup01" not acceptable because: 1997 Volume "FullBackup01" not in catalog. stins-dir: There are no Jobs associated with Volume FullBackup02. Marking it purged. stins-dir: Recycled volume "FullBackup02" --------------------------- The console command "list volumes" did show me both FullBackup01 and FullBackup02. Why bacula thought that FullBackup01 is not in the catalog? 3. Finally backup failed with error: ---------------------------- stins-dir: FullBackup.2003-07-29_00.38.04 Fatal error: sql_create.c:599 sql_create.c:599 query SELECT MediaId,VolumeName,MediaType,VolStatufiles_8c.html' failed: You have an error in your SQL syntax near ''' at line 1 stins-dir: FullBackup.2003-07-29_00.38.04 Error: Bacula 1.30a (10May03): 29-Jul-2003 09:01 JobId: 4 Job: FullBackup.2003-07-29_00.38.04 FileSet: Full Set Backup Level: Full Client: stins-fd Start time: 29-Jul-2003 00:38 End time: 29-Jul-2003 09:01 Files Written: 130,042 Bytes Written: 1,816,597,718 Rate: 60.2 KB/s Software Compression: None Volume names(s): FullBackup02 Volume Session Id: 4 Volume Session Time: 1059121390 Last Volume Bytes: 1,822,029,170 FD termination status: OK SD termination status: OK Termination: *** Backup Error *** --------------------------------- What could cause this problem? Sorry for such a long message... Thank you in advance! /SergeyK |