[Bacula-users] AutomaticMount doesn't work on a simple LTO3 drive
Hello, It seems SD behavior changed between 2.X and 3.X. Here is what I do: 1. Unload tape from the drive 1. Run a job 2. Wait for Bacula to send a mail asking for a tape 3. Load a tape in a drive 4. Wait, and see that bacula never found the tape 5. Type mount; it works st st: Device status: Device LTO3 (/dev/nst0) is not open. Device is BLOCKED waiting for mount of volume Weekly-004, Pool:Weekly Media type: LTO-3 st dir: 71 Fullbackup.2009-10-20_14.33.22_09 is waiting for a mount request bacula-sd.conf: Device { Name = LTO3 Media Type = LTO-3 Archive Device = /dev/nst0 AutomaticMount = yes AlwaysOpen = no RemovableMedia = yes RandomAccess = no Maximum File Size = 4GB } Could you help me to figure out what's wrong ? Thanks in advance. Regards, Adam. -- Adam Cécile Mandriva / Linbox 152, rue de Grigy - Technopole Metz 57070 METZ - FRANCE tel: +33 (0)3 87 50 87 90http://mandriva.com -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] AutomaticMount doesn't work on a simple LTO3 drive
Adam Cécile a écrit : Hello, It seems SD behavior changed between 2.X and 3.X. Here is what I do: 1. Unload tape from the drive 1. Run a job 2. Wait for Bacula to send a mail asking for a tape 3. Load a tape in a drive 4. Wait, and see that bacula never found the tape 5. Type mount; it works st st: Device status: Device LTO3 (/dev/nst0) is not open. Device is BLOCKED waiting for mount of volume Weekly-004, Pool:Weekly Media type: LTO-3 st dir: 71 Fullbackup.2009-10-20_14.33.22_09 is waiting for a mount request bacula-sd.conf: Device { Name = LTO3 Media Type = LTO-3 Archive Device = /dev/nst0 AutomaticMount = yes AlwaysOpen = no RemovableMedia = yes RandomAccess = no Maximum File Size = 4GB } Could you help me to figure out what's wrong ? Thanks in advance. Regards, Adam. Sorry for the noise. Volume Poll Interval was missing. -- Adam Cécile Mandriva / Linbox 152, rue de Grigy - Technopole Metz 57070 METZ - FRANCE tel: +33 (0)3 87 50 87 90http://mandriva.com -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] New autochanger adds L3 after tape barcode
Hello, I juste replaced an autochanger and the new one adds L3 at the end of each tape label (ie: XY becames XYL3). What can I do to keep the same names as before ? Thanks in advance, Regards, Adam. -- Adam Cécile Mandriva / Linbox 152, rue de Grigy - Technopole Metz 57070 METZ - FRANCE tel: +33 (0)3 87 50 87 90http://mandriva.com -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] New autochanger adds L3 after tape barcode
Wolfgang Denk a écrit : Dear Adam, In message 4adc3194.20...@linbox.com you wrote: I juste replaced an autochanger and the new one adds L3 at the end of = each tape label (ie: XY becames XYL3). What can I do to keep the same names as before ? Why don't you filter the names in the mtx-changer script? Best regards, Wolfgang Denk Thanks Wolfgang and Arno. I'll patch mx-changer script for now, because I won't be able to rename all the tape. Regards, Adam. -- Adam Cécile Mandriva / Linbox 152, rue de Grigy - Technopole Metz 57070 METZ - FRANCE tel: +33 (0)3 87 50 87 90http://mandriva.com -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ACL Support = yes gives acl_get_file error on file errors
John Jorgensen a écrit : adam.cecile == Adam Cécile adam.cec...@linbox.com writes: adam.cecile Hello, I just upgraded to bacula 3.0.2 and I'm adam.cecile seeing strange messages when backing up an OSX adam.cecile computer. The log is full of acl_get_file adam.cecile error on file, see below. Check if the files for which the ACL errors are reported are dangling symbolic links, that is, a symbolic link where the file linked to no longer exists. No, they are real files, not symlinks. We have some Solaris machines which contain a number of dangling symlinks, and they result in errors similar to those you report (though from the path names, I'd guess your system is running MacOS X). I speculate that Bacula's file daemon tries to read the ACL information from the linked-to file, then logs an error when that attempt fails. I've thought about patching the bacula's acl.c to not log such errors for dangling symlinks, but so far have just lived with the extra messages. -- Adam Cécile Mandriva / Linbox 152, rue de Grigy - Technopole Metz 57070 METZ - FRANCE tel: +33 (0)3 87 50 87 90http://mandriva.com -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ACL Support = yes gives acl_get_file error on file errors
Hi, Yes I did. Otherwise I guess the client FD won't run acl_get_file. Adam. Mathieu BALCERAK a écrit : Hello, Do you have build your bacula-fd with ACL support ? Adam Cécile a écrit : Hello, I just upgraded to bacula 3.0.2 and I'm seeing strange messages when backing up an OSX computer. The log is full of acl_get_file error on file, see below. Is it fine ? The client may not have ACL on its files, but, in this case, I think Bacula should just ignore this feature silently. Regards, Adam. Bacula job's log: 25-Aug 15:28 uc1222-fd JobId 10446: Error: acl.c:405 acl_get_file error on file /Volumes/Travail/TEST-SAUVEGARDE/COUVERTURES: ERR=No such file or directory 25-Aug 15:28 uc1222-fd JobId 10446: Error: acl.c:405 acl_get_file error on file /Volumes/Travail/TEST-SAUVEGARDE/: ERR=No such file or directory 25-Aug 15:28 srv-mpp-bacula-sd JobId 10446: Job write elapsed time = 00:00:37, Transfer rate = 6.755 M bytes/second 25-Aug 15:28 srv-mpp-bacula-dir JobId 10446: Bacula srv-mpp-bacula-dir 3.0.2 (18Jul09): 25-Aug-2009 15:28:13 Here is some debug message from the file daemon: uc1222-fd: backup.c:344-10446 FT_DIREND: /Volumes/Travail/TEST-SAUVEGARDE/COUVERTURES/ uc1222-fd: backup.c:402-10446 bfiled: sending /Volumes/Travail/TEST-SAUVEGARDE/COUVERTURES to stored uc1222-fd: backup.c:1162-10446 No strip for /Volumes/Travail/TEST-SAUVEGARDE/COUVERTURES uc1222-fd: acl.c:407-10446 acl_get_file error file=/Volumes/Travail/TEST-SAUVEGARDE/COUVERTURES ERR=No such file or directory uc1222-fd: backup.c:344-10446 FT_DIREND: /Volumes/Travail/TEST-SAUVEGARDE/ uc1222-fd: backup.c:402-10446 bfiled: sending /Volumes/Travail/TEST-SAUVEGARDE/ to stored uc1222-fd: backup.c:1162-10446 No strip for /Volumes/Travail/TEST-SAUVEGARDE/ uc1222-fd: acl.c:407-10446 acl_get_file error file=/Volumes/Travail/TEST-SAUVEGARDE/ ERR=No such file or directory uc1222-fd: heartbeat.c:142-10446 Send kill to heartbeat id uc1222-fd: backup.c:189-10446 end blast_data ok=1 uc1222-fd: jcr.c:834-10446 jid=10446 leave set_old_job_status=R new_set=T uc1222-fd: job.c:1908-10446 3000 OK append data uc1222-fd: job.c:1908-10446 3000 OK end uc1222-fd: job.c:1600-10446 SDJobStatus = 84 T uc1222-fd: job.c:272-10446 Quit command loop. Canceled=0 uc1222-fd: runscript.c:110-10446 runscript: running all RUNSCRIPT object (ClientAfterJob) JobStatus=T uc1222-fd: job.c:299-10446 End FD msg: 2800 End Job TermCode=84 JobFiles=81 ReadBytes=249922150 JobBytes=249925542 Errors=81 VSS=0 Encrypt=0uc1222-fd: job.c:375-10446 Calling term_find_files uc1222-fd: job.c:378-10446 Done with term_find_files uc1222-fd: jcr.c:183-10446 write_last_jobs seek to 188 uc1222-fd: mem_pool.c:370-0 garbage collect memory pool uc1222-fd: job.c:380-0 Done with free_jcr -- Adam Cécile Mandriva / Linbox 152, rue de Grigy - Technopole Metz 57070 METZ - FRANCE tel: +33 (0)3 87 50 87 90http://mandriva.com -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do
[Bacula-users] ACL Support = yes gives acl_get_file error on file errors
Hello, I just upgraded to bacula 3.0.2 and I'm seeing strange messages when backing up an OSX computer. The log is full of acl_get_file error on file, see below. Is it fine ? The client may not have ACL on its files, but, in this case, I think Bacula should just ignore this feature silently. Regards, Adam. Bacula job's log: 25-Aug 15:28 uc1222-fd JobId 10446: Error: acl.c:405 acl_get_file error on file /Volumes/Travail/TEST-SAUVEGARDE/COUVERTURES: ERR=No such file or directory 25-Aug 15:28 uc1222-fd JobId 10446: Error: acl.c:405 acl_get_file error on file /Volumes/Travail/TEST-SAUVEGARDE/: ERR=No such file or directory 25-Aug 15:28 srv-mpp-bacula-sd JobId 10446: Job write elapsed time = 00:00:37, Transfer rate = 6.755 M bytes/second 25-Aug 15:28 srv-mpp-bacula-dir JobId 10446: Bacula srv-mpp-bacula-dir 3.0.2 (18Jul09): 25-Aug-2009 15:28:13 Here is some debug message from the file daemon: uc1222-fd: backup.c:344-10446 FT_DIREND: /Volumes/Travail/TEST-SAUVEGARDE/COUVERTURES/ uc1222-fd: backup.c:402-10446 bfiled: sending /Volumes/Travail/TEST-SAUVEGARDE/COUVERTURES to stored uc1222-fd: backup.c:1162-10446 No strip for /Volumes/Travail/TEST-SAUVEGARDE/COUVERTURES uc1222-fd: acl.c:407-10446 acl_get_file error file=/Volumes/Travail/TEST-SAUVEGARDE/COUVERTURES ERR=No such file or directory uc1222-fd: backup.c:344-10446 FT_DIREND: /Volumes/Travail/TEST-SAUVEGARDE/ uc1222-fd: backup.c:402-10446 bfiled: sending /Volumes/Travail/TEST-SAUVEGARDE/ to stored uc1222-fd: backup.c:1162-10446 No strip for /Volumes/Travail/TEST-SAUVEGARDE/ uc1222-fd: acl.c:407-10446 acl_get_file error file=/Volumes/Travail/TEST-SAUVEGARDE/ ERR=No such file or directory uc1222-fd: heartbeat.c:142-10446 Send kill to heartbeat id uc1222-fd: backup.c:189-10446 end blast_data ok=1 uc1222-fd: jcr.c:834-10446 jid=10446 leave set_old_job_status=R new_set=T uc1222-fd: job.c:1908-10446 3000 OK append data uc1222-fd: job.c:1908-10446 3000 OK end uc1222-fd: job.c:1600-10446 SDJobStatus = 84 T uc1222-fd: job.c:272-10446 Quit command loop. Canceled=0 uc1222-fd: runscript.c:110-10446 runscript: running all RUNSCRIPT object (ClientAfterJob) JobStatus=T uc1222-fd: job.c:299-10446 End FD msg: 2800 End Job TermCode=84 JobFiles=81 ReadBytes=249922150 JobBytes=249925542 Errors=81 VSS=0 Encrypt=0 uc1222-fd: job.c:375-10446 Calling term_find_files uc1222-fd: job.c:378-10446 Done with term_find_files uc1222-fd: jcr.c:183-10446 write_last_jobs seek to 188 uc1222-fd: mem_pool.c:370-0 garbage collect memory pool uc1222-fd: job.c:380-0 Done with free_jcr -- Adam Cécile Mandriva / Linbox 152, rue de Grigy - Technopole Metz 57070 METZ - FRANCE tel: +33 (0)3 87 50 87 90http://mandriva.com -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Difference between HFSPlussupport and xattrsupport ?
Hello, Since 3.0.0 Bacula understand the xattrsupport in fileset to backup extended files attributes. Previously their was an hfsplussupport option to support Apple's fork file extensions. What's the difference ? Should I drop hfsplussupport, keep both ? Thanks in advance. Regards, Adam. -- Adam Cécile Mandriva / Linbox 152, rue de Grigy - Technopole Metz 57070 METZ - FRANCE tel: +33 (0)3 87 50 87 90http://mandriva.com -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Doesn't want to recycle tape in the drive
Hi, I really need help ;) Moreover, do you think, creating one pool for each week day could be a good workaround ? Adam Cécile a écrit : Hi, Here is my problem: I have five tapes (Dailly-00[1-5]). Let's assume Daily-005 is purged and Daily-001 is used (but data expired). If Daily-001 is in the drive, Bacula won't recycle it, instead it will keep asking for Daily-005. If I set Daily-005 as disabled, bacula automatically purge Daily-001 and recycle it. Any tips ? Best regards, Adam. (tested with bacula 2.2.0 and 2.2.5 on a Debian Etch system, with only one external LTO2 Dell tape drive). -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Doesn't want to recycle tape in the drive
Hi, Here is my problem: I have five tapes (Dailly-00[1-5]). Let's assume Daily-005 is purged and Daily-001 is used (but data expired). If Daily-001 is in the drive, Bacula won't recycle it, instead it will keep asking for Daily-005. If I set Daily-005 as disabled, bacula automatically purge Daily-001 and recycle it. Any tips ? Best regards, Adam. (tested with bacula 2.2.0 and 2.2.5 on a Debian Etch system, with only one external LTO2 Dell tape drive). -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Howto download RedHat RPMS?
Hi, I use RHEL4.0 ES x86_64, is there any binaries package for it ? I'm not a Redhat wizard at all, I usually run Debian ;) Thanks in advance, Adam. Felix Schwarz a écrit : Adam Cécile schrieb: I don't understand at all where I can grab bacula rpms. I saw fschwarz announce but can't find any RPM anywhere... What distribution do you use? For Fedora {6,7} you can just do yum install bacula-client (do yum search bacula to see the other available packages). For CentOS 5 I recommend that you enable the Fedora EPEL repo and proceed as described above. I will make other RPMs available as soon a 2.2.3 RPM is out. fs - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Howto download RedHat RPMS?
Hi, I don't understand at all where I can grab bacula rpms. I saw fschwarz announce but can't find any RPM anywhere... Help would be appreciated. Thanks in advance. -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Howto download RedHat RPMS?
Marc Schiffbauer a écrit : * Adam Cécile schrieb am 10.09.07 um 17:36 Uhr: Hi, I don't understand at all where I can grab bacula rpms. I saw fschwarz announce but can't find any RPM anywhere... Help would be appreciated. You should wait until bacula 2.2.3 is realeased which fixes a serious restore bug. Kern has hidden several downloads due to this issue. I guess the release will be today or tomorrow if all goes well. -Marc Thanks. However, I'm working on the really small setup this time, just one external LTO2 drive. So, 2.0.3 would be fine for me. Any link? -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] One more beta
Kern Sibbald a écrit : Hello, Since Beta 2.1.26 Eric and I have made a few changes and fixed a few bugs in Bacula and Dirk has made a few updates to bat, so I am thinking of making a new beta release today or tomorrow. I will wait to get some feedback from Eric concerning a problem Bill Moran has found in regression testing with regexwhere before cutting this beta. If anyone thinks there is any other critical item to implement/fix before the final release, now is the time to speak up. Best regards, Kern - 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 Hi, I have some issues with a two drive autochanger and concurrent jobs. It works fine until two drive got tape from different pool. Let's assume there's one tape in drive0, pool weekly; one tape in drive1, pool daily; one job running on each tapes. If a new daily job is run, bacula will try to run it on drive0 and then fails because the drive is in use. Is this bug supposed to be fixed in 2.2 ? It's my only whish, bacula is great ;) Thanks in advance Kern, Regards, Adam. -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
Re: [Bacula-users] Bacula Supported LTO3/LTO4 Libraries
I'm using a Dell PowerVault 132T, two LTO3 drives, 21 slots. Works fine with bacula 2.0.3 on debian sarge. Attila Fülöp a écrit : Ken Gunderson wrote: On Fri, 06 Jul 2007 16:43:48 -0300 Heitor Medrado de Faria [EMAIL PROTECTED] wrote: Hi folks, Does anyone can tell me what LTO3/LTO4 Libraries in the market are supported by Bacula? Best regards, Overland ARCVault 12. Nice unit but as of yet do not have everything working. We have an Overland ARCVault 24 (LTO3) working like a charm. FreeBSD 5.4-RELEASE HP Ultrium 3-SCSI G33H at scbus2 target 6 lun 0 (sa0,pass2) OVERLAND NEO Series 0221 at scbus2 target 6 lun 1 (ch0,pass3) mtx version 1.2.17rel Relevant parts from bacula-sd.conf: Autochanger { Name = ArcVault Device = ArcVaultDrive Changer Command = /usr/local/share/bacula/mtx-changer %c %o %S %a %d Changer Device = /dev/pass3 } Device { Name = ArcVaultDrive Description = HP LTO-3 inside Overland ArcVault24 lib DeviceType = Tape Media Type = LTO3 Archive Device = /dev/nsa0 AutoChanger = yes Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' # If you have smartctl, enable this, it has more info than tapeinfo # Alert Command = sh -c 'smartctl -H -l error %c' DriveIndex = 0 Maximum Network Buffer Size = 65536 SpoolDirectory = /spool/bacula MaximumSpoolSize = 3470k AutomaticMount = yes # when device opened, read it AlwaysOpen = yes Offline On Unmount = yes RemovableMedia = yes; RandomAccess = no; Use MTIOCGET = yes BSF at EOM = yes TWO EOF = yes Backward Space Record = yes Backward Space File = yes Forward Space Record = yes Forward Space File = yes Hardware End of Medium = no Fast Forward Space File = yes } - 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 -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
Re: [Bacula-users] bacula on ubuntu (why so much software to install?)
Debian package is well splitted with each package for each bacula component (dir, sd, fd) and spécific package for db backend. Marcus Bajohr a écrit : Juan Miscaro wrote: The package build has a dependency for the kde-desktop. That is all this stuff. Building it from scratch by configure will help But there must be a reason why it needs KDE. It must have some graphical tool included. Anyway, what are the essential Ubuntu packages? I do not want to start compiling stuff if I'm running Ubuntu. If Ubuntu is not possible then I'll probably go for FreeBSD. I'm sure the FreeBSD port does not force this shit on its users. Yes, there is a tray applet which you can exclude. That is why i told you to do the old configure-make-make install way (or rewrite the ubuntu-package As i am not using one of those all-in-one-Distributions i am not able tell you how to do that.) hth, Marcus Angaben gemäß §37a HGB, §80 Abs. 1 AG und §35a Abs. 1 GmbHG HADAKON Kommunikations-Systeme GmbH Walter-Bruch-Straße 1 30982 Pattensen Geschäftsführer Jens Dürasch Amtsgericht Hannover HRB 101601 Steuer-Nr. 42/200/02536 USt-IdNr. 115510490 - 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 -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
[Bacula-users] NTFS alternate data stream (ads) support ?
Hi, Could you tell me if NTFS alternate data stream (some kind of filesystem extended attributes) are supposed to work with bacula 2.0.3 ? See the attached screenshot : restore goes fine but no ads are restored... Thanks in advance, Regards, Adam. -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com inline: ads.png- 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
Re: [Bacula-users] exabyte autochanger
An autochanger node should be /dev/sgX tomasz a écrit : Maria McKinley wrote: Falk Sauer wrote: Hi Maria, please make shure that your changer device has the correct permissions eg.: crw-rw root disk /dev/sg0 and for the potentially next problem ... by your tapedrive device i'm unshure, i think this should /dev/nst0, i don't know how its correct on exabyte tapes. Normally the /dev/st* device makes a automatic rewind after write, the /dev/nst* make no auto rewind. Bacula needs imho a non auto rewinding device. You dosn't write wich OS you use, here are little differences between the OSes. regards Falk Thanks Falk, My permissions are: crw--- 1 root root 21, 0 2005-02-25 22:38 sg0 so, maybe that is my problem. Can I just change this, like any file, with chown (assuming that the disk part is important) and chmod? As far as the /dev/nst0, I had this working with the old version of bacula (1.36), and I found then that only nst0 worked, I would get errors if I tried to change it to st0. I am using Debian. cheers, maria hi there, have u tried to use mtx itself from shell? and see what results will give simple mtx -f /dev/sg0 status or whatever your autochanger device node is i dont know debian but i guess /dev/nst0 is tape drive itself not autochanger device so to move; load; unload tapes u have to use for example sg0 (if it works) like for example mtx -f /dev/sg0 load 3 /dev/nst0 0 should load tape from slot 3 to tape drive of course u can load tape from bconsole as well permissions are one thing and next thing is if mtx-changer is doing a job and u have proper device in SD conf good luck -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
Re: [Bacula-users] voting
Trac is awesome, looks at some other examples I host : http://www.museek-plus.org/ http://www.nicotine-plus.org/ http://methlab.thegraveyard.org/ http://trac.aircrack-ng.org/ My corpo: http://lrs.linbox.org/ http://lds.linbox.org/ If needed, I can give you some help in setting up trac. Check http://www.trac-hacks.org/ to get plugins expanding trac functions. Arno Lehmann a écrit : Hi, On 6/7/2007 5:54 AM, Ken Gunderson wrote: ... Another option that may be worth considering is Trac. http://trac.edgewall.org/ Trac Demo Site: http://www.hosted-projects.com/trac/TracDemo/Demo It has built in wiki, bug tracker, svn browsing, etc. Do not run on sqlite db backend though for anything more than testing. Production = MySQL or PostgreSQL. Did I not find it, or is there no module for feature request and voting on them? Arno -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
Re: [Bacula-users] newb needs help configuring Dell PV-132T
Run update slots, then label barcodes Scott McDaniel a écrit : All, I am very green to bacula and am trying to configure a Dell PV-132T with a single LTO-3 drive attached to a Debian Etch server. My problem comes when running the btape fill test across multiple tapes. The first tape fills ok but I then get the following error when it needs to get the second tape: 06-Jun 01:06 btape: End of medium on Volume TestVolume1 Bytes=423,805,321,368 Blocks=6,569,404 at 06-Jun-2007 01:06. 06-Jun 01:06 btape: Invalid slot=0 defined, cannot autoload Volume. Mount blank Volume on device Drive-0 (/dev/nst0) and press return when ready: Where is the Invalid slot=0 defined error coming from? my bacula-sd.conf file looks like this: Storage { # definition of myself Name = foo-sd SDPort = 9103 WorkingDirectory = /var/lib/bacula Pid Directory = /var/run/bacula Maximum Concurrent Jobs = 20 SDAddress = 127.0.0.1 } # List Directors who are permitted to contact Storage daemon Director { Name = foo-dir Password = xxx } # Restricted Director, used by tray-monitor to get the # status of the storage daemon Director { Name = foo-mon Password = xxx Monitor = yes } Autochanger { Name = PV132T Device = Drive-0 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Changer Device = /dev/sg3 } Device { Name = Drive-0 LabelMedia = yes; Drive Index = 0 Media Type = LTO-3 Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Alert Command = sh -c 'tapeinfo -f %c | grep TapeAltert|cat' Autoselect = yes } Messages { Name = Standard director = foo-dir = all } Any assistance would be greatly appreciated. Sincerely, Scott - 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 -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
Re: [Bacula-users] newb needs help configuring Dell PV-132T
Well... Let me explain you some stuff. PV132T has a barcodes reader, so the easier way to get bacula find its volumes into the library is to label tape with their barcodes. (I guess you have barcodes on your tape ???, check with mtx -f /dev/sgX status). Then start bacula director and run update slots. Bacula will ask what's in the library through mtx. Then label bardcodes will make bacula load each tape into the drive and write the bardcode as label. Check with list media (especially inchanger flag). Scott McDaniel a écrit : How do I do that? I don't see that inside btape. Adam Cécile wrote: Run update slots, then label barcodes -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
Re: [Bacula-users] changing volume retention
I guess you have only changed the configuration files, now you need to update the sql catalog. Do update = volume parmeters = all volume from pool (and select the pool you changed the retention). Jordi Moles a écrit : hi, until last week i used to have volume retention set to 18 days. I changed it to 30 days but it doesn't seem to take effect. The amount of data that i keep is growing very fast and those new volumes bacula creates have the new period of retention, but not those which are purged. When an old volume is purged, the expiration date is modified, but always to 18 days from that date, not 30 days. have you ever seen such problem? is it a normal bacula behavior? I'm using bacula 2.0.3 for freebsd. thank you. - 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 -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
[Bacula-users] Only restore files contained in an incremental backup ?
Hello, Is there anyway to only restore content of an incremental backup, without restoring the whole full backup before? Thanks in advance. -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
Re: [Bacula-users] Bacula ask for a volume which has inchanger=no ?!?!?
Hi, Not really... I made some changes on my configuration which should fix the problem but it doesn't : ### SD conf Autochanger { Name = Dell-PV132T Device = ULTRIUM-TD3-1 Device = ULTRIUM-TD3-2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Changer Device = /dev/sg2 } Autochanger { Name = Dell-PV132T-1drive Device = ULTRIUM-TD3-1 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Changer Device = /dev/sg2 } Device { Name = ULTRIUM-TD3-1 Drive Index = 0 Media Type = LTO3 Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; Offline On Unmount = no; AutoChanger = yes } Device { Name = ULTRIUM-TD3-2 Drive Index = 1 Media Type = LTO3 Archive Device = /dev/nst1 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; Offline On Unmount = no; AutoChanger = yes } ### Dir conf Storage { Name = Autochanger Address = srv-mpp-lrs SDPort = 9103 Password = xxx Device = Dell-PV132T Media Type = LTO3 Autochanger = yes Maximum Concurrent Jobs = 2 } Storage { Name = Autochanger-1drive Address = srv-mpp-lrs SDPort = 9103 Password = xxx Device = Dell-PV132T-1drive Media Type = LTO3 Autochanger = yes Maximum Concurrent Jobs = 1 } As you can see I've written to autochanger ressources, but one has only one drives. The same problems still occurs but now we can't tell bacula haven't looked a inchanger flag because the device wasn't an autochanger... Any other pointers ? May I run two different SD ? (maybe without having always open = on) Arno Lehmann a écrit : Hi, well, I think this problem is understood now :-) On 5/23/2007 9:00 AM, Adam Cécile wrote: Hi, Here is what happens : Blogs are scheduled on the first appendable volume, without looking at the inchanger flag. If I mark this volume as Used or Full, jobs gets scheduled on the next appendable volume, instead of the next one appendable and inchanger. Scheduled jobs Scheduled Jobs: Level Type Pri Scheduled Name Volume === Full Backup 5 23-mai-07 12:00Backup-srv-mpp-archi-dwh 000121 Full Backup 5 23-mai-07 12:00 Backup-srv-mpp-archi-treso 000121 Full Backup 5 23-mai-07 12:00 Backup-srv-mpp-archi-totem 000121 Full Backup 5 23-mai-07 12:00 Backup-srv-mpp-archi-filemaker 000121 Full Backup 5 23-mai-07 12:00 Backup-srv-mpp-archi-equilibre 000121 Full Backup 5 23-mai-07 20:00 Backup-srv-mpp-exchang-daily 000121 ### List volumes (on this Pool) Pool: Daily +-++---+-+---+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+---+--+--+-+--+---+---+-+ | 59 | 000143 | Purged| 1 | 394,391,772,372 | 422 |1,209,600 | 1 |1 | 1 | LTO3 | 2007-04-05 08:44:03 | | 60 | 000115 | Purged| 1 | 152,609,505,455 | 163 |1,209,600 | 1 |8 | 0 | LTO3 | 2007-04-19 13:29:21 | | 61 | 000116 | Purged| 1 | 1,278,772,008,661 | 1,409 |1,209,600 | 1 |9 | 0 | LTO3 | 2007-04-23 13:30:52 | | 62 | 000117 | Purged| 1 | 742,127,695,846 | 789 |1,209,600 | 1 | 10 | 0 | LTO3 | 2007-04-26 21:10:42 | | 63 | 000118 | Full | 1 | 824,915,470,096 | 894 |1,209,600 | 1 | 11 | 0 | LTO3 | 2007-05-09 15:38:16 | | 64 | 000119 | Purged| 1 |25,754,213,310 | 31 |1,209,600 | 1 | 12 | 0 | LTO3 | 2007-04-27 08:48:46 | | 65 | 000120 | Full | 1 | 553,103,626,001 | 577 |1,209,600 | 1 | 13 | 0 | LTO3 | 2007-05-11 13:59:48 | | 66 | 000121 | Append| 1 | 1 |0 |1,209,600 | 1 | 14 | 0 | LTO3 | -00-00 00:00:00 | | 91 | 000103 | Purged| 1 | 227,552,907,045 | 250 |1,209,600 | 1 | 10 | 0 | LTO3 | 2007-05-04 13:58:14 | | 92 | 000104 | Purged| 1 | 1 |0 |1,209,600 | 1 | 11 | 0 | LTO3 | -00-00 00:00:00 | | 93 | 000105 | Append| 1 | 1 |0 |1,209,600 | 1 | 12 | 0 | LTO3 | -00-00 00:00:00 | | 94 | 000106
Re: [Bacula-users] Bacula ask for a volume which has inchanger=no ?!?!?
I'm thinking about creating an admin job that parse volumes list and mark all volumes not in changer as used. What would happened with bacula then ? Does volumes with status used but without any recent writing dates will be recycled according to their last written date ? Adam Cécile a écrit : Hi, Not really... I made some changes on my configuration which should fix the problem but it doesn't : ### SD conf Autochanger { Name = Dell-PV132T Device = ULTRIUM-TD3-1 Device = ULTRIUM-TD3-2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Changer Device = /dev/sg2 } Autochanger { Name = Dell-PV132T-1drive Device = ULTRIUM-TD3-1 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Changer Device = /dev/sg2 } Device { Name = ULTRIUM-TD3-1 Drive Index = 0 Media Type = LTO3 Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; Offline On Unmount = no; AutoChanger = yes } Device { Name = ULTRIUM-TD3-2 Drive Index = 1 Media Type = LTO3 Archive Device = /dev/nst1 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; Offline On Unmount = no; AutoChanger = yes } ### Dir conf Storage { Name = Autochanger Address = srv-mpp-lrs SDPort = 9103 Password = xxx Device = Dell-PV132T Media Type = LTO3 Autochanger = yes Maximum Concurrent Jobs = 2 } Storage { Name = Autochanger-1drive Address = srv-mpp-lrs SDPort = 9103 Password = xxx Device = Dell-PV132T-1drive Media Type = LTO3 Autochanger = yes Maximum Concurrent Jobs = 1 } As you can see I've written to autochanger ressources, but one has only one drives. The same problems still occurs but now we can't tell bacula haven't looked a inchanger flag because the device wasn't an autochanger... Any other pointers ? May I run two different SD ? (maybe without having always open = on) Arno Lehmann a écrit : Hi, well, I think this problem is understood now :-) On 5/23/2007 9:00 AM, Adam Cécile wrote: Hi, Here is what happens : Blogs are scheduled on the first appendable volume, without looking at the inchanger flag. If I mark this volume as Used or Full, jobs gets scheduled on the next appendable volume, instead of the next one appendable and inchanger. Scheduled jobs Scheduled Jobs: Level Type Pri Scheduled Name Volume === Full Backup 5 23-mai-07 12:00Backup-srv-mpp-archi-dwh 000121 Full Backup 5 23-mai-07 12:00 Backup-srv-mpp-archi-treso 000121 Full Backup 5 23-mai-07 12:00 Backup-srv-mpp-archi-totem 000121 Full Backup 5 23-mai-07 12:00 Backup-srv-mpp-archi-filemaker 000121 Full Backup 5 23-mai-07 12:00 Backup-srv-mpp-archi-equilibre 000121 Full Backup 5 23-mai-07 20:00 Backup-srv-mpp-exchang-daily 000121 ### List volumes (on this Pool) Pool: Daily +-++---+-+---+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+---+--+--+-+--+---+---+-+ | 59 | 000143 | Purged| 1 | 394,391,772,372 | 422 |1,209,600 | 1 |1 | 1 | LTO3 | 2007-04-05 08:44:03 | | 60 | 000115 | Purged| 1 | 152,609,505,455 | 163 |1,209,600 | 1 |8 | 0 | LTO3 | 2007-04-19 13:29:21 | | 61 | 000116 | Purged| 1 | 1,278,772,008,661 | 1,409 |1,209,600 | 1 |9 | 0 | LTO3 | 2007-04-23 13:30:52 | | 62 | 000117 | Purged| 1 | 742,127,695,846 | 789 |1,209,600 | 1 | 10 | 0 | LTO3 | 2007-04-26 21:10:42 | | 63 | 000118 | Full | 1 | 824,915,470,096 | 894 |1,209,600 | 1 | 11 | 0 | LTO3 | 2007-05-09 15:38:16 | | 64 | 000119 | Purged| 1 |25,754,213,310 | 31 |1,209,600 | 1 | 12 | 0 | LTO3 | 2007-04-27 08:48:46 | | 65 | 000120 | Full | 1 | 553,103,626,001 | 577 |1,209,600 | 1 | 13 | 0 | LTO3 | 2007-05-11 13:59:48 | | 66 | 000121 | Append| 1 | 1 |0 |1,209,600 | 1 | 14 | 0 | LTO3 | -00-00 00:00:00 | | 91 | 000103 | Purged| 1 | 227,552,907,045 | 250 |1,209,600 | 1 | 10 | 0
Re: [Bacula-users] Bacula ask for a volume which has inchanger=no ?!?!?
| 1 |2 | 1 | LTO3 | 2007-05-21 12:00:25 | | 106 | 000145 | Used | 1 | 216,361,248,768 | 253 |1,209,600 | 1 |3 | 1 | LTO3 | 2007-05-21 23:30:23 | | 107 | 000147 | Used | 1 | 219,473,114,112 | 257 |1,209,600 | 1 |4 | 1 | LTO3 | 2007-05-23 00:40:37 | | 108 | 000146 | Append| 1 | 1 |0 |1,209,600 | 1 |5 | 1 | LTO3 | -00-00 00:00:00 | | 109 | 000148 | Append| 1 | 1 |0 |1,209,600 | 1 |6 | 1 | LTO3 | -00-00 00:00:00 | | 110 | 000149 | Append| 1 | 1 |0 |1,209,600 | 1 |7 | 1 | LTO3 | -00-00 00:00:00 | +-++---+-+---+--+--+-+--+---+---+-+ Which volumes are in the autochanger, which ones can be used: See above. What's the state of the SD: Device status: Autochanger Dell-PV132T with devices: ULTRIUM-TD3-1 (/dev/nst0) ULTRIUM-TD3-2 (/dev/nst1) Device ULTRIUM-TD3-1 (/dev/nst0) is mounted with Volume=000147 Pool=Daily Slot 4 is loaded in drive 0. Total Bytes=219,473,114,112 Blocks=3,402,050 Bytes/block=64,512 Positioned at File=257 Block=0 Device ULTRIUM-TD3-2 (/dev/nst1) is not open. Drive 1 status unknown. In Use Volume status: 000147 on device ULTRIUM-TD3-1 (/dev/nst0) What happens when jobs start: Nothing; bacula ask me to mount the volume it scheduled the jobs on Could you tell me more about which informations could I give you while running in debug mode ? Thanks a lot for your help. Arno Lehmann a écrit : Hi, On 5/22/2007 8:59 AM, Adam Cécile wrote: sddqqsr Hello, I just upgraded to 2.0.3 and I still have the problem. When no candidate volume is mounted bacula do weird things. Jobs are sheduled on a volume which is not in the library. If I mount a good volume into the drive, jobs gets scheduled on it. Any pointers ? More details... your problem description is becoming less and less useful for me. Which volumes are in the autochanger, which ones can be used, what's the state of the SD, what happens when jobs start, etc. Also, consider running the DIR and the SD with debug output, so you can track what the daemons do internally, i.e. how they decide which volumes to use. Arno Arno Lehmann a écrit : Hi, On 5/21/2007 10:33 AM, Adam Cécile wrote: Andreas Helmcke a écrit : On 21.05.2007 08:55, Adam Cécile wrote: Arno Lehmann a écrit : Hello, On 5/18/2007 9:02 AM, Adam Cécile wrote: Hi, Today my director was blocked. It was asking for a volume which had inchangler flag set to no while there was 4 purged volume in the right pool. I had to load the volume into the drive manually (with mtx) and then mount it, otherwise bacula keeps asking for the missing volume. Usually, Bacula shoould use whatever tape is available. Obviously, the catalog has to represent the actual autochanger inventory. How could this happend ? Do I missed something in my configuration ? I don't think this is a configuration issue... most of the time, I see these problems when tapes were changed and no 'update slots' command was executed. Update slots has been run, and list media only reports the good volumes as inchanger. This is a multi-drive autochanger. There is a query in Bacula to show the volumes that Bacula thinks are in the changer. Try this, and if it doesn't reflect the current inventory, do an 'update slots'. That should work. Do you mean list media could be right while the sql catalog may be wrong ? If it doesn't, this should be a bug. You'll need to make sure you've got a recent version of Bacula running, the catalog is up to date, capture debug output for the DIR, and file a bug report. But I don't think this will be necessary :-) It really looks like being a bug... See my previous mail for more informations. Please notice that if I load the right tape with mtx and then mount it in bacula, the job gets written on this volumes. I am not sure but maybe your problems are related to the problems I have while using a multidrive autochanger (see me recent mails to this list). My impression is, that volume selection part of bacula sometimes gets confused and is choosing the wrong volume
Re: [Bacula-users] Bacula ask for a volume which has inchanger=no ?!?!?
I may have found my problem : Here is my old setup : ### SD config: Autochanger { Name = Dell-PV132T Device = ULTRIUM-TD3-1 Device = ULTRIUM-TD3-2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Changer Device = /dev/sg2 } Device { Name = ULTRIUM-TD3-1 Drive Index = 0 Media Type = LTO3 Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; Offline On Unmount = no; AutoChanger = yes } Device { Name = ULTRIUM-TD3-2 Drive Index = 1 Media Type = LTO3 Archive Device = /dev/nst1 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; Offline On Unmount = no; AutoChanger = yes } ### Director config Storage { Name = Autochanger Address = srv-mpp-lrs SDPort = 9103 Password = xxx Device = Dell-PV132T Media Type = LTO3 Autochanger = yes Maximum Concurrent Jobs = 2 } Storage { Name = ULTRIUM-TD3-1 Address = srv-mpp-lrs SDPort = 9103 Password = xxx Device = ULTRIUM-TD3-1 Media Type = LTO3 Autochanger = yes Maximum Concurrent Jobs = 1 } As you can see, in my director config ULTRIUM-TD3-1 is defined. The aim of this trick is to be able to run jobs on one drive only. However, ULTRIUM-TD3-1 in director refers to a Device entry in sd, not an autochanger one. So I guessed, bacula ignore inchanger flag. Do you think I'm right ? So I decided to define a second Autochanger ressources, with only on device associated on it. I hope this would fix the problem. Regards, Adam. -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
Re: [Bacula-users] compiling check_bacula
Some SSL headers missing ? Jorge González a écrit : hi all! ok, I applied the patchs (http://article.gmane.org/gmane.comp.bacula.user/27144/match=check+bacula) and got new errors (output trunked): ==E/ntering directory /usr/local/src/bacula-2.0.3/src/check_bacula make[1]: se ingresa al directorio `/usr/local/src/bacula-2.0.3/src/check_bacula' /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti check_bacula.c /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti authenticate.c /usr/bin/g++ -L../lib -L../cats -o check_bacula check_bacula.o authenticate.o \ -lbac -lm -lpthread -ldl ../lib/libbac.a(tls.o): In function `openssl_bsock_readwrite': /usr/local/src/bacula-2.0.3/src/lib/tls.c:607: undefined reference to `SSL_write' /usr/local/src/bacula-2.0.3/src/lib/tls.c:609: undefined reference to `SSL_read' /usr/local/src/bacula-2.0.3/src/lib/tls.c:613: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `tls_bsock_shutdown(BSOCK*)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:562: undefined reference to `SSL_shutdown' /usr/local/src/bacula-2.0.3/src/lib/tls.c:564: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `openssl_bsock_session_start': /usr/local/src/bacula-2.0.3/src/lib/tls.c:457: undefined reference to `SSL_accept' /usr/local/src/bacula-2.0.3/src/lib/tls.c:459: undefined reference to `SSL_connect' /usr/local/src/bacula-2.0.3/src/lib/tls.c:463: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `free_tls_connection(TLS_Connection*)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:430: undefined reference to `SSL_free' ../lib/libbac.a(tls.o): In function `new_tls_connection(TLS_Context*, int)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:391: undefined reference to `BIO_s_socket' /usr/local/src/bacula-2.0.3/src/lib/tls.c:391: undefined reference to `BIO_new' /usr/local/src/bacula-2.0.3/src/lib/tls.c:397: undefined reference to `BIO_int_ctrl' /usr/local/src/bacula-2.0.3/src/lib/tls.c:403: undefined reference to `SSL_new' /usr/local/src/bacula-2.0.3/src/lib/tls.c:409: undefined reference to `SSL_set_bio' /usr/local/src/bacula-2.0.3/src/lib/tls.c:412: undefined reference to `SSL_ctrl' /usr/local/src/bacula-2.0.3/src/lib/tls.c:418: undefined reference to `BIO_free' /usr/local/src/bacula-2.0.3/src/lib/tls.c:419: undefined reference to `SSL_free' ../lib/libbac.a(tls.o): In function `tls_postconnect_verify_host(TLS_Connection*, char const*)':/ Any tricks? Thanks in advance jorge Jorge González escribió: Hi guys! I'm trying to compile check_bacula (nagios) on 2.0.3. I modified autheticate.c and check_bacula.c (http://article.gmane.org/gmane.comp.bacula.user/26619/match=check+bacula) but it doesn't compile: ==Entering directory /usr/local/src/bacula-2.0.2/src/check_bacula make[1]: se ingresa al directorio `/usr/local/src/bacula-2.0.2/src/check_bacula' /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti check_bacula.c /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti authenticate.c authenticate.c: In function ‘int authenticate_director(BSOCK*, char*, char*)’: authenticate.c:71: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:72: error: ‘cram_md5_auth’ no se declaró en este ámbito authenticate.c: In function ‘int authenticate_storage_daemon(BSOCK*, char*, char*)’: authenticate.c:108: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:109: error: ‘cram_md5_auth’ no se declaró en este ámbito authenticate.c: In function ‘int authenticate_file_daemon(BSOCK*, char*, char*)’: authenticate.c:144: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:145: error: ‘cram_md5_auth’ no se declaró en este ámbito make[1]: *** [authenticate.o] Error 1 make[1]: se sale del directorio `/usr/local/src/bacula-2.0.2/src/check_bacula' Thanks in advance. Jorge - 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
Re: [Bacula-users] compiling check_bacula
On Debian, bacula build depends on libssl-dev. Check your distro packages manager and install ssl headers. Jorge González a écrit : Adam Cécile escribió: Some SSL headers missing ? I think so but I'm not a programmer :( Jorge González a écrit : hi all! ok, I applied the patchs (http://article.gmane.org/gmane.comp.bacula.user/27144/match=check+bacula) and got new errors (output trunked): ==E/ntering directory /usr/local/src/bacula-2.0.3/src/check_bacula make[1]: se ingresa al directorio `/usr/local/src/bacula-2.0.3/src/check_bacula' /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti check_bacula.c /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti authenticate.c /usr/bin/g++ -L../lib -L../cats -o check_bacula check_bacula.o authenticate.o \ -lbac -lm -lpthread -ldl ../lib/libbac.a(tls.o): In function `openssl_bsock_readwrite': /usr/local/src/bacula-2.0.3/src/lib/tls.c:607: undefined reference to `SSL_write' /usr/local/src/bacula-2.0.3/src/lib/tls.c:609: undefined reference to `SSL_read' /usr/local/src/bacula-2.0.3/src/lib/tls.c:613: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `tls_bsock_shutdown(BSOCK*)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:562: undefined reference to `SSL_shutdown' /usr/local/src/bacula-2.0.3/src/lib/tls.c:564: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `openssl_bsock_session_start': /usr/local/src/bacula-2.0.3/src/lib/tls.c:457: undefined reference to `SSL_accept' /usr/local/src/bacula-2.0.3/src/lib/tls.c:459: undefined reference to `SSL_connect' /usr/local/src/bacula-2.0.3/src/lib/tls.c:463: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `free_tls_connection(TLS_Connection*)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:430: undefined reference to `SSL_free' ../lib/libbac.a(tls.o): In function `new_tls_connection(TLS_Context*, int)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:391: undefined reference to `BIO_s_socket' /usr/local/src/bacula-2.0.3/src/lib/tls.c:391: undefined reference to `BIO_new' /usr/local/src/bacula-2.0.3/src/lib/tls.c:397: undefined reference to `BIO_int_ctrl' /usr/local/src/bacula-2.0.3/src/lib/tls.c:403: undefined reference to `SSL_new' /usr/local/src/bacula-2.0.3/src/lib/tls.c:409: undefined reference to `SSL_set_bio' /usr/local/src/bacula-2.0.3/src/lib/tls.c:412: undefined reference to `SSL_ctrl' /usr/local/src/bacula-2.0.3/src/lib/tls.c:418: undefined reference to `BIO_free' /usr/local/src/bacula-2.0.3/src/lib/tls.c:419: undefined reference to `SSL_free' ../lib/libbac.a(tls.o): In function `tls_postconnect_verify_host(TLS_Connection*, char const*)':/ Any tricks? Thanks in advance jorge Jorge González escribió: Hi guys! I'm trying to compile check_bacula (nagios) on 2.0.3. I modified autheticate.c and check_bacula.c (http://article.gmane.org/gmane.comp.bacula.user/26619/match=check+bacula) but it doesn't compile: ==Entering directory /usr/local/src/bacula-2.0.2/src/check_bacula make[1]: se ingresa al directorio `/usr/local/src/bacula-2.0.2/src/check_bacula' /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti check_bacula.c /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti authenticate.c authenticate.c: In function ‘int authenticate_director(BSOCK*, char*, char*)’: authenticate.c:71: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:72: error: ‘cram_md5_auth’ no se declaró en este ámbito authenticate.c: In function ‘int authenticate_storage_daemon(BSOCK*, char*, char*)’: authenticate.c:108: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:109: error: ‘cram_md5_auth’ no se declaró en este ámbito authenticate.c: In function ‘int authenticate_file_daemon(BSOCK*, char*, char*)’: authenticate.c:144: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:145: error: ‘cram_md5_auth’ no se declaró en este ámbito make[1]: *** [authenticate.o] Error 1 make[1]: se sale del directorio `/usr/local/src/bacula-2.0.2/src/check_bacula' Thanks in advance. Jorge - 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
Re: [Bacula-users] Bacula ask for a volume which has inchanger=no ?!?!?
Hello, I just upgraded to 2.0.3 and I still have the problem. When no candidate volume is mounted bacula do weird things. Jobs are sheduled on a volume which is not in the library. If I mount a good volume into the drive, jobs gets scheduled on it. Any pointers ? Arno Lehmann a écrit : Hi, On 5/21/2007 10:33 AM, Adam Cécile wrote: Andreas Helmcke a écrit : On 21.05.2007 08:55, Adam Cécile wrote: Arno Lehmann a écrit : Hello, On 5/18/2007 9:02 AM, Adam Cécile wrote: Hi, Today my director was blocked. It was asking for a volume which had inchangler flag set to no while there was 4 purged volume in the right pool. I had to load the volume into the drive manually (with mtx) and then mount it, otherwise bacula keeps asking for the missing volume. Usually, Bacula shoould use whatever tape is available. Obviously, the catalog has to represent the actual autochanger inventory. How could this happend ? Do I missed something in my configuration ? I don't think this is a configuration issue... most of the time, I see these problems when tapes were changed and no 'update slots' command was executed. Update slots has been run, and list media only reports the good volumes as inchanger. This is a multi-drive autochanger. There is a query in Bacula to show the volumes that Bacula thinks are in the changer. Try this, and if it doesn't reflect the current inventory, do an 'update slots'. That should work. Do you mean list media could be right while the sql catalog may be wrong ? If it doesn't, this should be a bug. You'll need to make sure you've got a recent version of Bacula running, the catalog is up to date, capture debug output for the DIR, and file a bug report. But I don't think this will be necessary :-) It really looks like being a bug... See my previous mail for more informations. Please notice that if I load the right tape with mtx and then mount it in bacula, the job gets written on this volumes. I am not sure but maybe your problems are related to the problems I have while using a multidrive autochanger (see me recent mails to this list). My impression is, that volume selection part of bacula sometimes gets confused and is choosing the wrong volume (or at least one which I consider wrong ;-) ). ... This looks like a serious issue. Which version are you running ? I'm on 1.38. You really should update to 2.0, or, if you dare running a beta version, even 2.1.10. In the newer versions, the device and volume selection and reservation was significantly improved. -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
Re: [Bacula-users] Bacula ask for a volume which has inchanger=no ?!?!?
mins=0 -- Pool: name=Daily PoolType=Backup use_cat=1 use_once=0 acpt_any=1 cat_files=1 max_vols=0 auto_prune=1 VolRetention=14 days VolUse=0 secs recycle=1 LabelFormat=Daily- CleaningPrefix=*None* LabelType=0 RecyleOldest=0 PurgeOldest=0 MaxVolJobs=46 MaxVolFiles=0 -- Storage: name=ULTRIUM-TD3-1 address=srv-mpp-lrs SDport=9103 MaxJobs=2 DeviceName=ULTRIUM-TD3-1 MediaType=LTO3 StorageId=3 -- Run Level=Full hour=12 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=6 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=0 -- Pool: name=Weekly PoolType=Backup use_cat=1 use_once=0 acpt_any=1 cat_files=1 max_vols=0 auto_prune=1 VolRetention=25 days VolUse=0 secs recycle=1 LabelFormat=Weekly- CleaningPrefix=*None* LabelType=0 RecyleOldest=0 PurgeOldest=0 MaxVolJobs=0 MaxVolFiles=0 -- Storage: name=Autochanger address=srv-mpp-lrs SDport=9103 MaxJobs=2 DeviceName=Dell-PV132T MediaType=LTO3 StorageId=2 -- RunBefore=/usr/local/bin/sleep20 -- WriteBootstrap=/var/lib/bacula/srv-mpp-archi-totem.bsr -- Storage: name=Autochanger address=srv-mpp-lrs SDport=9103 MaxJobs=2 DeviceName=Dell-PV132T MediaType=LTO3 StorageId=2 -- Pool: name=Weekly PoolType=Backup use_cat=1 use_once=0 acpt_any=1 cat_files=1 max_vols=0 auto_prune=1 VolRetention=25 days VolUse=0 secs recycle=1 LabelFormat=Weekly- Brian A. Seklecki a écrit : Next time the output of status storage, show volumes, show jobs, list volumes etc would be useful for debugging the decision making behind such behavior ~BAS On Fri, 2007-05-18 at 09:02 +0200, Adam Cécile wrote: Hi, Today my director was blocked. It was asking for a volume which had inchangler flag set to no while there was 4 purged volume in the right pool. I had to load the volume into the drive manually (with mtx) and then mount it, otherwise bacula keeps asking for the missing volume. How could this happend ? Do I missed something in my configuration ? Thanks in advance, Adam. -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
Re: [Bacula-users] Bacula ask for a volume which has inchanger=no ?!?!?
Arno Lehmann a écrit : Hello, On 5/18/2007 9:02 AM, Adam Cécile wrote: Hi, Today my director was blocked. It was asking for a volume which had inchangler flag set to no while there was 4 purged volume in the right pool. I had to load the volume into the drive manually (with mtx) and then mount it, otherwise bacula keeps asking for the missing volume. Usually, Bacula shoould use whatever tape is available. Obviously, the catalog has to represent the actual autochanger inventory. How could this happend ? Do I missed something in my configuration ? I don't think this is a configuration issue... most of the time, I see these problems when tapes were changed and no 'update slots' command was executed. Update slots has been run, and list media only reports the good volumes as inchanger. There is a query in Bacula to show the volumes that Bacula thinks are in the changer. Try this, and if it doesn't reflect the current inventory, do an 'update slots'. That should work. Do you mean list media could be right while the sql catalog may be wrong ? If it doesn't, this should be a bug. You'll need to make sure you've got a recent version of Bacula running, the catalog is up to date, capture debug output for the DIR, and file a bug report. But I don't think this will be necessary :-) It really looks like being a bug... See my previous mail for more informations. Please notice that if I load the right tape with mtx and then mount it in bacula, the job gets written on this volumes. Arno Thanks in advance, Adam. Thanks, Adam. -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
Re: [Bacula-users] Bacula ask for a volume which has inchanger=no ?!?!?
Andreas Helmcke a écrit : On 21.05.2007 08:55, Adam Cécile wrote: Arno Lehmann a écrit : Hello, On 5/18/2007 9:02 AM, Adam Cécile wrote: Hi, Today my director was blocked. It was asking for a volume which had inchangler flag set to no while there was 4 purged volume in the right pool. I had to load the volume into the drive manually (with mtx) and then mount it, otherwise bacula keeps asking for the missing volume. Usually, Bacula shoould use whatever tape is available. Obviously, the catalog has to represent the actual autochanger inventory. How could this happend ? Do I missed something in my configuration ? I don't think this is a configuration issue... most of the time, I see these problems when tapes were changed and no 'update slots' command was executed. Update slots has been run, and list media only reports the good volumes as inchanger. There is a query in Bacula to show the volumes that Bacula thinks are in the changer. Try this, and if it doesn't reflect the current inventory, do an 'update slots'. That should work. Do you mean list media could be right while the sql catalog may be wrong ? If it doesn't, this should be a bug. You'll need to make sure you've got a recent version of Bacula running, the catalog is up to date, capture debug output for the DIR, and file a bug report. But I don't think this will be necessary :-) It really looks like being a bug... See my previous mail for more informations. Please notice that if I load the right tape with mtx and then mount it in bacula, the job gets written on this volumes. I am not sure but maybe your problems are related to the problems I have while using a multidrive autochanger (see me recent mails to this list). My impression is, that volume selection part of bacula sometimes gets confused and is choosing the wrong volume (or at least one which I consider wrong ;-) ). I am trying to narrow the circumstances but by now i can't give the steps needed to reproduce the problem. While testing I found that if i am running the jobs immediately again everything works like I would expect (i.e. bacula reuses the tapes which are already in the drives and does not use new ones) while in normal operation (jobs run once a day) the reported problems occur. Andreas This looks like a serious issue. Which version are you running ? I'm on 1.38. -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
[Bacula-users] Bacula ask for a volume which has inchanger=no ?!?!?
Hi, Today my director was blocked. It was asking for a volume which had inchangler flag set to no while there was 4 purged volume in the right pool. I had to load the volume into the drive manually (with mtx) and then mount it, otherwise bacula keeps asking for the missing volume. How could this happend ? Do I missed something in my configuration ? Thanks in advance, Adam. -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
Re: [Bacula-users] How to unload all loaded tapes to library ?
Hi, Thanks for you reply. I made my own script based on yours and I added stuff to set inchanger flag to no for all volumes. Here is the script : #!/bin/sh /usr/bin/bconsole -c /etc/bacula/bconsole.conf END_OF_DATA unmount storage=Autochanger drive=0 unmount storage=Autochanger drive=1 mount storage=Autochanger drive=0 mount storage=Autochanger drive=1 END_OF_DATA temp=`mktemp` for vol in `echo 'list media' | bconsole -c /etc/bacula/bconsole.conf | grep '^|[[:space:]]\+[0-9]\+' | awk -F'|' '{ print $3 }' | sed 's![^0-9]!!g'`; do echo update volume=${vol} inchanger=no ${temp} done cat ${temp} | bconsole -c /etc/bacula/bconsole.conf rm ${temp} And bacula-dir.conf : Job { Name = Eject-tapes Type = admin Client = srv-mpp-lrs-fd Messages = Standard Storage = Autochanger Pool = Weekly, Daily FileSet = Dummy RunBeforeJob = /etc/bacula/scripts/eject_tapes Priority = 99 } FileSet { Name = Dummy } It seems to do the job for now ! Thomas Sturm a écrit : Hello Adam, that is what I do: I have an admin-Job: Job { Name = unload_tape Type = admin Client = bacula-fd JobDefs = backup FileSet=Catalog RunBeforeJob = /usr/libexec/bacula/unload_tape Schedule = nachts Priority = 99 # } /usr/libexec/bacula/unload_tape: #!/bin/bash /usr/sbin/bconsole -c /etc/bacula/bconsole.conf END_OF_DATA unmount storage=DLT-S4 unmount storage=X unmount storage=Y END_OF_DATA sleep 120 /usr/sbin/bconsole -c /etc/bacula/bconsole.conf END_OF_DATA mount storage=DLT-S4 mount storage=X mount storage=Y END_OF_DATA In the morning, I only have to collect the tapes from the library :-) regards Thomas Am Montag, 14. Mai 2007 09:40 schrieb Adam Cécile: Hi, All weeks I need to unload all tapes from drives to the library, so all tapes can be removed from the Autochanger easily. However, when I do umount, device is marked as BLOCKED and no more jobs run until I mount the drive again. What's the right way to eject all tapes without blocking drives ? Thanks in advance. # bacula-dir.conf # Autochanger Dell PV132T (21x LTO3) Storage { Name = Autochanger Address = srv-mpp-lrs SDPort = 9103 Password = ZK9nC86vuFvW80l28xQ3jaKtEJt89jXM3R31VjdZl Device = Dell-PV132T Media Type = LTO3 Autochanger = yes Maximum Concurrent Jobs = 2 } # bacula-sd.conf # An autochanger device with two drives Autochanger { Name = Dell-PV132T Device = ULTRIUM-TD3-1 Device = ULTRIUM-TD3-2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Changer Device = /dev/sg2 } Device { Name = ULTRIUM-TD3-1 Drive Index = 0 Media Type = LTO3 Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; Offline On Unmount = no; #RandomAccess = no; AutoChanger = yes # Enable the Alert command only if you have the mtx package loaded # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Device { Name = ULTRIUM-TD3-2 Drive Index = 1 Media Type = LTO3 Archive Device = /dev/nst1 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; Offline On Unmount = no; #RandomAccess = no; AutoChanger = yes # Enable the Alert command only if you have the mtx package loaded # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
[Bacula-users] How to unload all loaded tapes to library ?
Hi, All weeks I need to unload all tapes from drives to the library, so all tapes can be removed from the Autochanger easily. However, when I do umount, device is marked as BLOCKED and no more jobs run until I mount the drive again. What's the right way to eject all tapes without blocking drives ? Thanks in advance. # bacula-dir.conf # Autochanger Dell PV132T (21x LTO3) Storage { Name = Autochanger Address = srv-mpp-lrs SDPort = 9103 Password = ZK9nC86vuFvW80l28xQ3jaKtEJt89jXM3R31VjdZl Device = Dell-PV132T Media Type = LTO3 Autochanger = yes Maximum Concurrent Jobs = 2 } # bacula-sd.conf # An autochanger device with two drives Autochanger { Name = Dell-PV132T Device = ULTRIUM-TD3-1 Device = ULTRIUM-TD3-2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Changer Device = /dev/sg2 } Device { Name = ULTRIUM-TD3-1 Drive Index = 0 Media Type = LTO3 Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; Offline On Unmount = no; #RandomAccess = no; AutoChanger = yes # Enable the Alert command only if you have the mtx package loaded # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Device { Name = ULTRIUM-TD3-2 Drive Index = 1 Media Type = LTO3 Archive Device = /dev/nst1 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; Offline On Unmount = no; #RandomAccess = no; AutoChanger = yes # Enable the Alert command only if you have the mtx package loaded # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
Re: [Bacula-users] How to unload all loaded tapes to library ?
Andreas Helmcke a écrit : On 14.05.2007 09:40, Adam Cécile wrote: All weeks I need to unload all tapes from drives to the library, so all tapes can be removed from the Autochanger easily. However, when I do umount, device is marked as BLOCKED and no more jobs run until I mount the drive again. What's the right way to eject all tapes without blocking drives ? I don't know if it's the right way but what I do is a mount with an non existing slot e.g. slot 0 after an unmount. Afterwards the tape will be used again by bacula. Andreas Yes, it's what I'm doing right now (in fact I just type mount, and as there's no more tape loaded in the drive, mount fails, but bacula unblock the drive). However I really would find something like Blocked On Umount = No directive. - 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 -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
Re: [Bacula-users] HFS+ Resource Forks Support
Hey, I have another question, related to this one... Can i backup fork ressources on a Windows 2000 server (forks are supported by this server) ? Justin Lott a écrit : Hello Everyone, I've only just joined the ML so forgive me if I missed this issue being covered in the list archives at gmane. I am having some trouble backing up and restoring files that contain resource fork data from HFS+ volumes. I am using bacula-dir and bacula-sd 2.0.3 on Linux and bacula-fd 2.0.3 on Mac OS X 10.4.9 Intel. I have also tested this same hardware setup with bacula 1.38.11. Everything I have read indicates that backup/restore of files containing resource forks should work properly with either version of bacula that I have tested. What I am seeing however is that these files are listed with a size of zero in both bconsole (during setup of a restore job, by doing a dir during file selection) and also on the client after the restore is complete (the resultant files are zero kilobytes). Looking through the ML archives on gmane, the last post I see concerning this issue was dated Monday, December 4, 2006 from Landon Fuller: From: Kern Sibbald kern at sibbald.com Subject: Re: [Bacula-devel] Bacula status Newsgroups: gmane.comp.bacula.user, gmane.comp.sysutils.backup.bacula.devel Date: 2006-12-04 13:25:57 GMT (21 weeks, 3 days, 22 hours and 19 minutes ago) Hello Landon, On Monday 04 December 2006 05:22, Landon Fuller wrote: I know of a few remaining release critical bugs: - HFS resource fork restoration is broken. This will be easy to fix As I have already stated, the documentation for 1.38.11 and 2.0.3 imply that this feature works correctly. My question to the ML is this: Are files on HFS+ filesystems containing resource fork data able to be properly backed up and restored using Bacula (either 1.38.11 or 2.0.3)? Pasted below are the relevant configuration files. Any assistance is much appreciated. - Justin Lott ( client fileset definition) FileSet { Name = oxygen-FileSet Ignore FileSet Changes = yes Include { Options { ACL Support = yes HFSPlus Support = yes Signature = SHA1 } Options { Exclude = yes @/etc/bacula/include/default-macosx-client-fileset-exclude #WildDir = /Users/jcl/Movies } #@/etc/bacula/include/default-macosx-client-fileset-include File = /System/Library/Fonts } } (/etc/bacula/include/default-macosx-client-fileset-exclude) # Exclude some programs file caches, etc. WildDir = /Users/*/Library/Caches WildDir = /Users/*/Library/Cookies WildDir = /Users/*/Library/Icons WildDir = /Users/*/Library/Mail/IMAP-* WildDir = /Users/*/Library/Recent Servers # Files and directories WildFile = */.DS_Store - 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 -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
Re: [Bacula-users] Is HFS+ support working currently?
Hi, I'm really interrested in having more infos about it. I would know is there's anyway to backup fork ressources (like mac aliases) from a Windows 2000 server NAS. Regards, Adam. Adam Compton a écrit : Hello, I am having issues with restoring Mac OS X resource forks stored on a HFS+ filesystem. I noticed while researching the problem that a post to bacula-devel[1] mentioned that HFS+ resource fork restoration was broken as of early December last year. I'm curious to know if this is still the case, or if I have a different problem. I was unable to find a bug related to HFS+ support in the bug database, but that may very well be because I am not familiar with its use. I have a Linux director[2] and storage daemon[3], and file daemons of all shapes and colors (Linux, Mac OS X, and Windows). The Mac OS X file daemon[4] is set to back up the system to a pool of file volumes on the storage daemon (as are the other file daemons). I've included the director configuration file for this client at [5]. When I try to restore a file with a resource fork, I get the file (restored to /tmp/bacula-restores by default), but no resource fork. The SplitForks utility provided with the Developer Tools does not notice a resource fork worth creating an AppleDouble file for, and doing a ls of the resource fork (ls -l filename/rsrc) shows a size of zero. Also, the console message for the successful restore command tells me that a total of X bytes were restored, being exactly equal to the number of bytes in the data fork of the file, instead of the size of the data fork and the resource fork like I'd expect. If it is the case that HFS+ resource fork support is still broken, I'd be more than happy to help test any fixes, although I don't know that I'd be able to contribute much in the way of code. If it has been fixed, is there any way for me to verify that resource forks are being backed up properly, and are there any special procedures that I need to take in order to restore them? Thanks in advance for your time. Adam Compton Network Administrator Sierra Canyon School [1] http://article.gmane.org/gmane.comp.sysutils.backup.bacula.devel/7662/match=hfs [2] hercules-dir Version: 2.0.3 (06 March 2007) x86_64-pc-linux-gnu gentoo [3] hercules-sd Version: 2.0.3 (06 March 2007) x86_64-pc-linux-gnu gentoo [4] hestia-fd Version: 2.0.2 (28 January 2007) powerpc-apple-darwin8.8.0 darwin 8.8.0 [5] bacula-dir-hestia-fd.conf: # Client Config # Client { Name = hestia-fd Address = hestia FDPort = 9102 Catalog = MyCatalog Password = redacted File Retention = 2 weeks Job Retention = 1 week AutoPrune = yes } # Jobs Config # Job { Name = Hestia OS JobDefs = Default OS Job Client = hestia-fd FileSet = Hestia OS FileSet } # FileSet Config # FileSet { Name = Hestia OS FileSet Include { Options { signature = MD5 sparse = yes compression = GZIP hfsplussupport = yes } File = / } Exclude { # Be sure to put the excluded files from Carbon Copy Cloner in here too File = /StudentHomes File = /Shared Items snip File = /Volumes File = /.hotfiles.btree } } - 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 -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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
[Bacula-users] Duration of bscan (LTO3)
Hi, Could you tell me approximately the duration of bscan -m on a nearly full LTO3 tape ? Thanks in advance. -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Limit incremental backups to ONE drive
Alan solution works fine. I had to wait last night to confirm everything works fine and it does! Thanks a lot for all your help, this mailling list is really usefull. Arno Lehmann a écrit : Additional to what Alan already suggested... It would help if you tld us which version of Bacula you run and how your device and jobs are set up now. Anyway, I guess adding 'prefer mounted volume=no' to the schedules might be worth a try. I haven't investigated if that is possible, though. Arno On 3/13/2007 5:36 PM, Adam Cécile wrote: Hello, Due to speed requirement I use both two drives of my PV132T to run full weekly backups. However, I made daily incremental backups too, on monday to tuesday and now two tapes are required (due to the use of both drives). Is there anyway to limite incremental backups to one drive ? Thanks in advance, Best regards, Adam. -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Limit incremental backups to ONE drive
Adam Cécile a écrit : Michael Proto a écrit : Adam Cécile wrote: Hello, Due to speed requirement I use both two drives of my PV132T to run full weekly backups. However, I made daily incremental backups too, on monday to tuesday and now two tapes are required (due to the use of both drives). Is there anyway to limite incremental backups to one drive ? Thanks in advance, Best regards, Adam. If you are using a schedule for your incremental backups, and assuming you have 2 storage resources listed in your director config (one for each drive), you could add a Storage override directive to the incremental schedule to use only one of those 2 drives. -Proto Hi, The problem is the PV132 is an autochanger with two LOT3 drives. So I have only one storage directive. Hi, I still don't know how can I do what I explained above, any pointers ? Best regards, Adam. -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Limit incremental backups to ONE drive
Hello, Due to speed requirement I use both two drives of my PV132T to run full weekly backups. However, I made daily incremental backups too, on monday to tuesday and now two tapes are required (due to the use of both drives). Is there anyway to limite incremental backups to one drive ? Thanks in advance, Best regards, Adam. -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Limit incremental backups to ONE drive
Michael Proto a écrit : Adam Cécile wrote: Hello, Due to speed requirement I use both two drives of my PV132T to run full weekly backups. However, I made daily incremental backups too, on monday to tuesday and now two tapes are required (due to the use of both drives). Is there anyway to limite incremental backups to one drive ? Thanks in advance, Best regards, Adam. If you are using a schedule for your incremental backups, and assuming you have 2 storage resources listed in your director config (one for each drive), you could add a Storage override directive to the incremental schedule to use only one of those 2 drives. -Proto Hi, The problem is the PV132 is an autochanger with two LOT3 drives. So I have only one storage directive. -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] The number of files mismatch! but next job is fine ?
Hello, I have a strange issue with my daily backups. The two first jobs fails, because tape 'Daily-004' seems to be crap, however all next jobs are fine. Here is the logs : 28-fév 21:01 srv-mpp-lrs-sd: Job Backup-srv-mpp-datas-Echange_MEDIA.2007-02-28_21.00.02 waiting to reserve a device. 28-fév 21:00 srv-mpp-lrs-dir: Start Backup JobId 2159, Job=Backup-srv-mpp-lrs.2007-02-28_21.00.00 28-fév 21:00 srv-mpp-lrs-sd: 3301 Issuing autochanger loaded drive 0 command. 28-fév 21:00 srv-mpp-lrs-sd: 3302 Autochanger loaded drive 0, result: nothing loaded. 28-fév 21:00 srv-mpp-lrs-sd: 3304 Issuing autochanger load slot 15, drive 0 command. 28-fév 21:00 srv-mpp-lrs-sd: 3305 Autochanger load slot 15, drive 0, status is OK. 28-fév 21:01 srv-mpp-lrs-sd: 3301 Issuing autochanger loaded drive 0 command. 28-fév 21:01 srv-mpp-lrs-sd: 3302 Autochanger loaded drive 0, result is Slot 15. 28-fév 21:01 srv-mpp-lrs-sd: Volume Daily-0004 previously written, moving to end of data. 28-fév 21:02 srv-mpp-lrs-sd: Ready to append to end of Volume Daily-0004 at file=188. 28-fév 21:02 srv-mpp-lrs-dir: Bacula 1.38.11 (28Jun06): 28-fév-2007 21:02:34 = Backup OK 28-fév 21:05 srv-mpp-lrs-sd: Job Backup-srv-mpp-lrs-MySQL-inventory.2007-02-28_21.00.01 waiting to reserve a device. 28-fév 21:00 srv-mpp-lrs-dir: Start Backup JobId 2161, Job=Backup-srv-mpp-datas-Echange_MEDIA.2007-02-28_21.00.02 28-fév 21:00 srv-mpp-lrs-sd: 3301 Issuing autochanger loaded drive 1 command. 28-fév 21:01 srv-mpp-lrs-sd: 3302 Autochanger loaded drive 1, result: nothing loaded. 28-fév 21:01 srv-mpp-lrs-sd: Job Backup-srv-mpp-datas-Echange_MEDIA.2007-02-28_21.00.02 waiting to reserve a device. 28-fév 21:02 srv-mpp-lrs-sd: 3307 Issuing autochanger unload slot 15, drive 0 command. 28-fév 21:04 srv-mpp-lrs-sd: 3304 Issuing autochanger load slot 15, drive 1 command. 28-fév 21:05 srv-mpp-lrs-sd: 3305 Autochanger load slot 15, drive 1, status is OK. 28-fév 21:05 srv-mpp-lrs-sd: 3301 Issuing autochanger loaded drive 1 command. 28-fév 21:05 srv-mpp-lrs-sd: 3302 Autochanger loaded drive 1, result is Slot 15. 28-fév 21:05 srv-mpp-lrs-sd: Volume Daily-0004 previously written, moving to end of data. 28-fév 21:06 srv-mpp-lrs-sd: Backup-srv-mpp-datas-Echange_MEDIA.2007-02-28_21.00.02 Error: I cannot write on Volume Daily-0004 because: The number of files mismatch! Volume=189 Catalog=188 28-fév 21:06 srv-mpp-lrs-sd: Marking Volume Daily-0004 in Error in Catalog. 28-fév 21:06 srv-mpp-lrs-dir: Backup-srv-mpp-datas-Echange_MEDIA.2007-02-28_21.00.02 Fatal error: Volume Files at 189 being set to 188 for Volume Daily-0004. This is incorrect. 28-fév 21:06 srv-mpp-lrs-sd: Backup-srv-mpp-datas-Echange_MEDIA.2007-02-28_21.00.02 Fatal error: Error getting Volume info: 1992 Update Media error. VolFiles=188, CatFiles=189 28-fév 21:06 srv-mpp-lrs-sd: Backup-srv-mpp-datas-Echange_MEDIA.2007-02-28_21.00.02 Fatal error: Job 2161 canceled. 28-fév 21:06 srv-mpp-datas-fd: Backup-srv-mpp-datas-Echange_MEDIA.2007-02-28_21.00.02 Fatal error: ../../filed/job.c:1751 Bad response to Append Data command. Wanted 3000 OK data , got 3903 Error append data = Backup Error Maximum Concurrent HJobs are set to two for both director and storage. It seems the first jobs (Backup-srv-mpp-datas-Echange_MEDIA) starts but doesn't see there is already another jobs running (Backup-srv-mpp-lrs). Looking for some pointers... Thanks in advance, Best regards, Adam Cécile. -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot label tape from bconsole
Check permissions on /dev/nst0. Alfonso Amato - Sintecnos srl a écrit : While setting up Bacula and following Brief Tutorial, I see a strange problem: after the command run asking me for labelling the tape, I give the command label, and bconsole gets lock for some 2 minutes, than says: 3910 Unable to open device DAT72 (/dev/nst0): ERR=dev.c:424 Unable to open device DAT72 (/dev/nst0): ERR=Permission denied The most strange thing is that if I use btape /dev/nst0 and issue a command label, it works correctly and the read command says the tape has been correctly labelled. The Linux Box is a FC4. bacula-sd.conf file about device is: Device { Name = DAT72 Media Type = DSS-3 Device Type = Tape Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; Label Media = yes; Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } and in the bacula-dir.conf: Storage { Name = Tape Address = backupserver.pippo.local #existing address resolved SDPort = 9103 Password = Device = DAT72 Media Type = DSS-3 } Any help? Thanks Alfonso - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Localisation of bacula's emails
Hello, I'm wodering is there's a good way to translate bacula's emails. Could you tell how can I do this ? Thanks in advance, Best regards, Adam Cécile. -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Issue with multiple drives and autochanger
Hi, Any suggest I could start looking at ? Regards, Adam Cécile. Adam Cécile a écrit : Hello, I have set up a bacula installation with a Dell 132T autochanger (/dev/sg2). It has two LOT3 drives, /dev/nst0 and /dev/nst1. Both drives works fine with the mtx-changer script. Currently backup are done but only used drive 0. I would like to run jobs on both drive 0 and 1, however when I start two jobs at the same, the first one starts and the second one starts two but wait for drive 0 to become free before writing. Could you help me to get the second jobs, loads a tape in drive 1 and starts writing on drive 1, while drive 0 is used ? Thanks in advance. PS: See some parts of my config below! Here is my storage daemon conf : Storage { # definition of myself Name = srv-mpp-lrs-sd SDPort = 9103 # Director's port WorkingDirectory = /var/lib/bacula Pid Directory = /var/run/bacula Maximum Concurrent Jobs = 2 SDAddress = 0.0.0.0 } Director { Name = srv-mpp-lrs-dir Password = xxx } Director { Name = srv-mpp-lrs-mon Password = xxx Monitor = yes } # An autochanger device with two drives Autochanger { Name = Dell-PV132T Device = ULTRIUM-TD3-1 Device = ULTRIUM-TD3-2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Changer Device = /dev/sg2 } Device { Name = ULTRIUM-TD3-1 Drive Index = 0 Media Type = LTO3 Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; #RandomAccess = no; AutoChanger = yes # Enable the Alert command only if you have the mtx package loaded # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Device { Name = ULTRIUM-TD3-2 Drive Index = 1 Media Type = LTO3 Archive Device = /dev/nst1 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; #RandomAccess = no; AutoChanger = yes # Enable the Alert command only if you have the mtx package loaded # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Messages { Name = Standard director = srv-mpp-lrs-dir = all } And some usefull parts of director conf : Director {# define myself Name = srv-mpp-lrs-dir DIRport = 9101# where we listen for UA connections QueryFile = /etc/bacula/scripts/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run/bacula Password = xxx # Console password Messages = Daemon DirAddress = 0.0.0.0 Maximum Concurrent Jobs = 2 } # Templates pour les jobs JobDefs { Name = DefaultJob Type = Backup Storage = Autochanger Messages = Standard Client = srv-mpp-lrs-fd FileSet = Full Set Priority = 5 # Do not wait more than 6days (next weekly) Max Start Delay = 6d Max Wait Time = 6d # Do not wait more than 23h (next daily) Incremental Max Wait Time = 23h Schedule = Planning Pool = Weekly, Daily } # Autochanger Dell PV132T (21x LTO3) Storage { Name = Autochanger Address = srv-mpp-lrs SDPort = 9103 Password = xxx Device = Dell-PV132T # must be same as Device in Storage daemon Media Type = LTO3 # must be same as MediaType in Storage daemon Autochanger = yes # enable for autochanger device Maximum Concurrent Jobs = 2 } -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Issue with multiple drives and autochanger
Kern Sibbald a écrit : On Tuesday 20 February 2007 10:47, Adam Cécile wrote: Hi, Any suggest I could start looking at ? 1. Run the SD with debug level 100. 2. Look at doc for PreferMountedVolumes Thanks a lot, it was my mistake ;-) 3. Although you provided your conf files (very useful), you did not say what version of Bacula you are using (important) nor show any of the output where the drive is not used. Regards, Adam Cécile. Adam Cécile a écrit : Hello, I have set up a bacula installation with a Dell 132T autochanger (/dev/sg2). It has two LOT3 drives, /dev/nst0 and /dev/nst1. Both drives works fine with the mtx-changer script. Currently backup are done but only used drive 0. I would like to run jobs on both drive 0 and 1, however when I start two jobs at the same, the first one starts and the second one starts two but wait for drive 0 to become free before writing. Could you help me to get the second jobs, loads a tape in drive 1 and starts writing on drive 1, while drive 0 is used ? Thanks in advance. PS: See some parts of my config below! Here is my storage daemon conf : Storage { # definition of myself Name = srv-mpp-lrs-sd SDPort = 9103 # Director's port WorkingDirectory = /var/lib/bacula Pid Directory = /var/run/bacula Maximum Concurrent Jobs = 2 SDAddress = 0.0.0.0 } Director { Name = srv-mpp-lrs-dir Password = xxx } Director { Name = srv-mpp-lrs-mon Password = xxx Monitor = yes } # An autochanger device with two drives Autochanger { Name = Dell-PV132T Device = ULTRIUM-TD3-1 Device = ULTRIUM-TD3-2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Changer Device = /dev/sg2 } Device { Name = ULTRIUM-TD3-1 Drive Index = 0 Media Type = LTO3 Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; #RandomAccess = no; AutoChanger = yes # Enable the Alert command only if you have the mtx package loaded # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Device { Name = ULTRIUM-TD3-2 Drive Index = 1 Media Type = LTO3 Archive Device = /dev/nst1 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; #RandomAccess = no; AutoChanger = yes # Enable the Alert command only if you have the mtx package loaded # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Messages { Name = Standard director = srv-mpp-lrs-dir = all } And some usefull parts of director conf : Director {# define myself Name = srv-mpp-lrs-dir DIRport = 9101# where we listen for UA connections QueryFile = /etc/bacula/scripts/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run/bacula Password = xxx # Console password Messages = Daemon DirAddress = 0.0.0.0 Maximum Concurrent Jobs = 2 } # Templates pour les jobs JobDefs { Name = DefaultJob Type = Backup Storage = Autochanger Messages = Standard Client = srv-mpp-lrs-fd FileSet = Full Set Priority = 5 # Do not wait more than 6days (next weekly) Max Start Delay = 6d Max Wait Time = 6d # Do not wait more than 23h (next daily) Incremental Max Wait Time = 23h Schedule = Planning Pool = Weekly, Daily } # Autochanger Dell PV132T (21x LTO3) Storage { Name = Autochanger Address = srv-mpp-lrs SDPort = 9103 Password = xxx Device = Dell-PV132T # must be same as Device in Storage daemon Media Type = LTO3 # must be same as MediaType in Storage daemon Autochanger = yes # enable for autochanger device Maximum Concurrent Jobs = 2 } -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Issue with multiple drives and autochanger
Hello, I have set up a bacula installation with a Dell 132T autochanger (/dev/sg2). It has two LOT3 drives, /dev/nst0 and /dev/nst1. Both drives works fine with the mtx-changer script. Currently backup are done but only used drive 0. I would like to run jobs on both drive 0 and 1, however when I start two jobs at the same, the first one starts and the second one starts two but wait for drive 0 to become free before writing. Could you help me to get the second jobs, loads a tape in drive 1 and starts writing on drive 1, while drive 0 is used ? Thanks in advance. PS: See some parts of my config below! Here is my storage daemon conf : Storage { # definition of myself Name = srv-mpp-lrs-sd SDPort = 9103 # Director's port WorkingDirectory = /var/lib/bacula Pid Directory = /var/run/bacula Maximum Concurrent Jobs = 2 SDAddress = 0.0.0.0 } Director { Name = srv-mpp-lrs-dir Password = xxx } Director { Name = srv-mpp-lrs-mon Password = xxx Monitor = yes } # An autochanger device with two drives Autochanger { Name = Dell-PV132T Device = ULTRIUM-TD3-1 Device = ULTRIUM-TD3-2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Changer Device = /dev/sg2 } Device { Name = ULTRIUM-TD3-1 Drive Index = 0 Media Type = LTO3 Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; #RandomAccess = no; AutoChanger = yes # Enable the Alert command only if you have the mtx package loaded # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Device { Name = ULTRIUM-TD3-2 Drive Index = 1 Media Type = LTO3 Archive Device = /dev/nst1 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; #RandomAccess = no; AutoChanger = yes # Enable the Alert command only if you have the mtx package loaded # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Messages { Name = Standard director = srv-mpp-lrs-dir = all } And some usefull parts of director conf : Director {# define myself Name = srv-mpp-lrs-dir DIRport = 9101# where we listen for UA connections QueryFile = /etc/bacula/scripts/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run/bacula Password = xxx # Console password Messages = Daemon DirAddress = 0.0.0.0 Maximum Concurrent Jobs = 2 } # Templates pour les jobs JobDefs { Name = DefaultJob Type = Backup Storage = Autochanger Messages = Standard Client = srv-mpp-lrs-fd FileSet = Full Set Priority = 5 # Do not wait more than 6days (next weekly) Max Start Delay = 6d Max Wait Time = 6d # Do not wait more than 23h (next daily) Incremental Max Wait Time = 23h Schedule = Planning Pool = Weekly, Daily } # Autochanger Dell PV132T (21x LTO3) Storage { Name = Autochanger Address = srv-mpp-lrs SDPort = 9103 Password = xxx Device = Dell-PV132T # must be same as Device in Storage daemon Media Type = LTO3 # must be same as MediaType in Storage daemon Autochanger = yes # enable for autochanger device Maximum Concurrent Jobs = 2 } -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users