[Bacula-users] Webacula errors using two catalogs
Hi, I do not know if this is the correct forum to ask, but I just migrate from bacula 5x to 7x, and I was trying to manage it using webacula (v7.0.0, build 2014.10.05). The first handicap I just find is that i have two catalogs (in a firts step I only want to use the first one) and some pages do not work properly because of this (I have not found a way to pass the catalog selection from web interface). The other (maybe related to the first) is some error when i try to run or re-run a job from web interface i always get this error job name "was not found in the *haystack*" (Zend Framework 1.12.0) Has Someone any idea how to solve this issues? regards, I -- #### Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 PGP PUBLIC KEY: http://pgp.mit.edu/pks/lookup?op=get=0xD9DF0B3D6C8C08AC Bertrand Russell:*"El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están **llenos de dudas*" -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Specified slot ignored
Hi, One think more..I see these jobs running on catalog 1 (the default catalog=MyCatalog) and not in 2 *use catalog=Preservation Using Catalog Preservation Using Catalog name=Preservation DB=bacula_longterm 326 | Cab47 | 2015-06-13 01:07:55 | B| I | 0 | 0 | T | | 327 | Cab48 | 2015-06-13 01:07:59 | B| I | 0 | 0 | T | | 328 | Cab49 | 2015-06-13 01:08:01 | B| I | 0 | 0 | T | | 329 | Cab50 | 2015-06-13 01:08:03 | B| I | 0 | 0 | T | | 330 | CabSub | 2015-06-13 01:08:05 | B| I |10,473 | 241,931,499,589 | T | *use catalog=MyCatalog Using Catalog MyCatalog Using Catalog name=MyCatalog DB=bacula | 17,107 | Cab21| 2015-08-11 10:45:57 | B| F | 0 | 0 | f | | 17,191 | CabSub | 2015-08-11 11:20:51 | B| F | 0 | 0 | R | +++-+--+---+---+---+---+ How can i force to run in Catalog 2?? Cheers, I 2015-08-11 13:15 GMT+02:00 Iban Cabrillo cabri...@ifca.unican.es: Dear Bacula Admins, Since a couple of weeks I have some troubles trying to backup some files. I have two catalogs one for sort cycled backups and other for long time backup. each one of them with their respective pools it has been working fine for year. but since a couple of weeks I can not make incremental backs for longtime catalog. The pool has appendable volumes: ... | 58 | B01036LV | Full | 1 | 1,338,922,180,608 | 1,383 | 630,720,000 | 0 | 84 | 1 | LTO-5 | 2015-03-15 07:05:15 | | 59 | B01037LV | Full | 1 | 1,420,738,785,280 | 1,443 | 630,720,000 | 0 | 85 | 1 | LTO-5 | 2015-04-12 03:52:47 | | 60 | B01038LV | Append| 1 | 453,005,337,600 | 495 | 630,720,000 | 0 |8 | 1 | LTO-5 | 2015-06-13 07:37:21 | | 61 | B01039LV | Append| 1 | 1,024 | 0 | 630,720,000 | 0 | 87 | 1 | LTO-5 | -00-00 00:00:00 | | 62 | B01040LV | Append| 1 | 1,024 | 0 | 630,720,000 | 0 | 88 | 1 | LTO-5 | -00-00 00:00:00 | | 63 | B01041LV | Append| 1 | 1,024 | 0 | 630,720,000 | 0 | 89 | 1 | LTO-5 | -00-00 00:00:00 | | 64 | B01042LV | Append| 1 | 1,024 | 0 | 630,720,000 | 0 | 90 | 1 | LTO-5 | -00-00 00:00:00 | +-++---+-+---+--+--+-+--+---+---+-+ * Device status: Autochanger TSM3500 with devices: ULT3580-TD3 (/dev/nst1) ULT3580-TD5 (/dev/nst0) Device FileStorage (/data/Bacula/Default) is not open. Device ULT3580-TD3 (/dev/nst1) is not open. Drive 1 is not loaded. Device ULT3580-TD5 (/dev/nst0) is not open. Device is BLOCKED waiting to create a volume for: Pool:Cabas Media type: LTO-5 Drive 0 is not loaded. Even mounting the tape using mtx command and (*mount slot=8...) It does not work. Any idea? Regards, I -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 PGP PUBLIC KEY: http://pgp.mit.edu/pks/lookup?op=getsearch=0xD9DF0B3D6C8C08AC Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 PGP PUBLIC KEY: http://pgp.mit.edu/pks/lookup?op=getsearch=0xD9DF0B3D6C8C08AC Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Specified slot ignored
Dear Bacula Admins, Since a couple of weeks I have some troubles trying to backup some files. I have two catalogs one for sort cycled backups and other for long time backup. each one of them with their respective pools it has been working fine for year. but since a couple of weeks I can not make incremental backs for longtime catalog. The pool has appendable volumes: ... | 58 | B01036LV | Full | 1 | 1,338,922,180,608 | 1,383 | 630,720,000 | 0 | 84 | 1 | LTO-5 | 2015-03-15 07:05:15 | | 59 | B01037LV | Full | 1 | 1,420,738,785,280 |1,443 | 630,720,000 | 0 | 85 | 1 | LTO-5 | 2015-04-12 03:52:47 | | 60 | B01038LV | Append| 1 | 453,005,337,600 | 495 | 630,720,000 | 0 |8 | 1 | LTO-5 | 2015-06-13 07:37:21 | | 61 | B01039LV | Append| 1 | 1,024 |0 | 630,720,000 | 0 | 87 | 1 | LTO-5 | -00-00 00:00:00 | | 62 | B01040LV | Append| 1 | 1,024 |0 | 630,720,000 | 0 | 88 | 1 | LTO-5 | -00-00 00:00:00 | | 63 | B01041LV | Append| 1 | 1,024 |0 | 630,720,000 | 0 | 89 | 1 | LTO-5 | -00-00 00:00:00 | | 64 | B01042LV | Append| 1 | 1,024 |0 | 630,720,000 | 0 | 90 | 1 | LTO-5 | -00-00 00:00:00 | +-++---+-+---+--+--+-+--+---+---+-+ * Device status: Autochanger TSM3500 with devices: ULT3580-TD3 (/dev/nst1) ULT3580-TD5 (/dev/nst0) Device FileStorage (/data/Bacula/Default) is not open. Device ULT3580-TD3 (/dev/nst1) is not open. Drive 1 is not loaded. Device ULT3580-TD5 (/dev/nst0) is not open. Device is BLOCKED waiting to create a volume for: Pool:Cabas Media type: LTO-5 Drive 0 is not loaded. Even mounting the tape using mtx command and (*mount slot=8...) It does not work. Any idea? Regards, I -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 PGP PUBLIC KEY: http://pgp.mit.edu/pks/lookup?op=getsearch=0xD9DF0B3D6C8C08AC Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Specified slot ignored
Hi, Solved, Sometime time ago I changed the client used to do the backup and it was pointed out to the default catalog. Cheers, I 2015-08-11 13:44 GMT+02:00 Iban Cabrillo cabri...@ifca.unican.es: Hi, One think more..I see these jobs running on catalog 1 (the default catalog=MyCatalog) and not in 2 *use catalog=Preservation Using Catalog Preservation Using Catalog name=Preservation DB=bacula_longterm 326 | Cab47 | 2015-06-13 01:07:55 | B| I | 0 | 0 | T | | 327 | Cab48 | 2015-06-13 01:07:59 | B| I | 0 | 0 | T | | 328 | Cab49 | 2015-06-13 01:08:01 | B| I | 0 | 0 | T | | 329 | Cab50 | 2015-06-13 01:08:03 | B| I | 0 | 0 | T | | 330 | CabSub | 2015-06-13 01:08:05 | B| I |10,473 | 241,931,499,589 | T | *use catalog=MyCatalog Using Catalog MyCatalog Using Catalog name=MyCatalog DB=bacula | 17,107 | Cab21| 2015-08-11 10:45:57 | B| F | 0 | 0 | f | | 17,191 | CabSub | 2015-08-11 11:20:51 | B| F | 0 | 0 | R | +++-+--+---+---+---+---+ How can i force to run in Catalog 2?? Cheers, I 2015-08-11 13:15 GMT+02:00 Iban Cabrillo cabri...@ifca.unican.es: Dear Bacula Admins, Since a couple of weeks I have some troubles trying to backup some files. I have two catalogs one for sort cycled backups and other for long time backup. each one of them with their respective pools it has been working fine for year. but since a couple of weeks I can not make incremental backs for longtime catalog. The pool has appendable volumes: ... | 58 | B01036LV | Full | 1 | 1,338,922,180,608 | 1,383 | 630,720,000 | 0 | 84 | 1 | LTO-5 | 2015-03-15 07:05:15 | | 59 | B01037LV | Full | 1 | 1,420,738,785,280 | 1,443 | 630,720,000 | 0 | 85 | 1 | LTO-5 | 2015-04-12 03:52:47 | | 60 | B01038LV | Append| 1 | 453,005,337,600 | 495 | 630,720,000 | 0 |8 | 1 | LTO-5 | 2015-06-13 07:37:21 | | 61 | B01039LV | Append| 1 | 1,024 | 0 | 630,720,000 | 0 | 87 | 1 | LTO-5 | -00-00 00:00:00 | | 62 | B01040LV | Append| 1 | 1,024 | 0 | 630,720,000 | 0 | 88 | 1 | LTO-5 | -00-00 00:00:00 | | 63 | B01041LV | Append| 1 | 1,024 | 0 | 630,720,000 | 0 | 89 | 1 | LTO-5 | -00-00 00:00:00 | | 64 | B01042LV | Append| 1 | 1,024 | 0 | 630,720,000 | 0 | 90 | 1 | LTO-5 | -00-00 00:00:00 | +-++---+-+---+--+--+-+--+---+---+-+ * Device status: Autochanger TSM3500 with devices: ULT3580-TD3 (/dev/nst1) ULT3580-TD5 (/dev/nst0) Device FileStorage (/data/Bacula/Default) is not open. Device ULT3580-TD3 (/dev/nst1) is not open. Drive 1 is not loaded. Device ULT3580-TD5 (/dev/nst0) is not open. Device is BLOCKED waiting to create a volume for: Pool:Cabas Media type: LTO-5 Drive 0 is not loaded. Even mounting the tape using mtx command and (*mount slot=8...) It does not work. Any idea? Regards, I -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 PGP PUBLIC KEY: http://pgp.mit.edu/pks/lookup?op=getsearch=0xD9DF0B3D6C8C08AC Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 PGP PUBLIC KEY: http://pgp.mit.edu/pks/lookup?op=getsearch=0xD9DF0B3D6C8C08AC Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 PGP PUBLIC KEY: http://pgp.mit.edu/pks/lookup?op=getsearch=0xD9DF0B3D6C8C08AC
[Bacula-users] Back error only in one machine
.Total Bytes=393,608,082,432 Blocks=1,501,523 Bytes/block=262,139Positioned at File=425 Block=0* *Device ULT3580-TD5 (/dev/nst0) is not open.Drive 0 is not loaded.Used Volume status:L30006L3 on device ULT3580-TD3 (/dev/nst1)Reader=0 writers=0 devres=0 volinuse=0L50014L5 on device ULT3580-TD5 (/dev/nst0)Reader=0 writers=0 devres=0 volinuse=0Data spooling: 0 active jobs, 0 bytes; 1302 total jobs, 19,998,308,040 max bytes/job.Attr spooling: 0 active jobs, 9,230,696,467 bytes; 1302 total jobs, 9,230,696,467 max bytes.* The spool data is no longer on spool directory.ls -la /data/spool/bacula-sd.data.16580.BackIbergrid-voms.2015-07-13_10.01.02_03.ULT3580-TD3.spool -rw-r- 1 bacula tape 237513329 Jul 13 10:03 /data/spool/bacula-sd.data.16580.BackIbergrid-voms.2015-07-13_10.01.02_03.ULT3580-TD3.spool ls -la /data/spool/bacula-sd.data.16580.BackIbergrid-voms.2015-07-13_10.01.02_03.ULT3580-TD3.spool ls: cannot access /data/spool/bacula-sd.data.16580.BackIbergrid-voms.2015-07-13_10.01.02_03.ULT3580-TD3.spool: No such file or directory During long time (1h-2h ) , list jobs, soy the job as running... 16,580 | BackIbergrid-voms | 2015-07-13 10:01:05 | B| F | 0 | 0 | R **messages13-Jul 12:01 bacula-dir JobId 16580: Fatal error: Network error with FD during Backup: ERR=Connection reset by peer13-Jul 12:01 bacula-dir JobId 16580: Fatal error: No Job status returned from FD.13-Jul 12:01 bacula-dir JobId 16580: Error: Bacula bacula-dir 5.2.6 (21Feb12): Build OS: x86_64-pc-linux-gnu ubuntu 12.10 JobId: 16580 Job:BackIbergrid-voms.2015-07-13_10.01.02_03 Backup Level: Full Client: ibergrid-voms-fd 5.0.0 (26Jan10) x86_64-redhat-linux-gnu,redhat,(Carbon) FileSet:FullServicesNoHome 2013-09-02 23:05:00 Pool: Full (From Job FullPool override) Catalog:MyCatalog (From Client resource) Storage:TSM3500-LTO3 (From Job resource) Scheduled time: 13-Jul-2015 10:00:59 Start time: 13-Jul-2015 10:01:05 End time: 13-Jul-2015 12:01:06 Elapsed time: 2 hours 1 sec Priority: 10 FD Files Written: 0 SD Files Written: 137,078 FD Bytes Written: 0 (0 B) SD Bytes Written: 1,245,362,413 (1.245 GB) Rate: 0.0 KB/s Software Compression: None VSS:no Encryption: no Accurate: no Volume name(s): L30006L3 Volume Session Id: 1611 Volume Session Time:1430999647 Last Volume Bytes: 393,608,082,432 (393.6 GB) Non-fatal FD errors:1 SD Errors: 0 FD termination status: Error SD termination status: OK Termination:*** Backup Error | 16,580 | BackIbergrid-voms | 2015-07-13 10:01:05 | B| F | 0 | 0 | f Any Idea? Cheers, I -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 PGP PUBLIC KEY: http://pgp.mit.edu/pks/lookup?op=getsearch=0xD9DF0B3D6C8C08AC Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula TLS help
HI Tim, I was pretty sure that the trouble was on the CN, could you tray to create the cert without the email value?? /emailAddress=bluethu...@gmail.comhttp://storage.jokefire.com/emailAddress=bluethu...@gmail.com, only CN=storage.jokefire.com. Have you check too that these files: /etc/pki/tls/certs/storage.jokefire.com.crt /etc/pki/tls/private/storage.jokefire.com.key belongs to bacula user ? regards, I 2013/11/28 Tim Dunphy bluethu...@gmail.com Hello Iban! And thank you for your reply. I have a similar configuration. I think that the problem is in the CN: CN=storage.jokefire.com/emailAddress=bluethu...@gmail.com please could you show the value for DirAddress = bacula.example.org in my case: DirAddress = bacula.example.org TLS Enable = yes TLS Require = yes TLS Verify Peer = no TLS CA Certificate File = /etc/bacula/certs/ca/signing-ca-1.crt TLS Certificate = /etc/bacula/certs/cert/bacula.crt TLS Key = /etc/bacula/certs/key/bacula.key This is my director configuration from bacula-dir.conf Director {# define myself Name = storage.jokefire.com DIRport = 9101# where we listen for UA connections QueryFile = /etc/bacula/query.sql WorkingDirectory = /var/spool/bacula PidDirectory = /var/run Maximum Concurrent Jobs = 1 Password = secret # Console password Messages = Daemon TLS Certificate = /etc/pki/tls/certs/storage.jokefire.com.crt TLS Key = /etc/pki/tls/private/storage.jokefire.com.key TLS CA Certificate File = /etc/pki/CA/certs/rootBaculaCA.pem TLS Enable = yes TLS Require = yes TLS Verify Peer = yes } I hope I got you right in that this was what you needed to know. Looking at the cert: openssl x509 -in /etc/bacula/certs/cert/bacula.crt -noout -text Subject: C=ES, ST=X, O=, OU=Computing Department, CN= bacula.example.org openssl x509 -in /etc/pki/tls/certs/storage.jokefire.com.crt -noout -text Subject: C=US, ST=X, L=, O= LLC, OU=Ops, CN= storage.jokefire.com/emailAddress=bluethu...@gmail.com [root@storage:~] #hostname -f storage.jokefire.com The CN must be the sme that DirAddress (I did not use email address for cert sign) It appears as if the DirAddress and the common name do agree. Might there be something else I could have missed? Thanks Tim On Wed, Nov 27, 2013 at 7:50 AM, Iban Cabrillo cabri...@ifca.unican.eswrote: Hi Tim, I have a similar configuration. I think that the proble is in the CN: CN=storage.jokefire.com/emailAddress=bluethu...@gmail.com please could you show the value for DirAddress = bacula.example.org in my case: DirAddress = bacula.example.org TLS Enable = yes TLS Require = yes TLS Verify Peer = no TLS CA Certificate File = /etc/bacula/certs/ca/signing-ca-1.crt TLS Certificate = /etc/bacula/certs/cert/bacula.crt TLS Key = /etc/bacula/certs/key/bacula.key Looking at the cert: openssl x509 -in /etc/bacula/certs/cert/bacula.crt -noout -text Subject: C=ES, ST=X, O=, OU=Computing Department, CN= bacula.example.org The CN must be the sme that DirAddress (I did not use email address for cert sign) Regards, I 2013/11/27 Tim Dunphy bluethu...@gmail.com Hello all, I'm trying to add TLS encryption to my bacula setup. I've been following this guide which got me almost all of the way there: http://blog.earth-works.com/2013/08/03/configuring-bacula-to-use-tls-to-encrypt-connections/ I modified the following sections in my bacula-dir.conf file: Director {# define myself Name = storage.jokefire.com DIRport = 9101# where we listen for UA connections QueryFile = /etc/bacula/query.sql WorkingDirectory = /var/spool/bacula PidDirectory = /var/run Maximum Concurrent Jobs = 1 Password = secret # Console password Messages = Daemon TLS Certificate = /etc/pki/tls/certs/storage.jokefire.com.crt TLS Key = /etc/pki/tls/private/storage.jokefire.com.key TLS CA Certificate File = /etc/pki/CA/certs/rootBaculaCA.pem TLS Enable = yes TLS Require = yes TLS Verify Peer = yes } Client { Name = ops.jokefire.com Address = ops.jokefire.com FDPort = 9102 Catalog = JokefireCatalog Password = secret # password for FileDaemon File Retention = 14 days# 14 days Job Retention = 14d# 14 days AutoPrune = yes # Prune expired Jobs/Files TLS Certificate = /etc/pki/tls/certs/storage.jokefire.com.crt TLS Key = /etc/pki/tls/private/storage.jokefire.com.key TLS CA Certificate File = /etc/pki/CA/certs/rootBaculaCA.pem TLS Enable = yes TLS Require = yes } And in my bacula-fd.conf Director { Name = storage.jokefire.com Password = secret TLS Certificate = /etc/pki/tls/certs/storage.jokefire.com.crt TLS Key = /etc/pki/tls
Re: [Bacula-users] DesSpooling Attr
Hi, Inserting the value* innodb_flush_log_at_trx_commit=2* in my.cnf did the trick (innodb_flush_log_at_trx_commit=0 works fine two), but the default value (innodb_flush_log_at_trx_commit=1), seems to be doing something wrong. One full backup (7 GB) has decreased the backup time from 4h (45 spooling data, and 3h 15h despolling attrs) to 45 min Regards, I 2013/11/27 Iban Cabrillo cabri...@ifca.unican.es Hi Cejka, The server runs smooth : top - 14:11:06 up 20:18, 2 users, load average: 0.00, 0.01, 0.24 Tasks: 154 total, 1 running, 153 sleeping, 0 stopped, 0 zombie Cpu0 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu1 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu2 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu3 : 0.0%us, 0.3%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu4 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu5 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu6 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu7 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 8177080k total, 6680440k used, 1496640k free, 151984k buffers Swap: 585724k total, 2516k used, 583208k free, 1713752k cached HDDs are not SSD but SAS over RAID1 hardware my.cnf : open-files-limit=8192 max_connections=500 wait_timeout=86800 innodb_data_home_dir=/data/mysql innodb_file_per_table innodb_lock_wait_timeout=500 innodb_log_file_size=1G innodb_buffer_pool_size=4G query_cache_size=128M tmp_table_size=256M thread_cache_size=16 query_cache_limit=16M max_heap_table_size=256M table_cache=256 I see my bacula version is 5.2.6 (21 February 2012) From Ubuntu 12.10 repo, yours 5.2.12 (12Sep12), I do not know if there are many improvements in th DB between both releases. Regards, I 2013/11/27 Cejka Rudolf cej...@fit.vutbr.cz Iban Cabrillo wrote (2013/11/27): Data spooling: 0 active jobs, 0 bytes; 1 total jobs, 1,845,487,814 max bytes/job. Attr spooling: 1 active jobs, 18,289,433 bytes; 0 total jobs, 18,289,433 max bytes. Data spooling about 10 minutes, Attr Spooling more than 30 minutes and growing This happen for LT03 and LT=5 tapes Could you look at mysql server please? Its CPU usage, disk usage, swapping, memory usage... Here are examples from my backup server with mysql: 1) 18,688,335 files in 37 minutes, which is ~ 500,000 files per minute: 03-Nov 08:37 backup-sd: Sending spooled attrs to the Director. +Despooling 6,159,834,448 bytes ... 03-Nov 09:14 backup-dir: Bacula backup-dir 5.2.12 (12Sep12): 2) 309,936 files in time is under 1 minute: 02-Nov 14:00 backup-sd: Sending spooled attrs to the Director. +Despooling 86,532,417 bytes ... 02-Nov 14:00 backup-dir: Bacula backup-dir 5.2.12 (12Sep12): I think that there are three key settings on my server: 1) MyISAM tables 2) delay_key_write = ALL in my.cnf 3) Database on SSD Best regards. -- Rudolf Cejka cejkar at fit.vutbr.cz http://www.fit.vutbr.cz/~cejkar Brno University of Technology, Faculty of Information Technology Bozetechova 2, 612 66 Brno, Czech Republic -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] DesSpooling Attr
Hi, I have seen lots of threads we this subject but no one with a solution. Despooling Attributes takes a very very long time. Seem no to be a question about tunning mysql. Data spooling: 0 active jobs, 0 bytes; 1 total jobs, 1,845,487,814 max bytes/job. Attr spooling: 1 active jobs, 18,289,433 bytes; 0 total jobs, 18,289,433 max bytes. Data spooling about 10 minutes, Attr Spooling more than 30 minutes and growing This happen for LT03 and LT=5 tapes my packets : root@bacula:~# dpkg -l | grep bacula ii bacula 5.2.6+dfsg-5ubuntu1 all network backup service - metapackage ii bacula-client5.2.6+dfsg-5ubuntu1 all network backup service - client metapackage ii bacula-common5.2.6+dfsg-5ubuntu1 amd64network backup service - common support files ii bacula-common-mysql 5.2.6+dfsg-5ubuntu1 amd64network backup service - MySQL common files ii bacula-console 5.2.6+dfsg-5ubuntu1 amd64network backup service - text console ii bacula-director-common 5.2.6+dfsg-5ubuntu1 amd64network backup service - Director common files ii bacula-director-mysql5.2.6+dfsg-5ubuntu1 amd64network backup service - MySQL storage for Director ii bacula-fd5.2.6+dfsg-5ubuntu1 amd64network backup service - file daemon ii bacula-sd5.2.6+dfsg-5ubuntu1 amd64network backup service - storage daemon ii bacula-sd-mysql 5.2.6+dfsg-5ubuntu1 amd64network backup service - MySQL SD tools ii bacula-server5.2.6+dfsg-5ubuntu1 all network backup service - server metapackage ii bacula-traymonitor 5.2.6+dfsg-5ubuntu1 amd64network backup service - tray monitor bacula-sd attributes : Maximum Block Size = 262144 Maximum Network Buffer Size = 262144 Maximum Spool Size = 20gb Maximum Job Spool Size = 10gb Spool Directory = /data/spool Anyone have and idea how to improve this?? -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula TLS help
/emailAddress=bluethu...@gmail.com, subject = /C=US/ST=NJ/L=Newark/O=Jokefire LLC/OU=Ops/CN= storage.jokefire.com/emailAddress=bluethu...@gmail.com, ERR=18:self signed certificate TLS negotiation failed Director authorization problem. Most likely the passwords do not agree. If you are using TLS, there may have been a certificate validation error during the TLS handshake. Please see http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION0026for help. I've saved my work with TLS so I'm eager to get this going. I used the following guide to generating the certs, and I'm wondering if the problem could possibly be in the way I generated the certs? http://datacenteroverlords.com/2012/03/01/creating-your-own-ssl-certificate-authority/ Thanks for any and all advice! Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] DesSpooling Attr
Hi Cejka, The server runs smooth : top - 14:11:06 up 20:18, 2 users, load average: 0.00, 0.01, 0.24 Tasks: 154 total, 1 running, 153 sleeping, 0 stopped, 0 zombie Cpu0 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu1 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu2 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu3 : 0.0%us, 0.3%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu4 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu5 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu6 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu7 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 8177080k total, 6680440k used, 1496640k free, 151984k buffers Swap: 585724k total, 2516k used, 583208k free, 1713752k cached HDDs are not SSD but SAS over RAID1 hardware my.cnf : open-files-limit=8192 max_connections=500 wait_timeout=86800 innodb_data_home_dir=/data/mysql innodb_file_per_table innodb_lock_wait_timeout=500 innodb_log_file_size=1G innodb_buffer_pool_size=4G query_cache_size=128M tmp_table_size=256M thread_cache_size=16 query_cache_limit=16M max_heap_table_size=256M table_cache=256 I see my bacula version is 5.2.6 (21 February 2012) From Ubuntu 12.10 repo, yours 5.2.12 (12Sep12), I do not know if there are many improvements in th DB between both releases. Regards, I 2013/11/27 Cejka Rudolf cej...@fit.vutbr.cz Iban Cabrillo wrote (2013/11/27): Data spooling: 0 active jobs, 0 bytes; 1 total jobs, 1,845,487,814 max bytes/job. Attr spooling: 1 active jobs, 18,289,433 bytes; 0 total jobs, 18,289,433 max bytes. Data spooling about 10 minutes, Attr Spooling more than 30 minutes and growing This happen for LT03 and LT=5 tapes Could you look at mysql server please? Its CPU usage, disk usage, swapping, memory usage... Here are examples from my backup server with mysql: 1) 18,688,335 files in 37 minutes, which is ~ 500,000 files per minute: 03-Nov 08:37 backup-sd: Sending spooled attrs to the Director. +Despooling 6,159,834,448 bytes ... 03-Nov 09:14 backup-dir: Bacula backup-dir 5.2.12 (12Sep12): 2) 309,936 files in time is under 1 minute: 02-Nov 14:00 backup-sd: Sending spooled attrs to the Director. +Despooling 86,532,417 bytes ... 02-Nov 14:00 backup-dir: Bacula backup-dir 5.2.12 (12Sep12): I think that there are three key settings on my server: 1) MyISAM tables 2) delay_key_write = ALL in my.cnf 3) Database on SSD Best regards. -- Rudolf Cejka cejkar at fit.vutbr.cz http://www.fit.vutbr.cz/~cejkar Brno University of Technology, Faculty of Information Technology Bozetechova 2, 612 66 Brno, Czech Republic -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] LIP reset occurred (0), device removed.
Hi, Seems that changing the Fibber do the trick. More that 30GB are copied now to LT05 Tape without any troubles. Regards, I 2013/8/20 Clark, Patricia A. clar...@ornl.gov Possibly the fiber cable? Can you swap it out and try again? I had 20 fiber connections and one of them needed replacing. It made the drive look bad from the server, but the library did not report any error conditions with the drive. Patti Clark Linux System Administrator Research and Development Systems Support Oak Ridge National Laboratory From: Iban Cabrillo cabri...@ifca.unican.esmailto: cabri...@ifca.unican.es Date: Tuesday, August 20, 2013 12:45 PM To: Radosław Korzeniewski rados...@korzeniewski.netmailto: rados...@korzeniewski.net Cc: Bacula Users Bacula-users@lists.sourceforge.netmailto: Bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] LIP reset occurred (0), device removed. Hi, this is the qlogic driver version: [1.348682] qla2xxx [:07:00.0]-00fa:1: QLogic Fibre Channed HBA Driver: 8.03.07.12-k. [1.348686] qla2xxx [:07:00.0]-00fb:1: QLogic QLE2562 - QLogic 8Gb FC Dual-port HBA for System x. [1.348699] qla2xxx [:07:00.0]-00fc:1: ISP2532: PCIe (2.5GT/s x8) @ :07:00.0 hdma+ host#=1 fw=5.06.05 (90d5). [1.348768] qla2xxx [:07:00.1]-001d: : Found an ISP2532 irq 19 iobase 0xc9c68000. [1.348949] qla2xxx :07:00.1: irq 44 for MSI/MSI-X [1.348956] qla2xxx :07:00.1: irq 45 for MSI/MSI-X [1.349023] qla2xxx [:07:00.1]-0040:2: Configuring PCI space... [1.349028] qla2xxx :07:00.1: setting latency timer to 64 [1.361424] qla2xxx [:07:00.1]-0061:2: Configure NVRAM parameters... [1.369088] qla2xxx [:07:00.1]-0078:2: Verifying loaded RISC code... [1.369131] qla2xxx [:07:00.1]-0092:2: Loading via request-firmware. [1.400994] qla2xxx [:07:00.1]-00c0:2: Allocate (64 KB) for FCE... [1.401064] qla2xxx [:07:00.1]-00c3:2: Allocated (64 KB) EFT ... [1.401150] qla2xxx [:07:00.1]-00c5:2: Allocated (1350 KB) for firmware dump. [1.405503] scsi2 : qla2xxx [1.405763] qla2xxx [:07:00.1]-00fa:2: QLogic Fibre Channed HBA Driver: 8.03.07.12-k. [1.405767] qla2xxx [:07:00.1]-00fb:2: QLogic QLE2562 - QLogic 8Gb FC Dual-port HBA for System x. [1.405779] qla2xxx [:07:00.1]-00fc:2: ISP2532: PCIe (2.5GT/s x8) @ :07:00.1 hdma+ host#=2 fw=5.06.05 (90d5). .. [2.928979] scsi 1:0:0:0: Sequential-Access IBM ULT3580-TD3 93GP PQ: 0 ANSI: 3 [2.935530] st: Version 20101219, fixed bufsize 32768, s/g segs 256 [2.935861] st 1:0:0:0: Attached scsi tape st0 [2.935864] st 1:0:0:0: st0: try direct i/o: yes (alignment 4 B) [3.939166] qla2xxx [:07:00.1]-500a:2: LOOP UP detected (8 Gbps). [3.997944] scsi 2:0:0:0: Sequential-Access IBM ULT3580-TD5 C7RC PQ: 0 ANSI: 6 [4.000531] scsi 2:0:0:1: Medium ChangerIBM 03584L32 B570 PQ: 0 ANSI: 6 [4.012583] st 2:0:0:0: Attached scsi tape st1 [4.012586] st 2:0:0:0: st1: try direct i/o: yes (alignment 4 B) [4.013947] osst :I: Tape driver with OnStream support version 0.99.4 [4.013948] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $ [4.014691] SCSI Media Changer driver v0.25 [4.016286] ch0: type #1 (mt): 0x1+2 [medium transport] [4.016289] ch0: type #2 (st): 0x401+1601 [storage] [4.016291] ch0: type #3 (ie): 0x301+10 [import/export] [4.016293] ch0: type #4 (dt): 0x101+2 [data transfer] [1:0:0:0]tapeIBM ULT3580-TD3 93GP /dev/st0 [2:0:0:0]tapeIBM ULT3580-TD5 C7RC /dev/st1 [2:0:0:1]mediumx IBM 03584L32 B570 /dev/sch0 Some times the reset hapends whwn a few MBs are written others after a couple of hundred MBs but only when we use the LTO5 ([2:0:0:0]tape IBM ULT3580-TD5 C7RC /dev/st1 ) the LT03 always works grate. the linux kernel running is : Linux bacula 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux and the bacula-sd configuration for LT05 tape: Device { # The TSM3100's second t3pe drive Name = ULT3580-TD5 Archive Device = /dev/nst1 Device Type = Tape Media Type = LTO-5 Autochanger = Yes # Changer Device = inherited from Changer Alert Command = sh -c '/usr/sbin/tapeinfo -f /dev/sg1 | /bin/sed -n /TapeAlert/p Drive Index = 0 RemovableMedia = yes Random Access = no Maximum Block Size = 262144 Maximum Network Buffer Size = 262144 Maximum Spool Size = 20gb Maximum Job Spool Size = 10gb Spool Directory = /backup/spool AutomaticMount = Yes; } root@bacula:~# /usr/sbin/tapeinfo -f /dev/sg1 Product Type: Tape Drive Vendor ID: 'IBM ' Product ID: 'ULT3580-TD5 ' Revision: 'C7RC' Attached Changer API: No SerialNumber: '00078ABB4C' MinBlock: 1 MaxBlock: 8388608 SCSI ID: 0 SCSI LUN: 0 Ready: yes BufferedMode: yes Medium Type: 0x58 Density Code: 0x58
Re: [Bacula-users] LIP reset occurred (0), device removed.
Hi, this is the qlogic driver version: [1.348682] qla2xxx [:07:00.0]-00fa:1: QLogic Fibre Channed HBA Driver: 8.03.07.12-k. [1.348686] qla2xxx [:07:00.0]-00fb:1: QLogic QLE2562 - QLogic 8Gb FC Dual-port HBA for System x. [1.348699] qla2xxx [:07:00.0]-00fc:1: ISP2532: PCIe (2.5GT/s x8) @ :07:00.0 hdma+ host#=1 fw=5.06.05 (90d5). [1.348768] qla2xxx [:07:00.1]-001d: : Found an ISP2532 irq 19 iobase 0xc9c68000. [1.348949] qla2xxx :07:00.1: irq 44 for MSI/MSI-X [1.348956] qla2xxx :07:00.1: irq 45 for MSI/MSI-X [1.349023] qla2xxx [:07:00.1]-0040:2: Configuring PCI space... [1.349028] qla2xxx :07:00.1: setting latency timer to 64 [1.361424] qla2xxx [:07:00.1]-0061:2: Configure NVRAM parameters... [1.369088] qla2xxx [:07:00.1]-0078:2: Verifying loaded RISC code... [1.369131] qla2xxx [:07:00.1]-0092:2: Loading via request-firmware. [1.400994] qla2xxx [:07:00.1]-00c0:2: Allocate (64 KB) for FCE... [1.401064] qla2xxx [:07:00.1]-00c3:2: Allocated (64 KB) EFT ... [1.401150] qla2xxx [:07:00.1]-00c5:2: Allocated (1350 KB) for firmware dump. [1.405503] scsi2 : qla2xxx [1.405763] qla2xxx [:07:00.1]-00fa:2: QLogic Fibre Channed HBA Driver: 8.03.07.12-k. [1.405767] qla2xxx [:07:00.1]-00fb:2: QLogic QLE2562 - QLogic 8Gb FC Dual-port HBA for System x. [1.405779] qla2xxx [:07:00.1]-00fc:2: ISP2532: PCIe (2.5GT/s x8) @ :07:00.1 hdma+ host#=2 fw=5.06.05 (90d5). .. [2.928979] scsi 1:0:0:0: Sequential-Access IBM ULT3580-TD3 93GP PQ: 0 ANSI: 3 [2.935530] st: Version 20101219, fixed bufsize 32768, s/g segs 256 [2.935861] st 1:0:0:0: Attached scsi tape st0 [2.935864] st 1:0:0:0: st0: try direct i/o: yes (alignment 4 B) [3.939166] qla2xxx [:07:00.1]-500a:2: LOOP UP detected (8 Gbps). [3.997944] scsi 2:0:0:0: Sequential-Access IBM ULT3580-TD5 C7RC PQ: 0 ANSI: 6 [4.000531] scsi 2:0:0:1: Medium ChangerIBM 03584L32 B570 PQ: 0 ANSI: 6 [4.012583] st 2:0:0:0: Attached scsi tape st1 [4.012586] st 2:0:0:0: st1: try direct i/o: yes (alignment 4 B) [4.013947] osst :I: Tape driver with OnStream support version 0.99.4 [4.013948] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $ [4.014691] SCSI Media Changer driver v0.25 [4.016286] ch0: type #1 (mt): 0x1+2 [medium transport] [4.016289] ch0: type #2 (st): 0x401+1601 [storage] [4.016291] ch0: type #3 (ie): 0x301+10 [import/export] [4.016293] ch0: type #4 (dt): 0x101+2 [data transfer] [1:0:0:0]tapeIBM ULT3580-TD3 93GP /dev/st0 [2:0:0:0]tapeIBM ULT3580-TD5 C7RC /dev/st1 [2:0:0:1]mediumx IBM 03584L32 B570 /dev/sch0 Some times the reset hapends whwn a few MBs are written others after a couple of hundred MBs but only when we use the LTO5 ([2:0:0:0]tape IBM ULT3580-TD5 C7RC /dev/st1 ) the LT03 always works grate. the linux kernel running is : Linux bacula 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux and the bacula-sd configuration for LT05 tape: Device { # The TSM3100's second t3pe drive Name = ULT3580-TD5 Archive Device = /dev/nst1 Device Type = Tape Media Type = LTO-5 Autochanger = Yes # Changer Device = inherited from Changer Alert Command = sh -c '/usr/sbin/tapeinfo -f /dev/sg1 | /bin/sed -n /TapeAlert/p Drive Index = 0 RemovableMedia = yes Random Access = no Maximum Block Size = 262144 Maximum Network Buffer Size = 262144 Maximum Spool Size = 20gb Maximum Job Spool Size = 10gb Spool Directory = /backup/spool AutomaticMount = Yes; } root@bacula:~# /usr/sbin/tapeinfo -f /dev/sg1 Product Type: Tape Drive Vendor ID: 'IBM ' Product ID: 'ULT3580-TD5 ' Revision: 'C7RC' Attached Changer API: No SerialNumber: '00078ABB4C' MinBlock: 1 MaxBlock: 8388608 SCSI ID: 0 SCSI LUN: 0 Ready: yes BufferedMode: yes Medium Type: 0x58 Density Code: 0x58 BlockSize: 0 DataCompEnabled: yes DataCompCapable: yes DataDeCompEnabled: yes CompType: 0x1 DeCompType: 0x1 Block Position: 582 Partition 0 Remaining Kbytes: -1 Partition 0 Size in Kbytes: -1 ActivePartition: 0 EarlyWarningSize: 0 NumPartitions: 0 MaxPartitions: 1 I appreciate any help. thanks in advance I. 2013/8/19 Radosław Korzeniewski rados...@korzeniewski.net Hello, 2013/8/19 Iban Cabrillo cabri...@ifca.unican.es Hi, Any Idea? Seems something related to bacula, I have tried chaging the FC port, but the result has been the same FC LIP reset is not related to Bacula - IMHO. I had the same problem but with a changer device. The problem was a second server which accidentally accessed the same target (at random time). When I switch off the second server the problem was cured. Sure, your problem could has a different origin then my, and YMMV. BTW, what kernel tape driver do you use (Linux stock)? best regards -- Radosław Korzeniewski rados...@korzeniewski.net
Re: [Bacula-users] LIP reset occurred (0), device removed.
Hi, Any Idea? Seems something related to bacula, I have tried chaging the FC port, but the result has been the same Regards, I 2013/8/16 Iban Cabrillo cabri...@ifca.unican.es Dear, From time to now, I can use the LTO5 drive. We are using a debian bacula installation: @bacula:~# dpkg -l | grep bacula ii bacula 5.2.6+dfsg-9 all network backup service - metapackage ii bacula-client 5.2.6+dfsg-9all network backup service - client metapackage ii bacula-common5.2.6+dfsg-9amd64network backup service - common support files ii bacula-common-mysql 5.2.6+dfsg-9 amd64network backup service - MySQL common files ii bacula-console 5.2.6+dfsg-9 amd64network backup service - text console ii bacula-console-qt 5.2.6+dfsg-9 amd64network backup service - Bacula Administration Tool ii bacula-director-common 5.2.6+dfsg-9 amd64network backup service - Director common files ii bacula-director-mysql 5.2.6+dfsg-9 amd64network backup service - MySQL storage for Director ii bacula-fd 5.2.6+dfsg-9 amd64network backup service - file daemon ii bacula-sd 5.2.6+dfsg-9 amd64network backup service - storage daemon ii bacula-sd-mysql 5.2.6+dfsg-9 amd64network backup service - MySQL SD tools ii bacula-server 5.2.6+dfsg-9 all network backup service - server metapackage ii bacula-traymonitor 5.2.6+dfsg-9 amd64network backup service - tray monitor The Robot storage systems is formed by 2 tapes (LT03 FC connection 2Gbps and LT05 8Gbps FC connection) and and autochanger.: root@bacula:~# lsscsi [1:0:0:0]tapeIBM ULT3580-TD3 93GP /dev/st0 [4:0:0:0]tapeIBM ULT3580-TD5 C7RC /dev/st1 [4:0:0:1]mediumx IBM 03584L32 B570 /dev/sch0 Is has been working fine from several months but now every time i try to access to LT05 a FC lip reset happens, this is not immediately (the tapes begins to write data, I have used spool data and no spool data with the same result), but after a few minutes : Aug 16 11:40:57 bacula kernel: [168140.448017] rport-4:0-0: blocked FC remote port time out: removing target and saving binding Aug 16 11:40:57 bacula kernel: [168140.660577] st1: Error 1 (driver bt 0x0, host bt 0x1). Aug 16 11:40:57 bacula kernel: [168140.660624] st1: Error 1 (driver bt 0x0, host bt 0x1). Aug 16 11:40:57 bacula kernel: [168140.660644] st1: Error 1 (driver bt 0x0, host bt 0x1). Aug 16 11:40:57 bacula kernel: [168140.661988] st1: Error 1 (driver bt 0x0, host bt 0x1). then the LT05 and autochanger device disappear from my devices and i have to lip/scan again, but all the jobs that was running or scheduled fail The LT03 works grate if i do not use the LT05 of course. I have changed the FC card ith the same result, check the tape drive using the mt commands and works fine too Any one has seen something similar?? Regards, Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] LIP reset occurred (0), device removed.
Dear, From time to now, I can use the LTO5 drive. We are using a debian bacula installation: @bacula:~# dpkg -l | grep bacula ii bacula 5.2.6+dfsg-9 all network backup service - metapackage ii bacula-client 5.2.6+dfsg-9all network backup service - client metapackage ii bacula-common5.2.6+dfsg-9amd64network backup service - common support files ii bacula-common-mysql 5.2.6+dfsg-9 amd64network backup service - MySQL common files ii bacula-console 5.2.6+dfsg-9 amd64network backup service - text console ii bacula-console-qt 5.2.6+dfsg-9 amd64network backup service - Bacula Administration Tool ii bacula-director-common 5.2.6+dfsg-9 amd64network backup service - Director common files ii bacula-director-mysql 5.2.6+dfsg-9 amd64network backup service - MySQL storage for Director ii bacula-fd 5.2.6+dfsg-9 amd64network backup service - file daemon ii bacula-sd 5.2.6+dfsg-9 amd64network backup service - storage daemon ii bacula-sd-mysql 5.2.6+dfsg-9 amd64network backup service - MySQL SD tools ii bacula-server 5.2.6+dfsg-9 all network backup service - server metapackage ii bacula-traymonitor 5.2.6+dfsg-9 amd64network backup service - tray monitor The Robot storage systems is formed by 2 tapes (LT03 FC connection 2Gbps and LT05 8Gbps FC connection) and and autochanger.: root@bacula:~# lsscsi [1:0:0:0]tapeIBM ULT3580-TD3 93GP /dev/st0 [4:0:0:0]tapeIBM ULT3580-TD5 C7RC /dev/st1 [4:0:0:1]mediumx IBM 03584L32 B570 /dev/sch0 Is has been working fine from several months but now every time i try to access to LT05 a FC lip reset happens, this is not immediately (the tapes begins to write data, I have used spool data and no spool data with the same result), but after a few minutes : Aug 16 11:40:57 bacula kernel: [168140.448017] rport-4:0-0: blocked FC remote port time out: removing target and saving binding Aug 16 11:40:57 bacula kernel: [168140.660577] st1: Error 1 (driver bt 0x0, host bt 0x1). Aug 16 11:40:57 bacula kernel: [168140.660624] st1: Error 1 (driver bt 0x0, host bt 0x1). Aug 16 11:40:57 bacula kernel: [168140.660644] st1: Error 1 (driver bt 0x0, host bt 0x1). Aug 16 11:40:57 bacula kernel: [168140.661988] st1: Error 1 (driver bt 0x0, host bt 0x1). then the LT05 and autochanger device disappear from my devices and i have to lip/scan again, but all the jobs that was running or scheduled fail The LT03 works grate if i do not use the LT05 of course. I have changed the FC card ith the same result, check the tape drive using the mt commands and works fine too Any one has seen something similar?? Regards, Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Pool : Unknow for LTO3 storage device
Dear, After a bad power-off bacula server, the storage is not able to see correct pool-volumes assignment for LTO3 device: Device status: Autochanger TSM3500 with devices: ULT3580-TD3 (/dev/nst0) ULT3580-TD5 (/dev/nst1) Device FileStorage is not open or does not exist. Device ULT3580-TD3 (/dev/nst0) is mounted with: Volume: L30001L3 Pool:*unknown* Media type: LTO-3 Slot 3 is loaded in drive 1. Total Bytes Read=0 Blocks Read=0 Bytes/block=0 Positioned at File=0 Block=0 Device ULT3580-TD5 (/dev/nst1) is mounted with: Volume: B00692LV Pool:Pool1 Media type: LTO-5 Slot 40 is loaded in drive 0. Total Bytes=1,024 Blocks=0 Bytes/block=1,024 Positioned at File=0 Block=0 But the volumes from pool are correctly showed: *list volume pool=Incr +-++---+-+-+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+-+--+--+-+--+---+---+-+ | 10 | L30016L3 | Full | 1 | 430,674,056,192 | 910 | 31,536,000 | 1 | 17 | 1 | LTO-3 | 2013-07-21 09:40:44 | | 61 | L30006L3 | Append| 1 | 18,680,747,008 | 21 | 31,536,000 | 1 |7 | 1 | LTO-3 | 2013-07-27 18:08:20 | | 67 | L30010L3 | Append| 1 | 1,024 |0 |7,776,000 | 1 | 11 | 1 | LTO-3 | -00-00 00:00:00 | | 68 | L30017L3 | Append| 1 | 37,661,717,504 | 46 |7,776,000 | 1 | 18 | 1 | LTO-3 | 2013-07-31 19:56:15 | +-++---+-+-+--+--+-+--+---+---+-+ Any idea? Is the anything wrong on DB? Regards, -- Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] No parallel jobs running on diferente devices/tapes
Hi, OK but the device are different. I would understand this issue using the same storage device. but this is not the case. regards, I 2013/7/20 Radosław Korzeniewski rados...@korzeniewski.net Hello, 2013/7/20 Iban Cabrillo cabri...@ifca.unican.es Hi, I just attach the requested info. The director show jobs waiter for prio, but we are using different pools and different storage device. I will understand this behavior if the jobs were using the same storage device, but not in this king of configuration. Too much... :) So, your situation: Running Jobs: JobId Level Name Status == 38 FullCabas17.2013-07-15_09.31.33_58 is running 2923 Increme Doriiie2.2013-07-15_18.00.00_59 is waiting for higher priority jobs to finish 2924 Increme BackCan.2013-07-15_18.00.01_00 is waiting execution (...) and Job: name=Cabas17 JobType=66 level=Differential Priority=10 Enabled=0 Job: name=Doriiie2 JobType=66 level=Full Priority=9 Enabled=1 cannot run in the same time because they priorities are different. best regards -- Radosław Korzeniewski rados...@korzeniewski.net -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] No parallel jobs running on diferente devices/tapes
Hi, Is there no Idea about this issue? Regards, I 2013/7/17 Iban Cabrillo cabri...@ifca.unican.es Dear, We have a simple bacula configuration. And autochanger with two tape device (LTO3 and LTO5), for two kind of different backups. Both work when they run independently. But If a job on LTO5 is running the other jobs related to LTO3 are waiting until this jobs has finished. This is a pain in the ass, because the LTO5 run very long unique/full backups (along days) then I found that a couple of incremental backups on LT03 running on the same day. The jobs run on different clients and event sometimes in different catalogs. These are the relevant configuration: *bacula-dir.conf* Director {# define myself Name = bacula-dir DIRport = 9101# where we listen for UA connections QueryFile = /etc/bacula/scripts/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run/bacula Maximum Concurrent Jobs = 10 Password = YY # Console password Messages = Daemon DirAddress = xx . *bacula-sd.conf* Storage { # definition of myself Name = bacula-sd SDPort = 9103 # Director's port WorkingDirectory = /var/lib/bacula Pid Directory = /var/run/bacula Maximum Concurrent Jobs = 20 SDAddress = x . Autochanger { Name = TSM3500 Device = ULT3580-TD3 Device = ULT3580-TD5 Changer Device = /dev/sg7 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d # %c = changer device # %o = command (unload|load|loaded|list|slots) # %S = slot index (1-based) # %a = archive device (i.e., /dev/sd* name for tape drive) # %d = drive index (0-based) } Device { # The TSM3100's first tape drive Name = ULT3580-TD3 Archive Device = /dev/nst0 Device Type = Tape Media Type = LTO-3 Autochanger = Yes # Changer Device = inherited from Changer Alert Command = sh -c '/usr/sbin/tapeinfo -f /dev/sg5 | /bin/sed -n /TapeAlert/p Drive Index = 1 RemovableMedia = yes Random Access = no Maximum Block Size = 262144 Maximum Network Buffer Size = 262144 Maximum Spool Size = 40gb Maximum Job Spool Size = 30gb Spool Directory = /backup/spool AutomaticMount = Yes; } Device { # The TSM3100's second tape drive Name = ULT3580-TD5 Archive Device = /dev/nst1 Device Type = Tape Media Type = LTO-5 Autochanger = Yes # Changer Device = inherited from Changer Alert Command = sh -c '/usr/sbin/tapeinfo -f /dev/sg6 | /bin/sed -n /TapeAlert/p Drive Index = 0 RemovableMedia = yes Random Access = no Maximum Block Size = 262144 Maximum Network Buffer Size = 262144 Maximum Spool Size = 40gb Maximum Job Spool Size = 30gb Spool Directory = /backup/spool AutomaticMount = Yes; } *And the storage definitions:* Storage { Name = TSM3500-LTO3 Address = xx SDPort = 9103 Password = YYY Device = ULT3580-TD3 Media Type = LTO-3 Autochanger = yes Maximum Concurrent Jobs = 5 } Storage { Name = TSM3500-LTO5 Address = x SDPort = 9103 Password = YYY Device = ULT3580-TD5 Media Type = LTO-5 Autochanger = yes Maximum Concurrent Jobs = 5 } I think that Maximum concurrent Jobs variable is well defined (well maybe the storage definition level should be 1, I do not see a tape writing jobs in parallel, I checked this and neither work )...but I am not able to find the misconfiguration. Any Idea ?? Cheers, I. -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users
[Bacula-users] No parallel jobs running on diferente devices/tapes
Dear, We have a simple bacula configuration. And autochanger with two tape device (LTO3 and LTO5), for two kind of different backups. Both work when they run independently. But If a job on LTO5 is running the other jobs related to LTO3 are waiting until this jobs has finished. This is a pain in the ass, because the LTO5 run very long unique/full backups (along days) then I found that a couple of incremental backups on LT03 running on the same day. The jobs run on different clients and event sometimes in different catalogs. These are the relevant configuration: *bacula-dir.conf* Director {# define myself Name = bacula-dir DIRport = 9101# where we listen for UA connections QueryFile = /etc/bacula/scripts/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run/bacula Maximum Concurrent Jobs = 10 Password = YY # Console password Messages = Daemon DirAddress = xx . *bacula-sd.conf* Storage { # definition of myself Name = bacula-sd SDPort = 9103 # Director's port WorkingDirectory = /var/lib/bacula Pid Directory = /var/run/bacula Maximum Concurrent Jobs = 20 SDAddress = x . Autochanger { Name = TSM3500 Device = ULT3580-TD3 Device = ULT3580-TD5 Changer Device = /dev/sg7 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d # %c = changer device # %o = command (unload|load|loaded|list|slots) # %S = slot index (1-based) # %a = archive device (i.e., /dev/sd* name for tape drive) # %d = drive index (0-based) } Device { # The TSM3100's first tape drive Name = ULT3580-TD3 Archive Device = /dev/nst0 Device Type = Tape Media Type = LTO-3 Autochanger = Yes # Changer Device = inherited from Changer Alert Command = sh -c '/usr/sbin/tapeinfo -f /dev/sg5 | /bin/sed -n /TapeAlert/p Drive Index = 1 RemovableMedia = yes Random Access = no Maximum Block Size = 262144 Maximum Network Buffer Size = 262144 Maximum Spool Size = 40gb Maximum Job Spool Size = 30gb Spool Directory = /backup/spool AutomaticMount = Yes; } Device { # The TSM3100's second tape drive Name = ULT3580-TD5 Archive Device = /dev/nst1 Device Type = Tape Media Type = LTO-5 Autochanger = Yes # Changer Device = inherited from Changer Alert Command = sh -c '/usr/sbin/tapeinfo -f /dev/sg6 | /bin/sed -n /TapeAlert/p Drive Index = 0 RemovableMedia = yes Random Access = no Maximum Block Size = 262144 Maximum Network Buffer Size = 262144 Maximum Spool Size = 40gb Maximum Job Spool Size = 30gb Spool Directory = /backup/spool AutomaticMount = Yes; } *And the storage definitions:* Storage { Name = TSM3500-LTO3 Address = xx SDPort = 9103 Password = YYY Device = ULT3580-TD3 Media Type = LTO-3 Autochanger = yes Maximum Concurrent Jobs = 5 } Storage { Name = TSM3500-LTO5 Address = x SDPort = 9103 Password = YYY Device = ULT3580-TD5 Media Type = LTO-5 Autochanger = yes Maximum Concurrent Jobs = 5 } I think that Maximum concurrent Jobs variable is well defined (well maybe the storage definition level should be 1, I do not see a tape writing jobs in parallel, I checked this and neither work )...but I am not able to find the misconfiguration. Any Idea ?? Cheers, I. -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] BackupCatalog not runs
Dear, From time to time, the BackupCatalog job not runs. it show the state created, not yet running, I can see any log to debug this issue. Other jobs are working very smooth. I have four of this jobs waiting. The /etc/bacula/scripts/make_catalog_backup.pl MyCatalog runs fine. Any idea about this?? Regards, Iban -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] re-initizialize old tapes
Hi Pedro, I think there is no error, bacula is showing the volume occupied in the tape now, no the total capacity. In my case for example : *list volume pool=XXX pool: XXX +-++---+-+---+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+---+--+--+-+--+---+---+-+ | 31 | M50136L5 | Full | 1 | 1,512,679,827,456 |1,519 |7,776,000 | 1 | 24 | 1 | LTO-5 | 2013-01-19 04:07:19 | | 33 | M50138L5 | Append| 1 | 143,192,159,232 | 146 |7,776,000 | 1 | 26 | 1 | LTO-5 | 2013-04-18 05:18:39 | | * 34 | M50139L5 | Append| 1 |64,512 | 0 |7,776,000 | 1 | 27 | 1 | LTO-5 | -00-00 00:00:00 |* As you see the M50139L5 is an empty tape Regards, Iban 2013/5/10 Pedro Serotto pedro.sero...@yahoo.es Dear all, I'm trying to reinitzialize my old tapes, but I think i miss some step. Plese, can someone point me in the right direction ? This is what I do: root@llo ~]# bconsole Connecting to Director porcello.cdlan.net:9101 1000 OK: bacula-dir Version: 2.4.4 (28 December 2008) Enter a period to cancel a command. *purge volume=Vol15 This command is can be DANGEROUS!!! It purges (deletes) all Files from a Job, JobId, Client or Volume; or it purges (deletes) all Jobs from a Client or Volume without regard for retention periods. Normally you should use the PRUNE command, which respects retention periods. 1 File on Volume Vol15 purged from catalog. There are no more Jobs associated with Volume Vol15. Marking it purged. *quit [root@llo ~]# [root@llo ~]# /usr/libexec/bacula/mtx-changer /dev/sg1 load 15 /dev/st0 0 [root@llo ~]# mt -f /dev/st0 rewind [root@llo ~]# mt -f /dev/st0 weof [root@llo ~]# btape -c bacula-sd.conf /dev/nst0 Tape block granularity is 1024 bytes. btape: butil.c:285 Using device: /dev/nst0 for writing. 10-mag 16:02 btape JobId 0: 3301 Issuing autochanger loaded? drive 0 command. 10-mag 16:02 btape JobId 0: 3302 Autochanger loaded? drive 0, result is Slot 15. btape: btape.c:372 open device DDS-4 (/dev/nst0): OK *quit [root@llo ~]# /usr/libexec/bacula/mtx-changer /dev/sg1 unload 15 /dev/st0 0 Unloading Data Transfer Element into Storage Element 15... [root@llo ~]# bconsole *relabel Automatically selected Storage: DDS-4 Defined Pools: 1: Scratch 2: Default Select the Pool (1-2): 2 ### bconsole show me all volumes Enter MediaId or Volume name: 19 Enter new Volume name: vol15 Enter slot (0 or Enter for none): 15 Defined Pools: 1: Scratch 2: Default Select the Pool (1-2): 2 Connecting to Storage daemon DDS-4 at porcello.cdlan.net:9103 ... Sending relabel command from Vol15 to vol15 ... 3000 OK label. VolBytes=64512 DVD=0 Volume=vol15 Device=DDS-4 (/dev/nst0) Catalog record for Volume vol15, Slot 15 successfully created. Old volume Vol15 deleted from catalog. Requesting to mount DDS-4 ... 3001 Device DDS-4 (/dev/nst0) is mounted with Volume vol15 *list volume Pool: Scratch No results to list. Pool: Default ### bconsole show me all volumes ... | 30 | vol15 | Append| 1 | 64,512 |0 | 31,536,000 | 1 | 15 | 1 | DDS-4 | | ... now, as you can see, the fourth field is the volbytes and it show only 64,512 bytes, but the tabe is 800 giga size. What I do wrong ? Please help me BR Pedro -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed
Re: [Bacula-users] IBM TS3310
Dear Alan, It is not the same model, but we are using the IBM TSM3500 (+ 3 tape enclosures) model, with two drives an old LT0-3 another LTO-5 and it is working really smooth. Regards, Iban 2013/5/6 Alan McKay alan.mckay+bac...@gmail.com Hey folks, Anyone out there using one of these with bacula? Google only finds discussions on this list from 2008 which suggests it may work. Want to see whether there is some more recent info. thanks, -Alan -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula job replication to other machine
Dear, We are running the bacula 5.2.6+dfsg-8 on debian. All my backups are on tape (we are using spool directory to increase the tape performance). We want to have another copy of this backups/jobs. Seems that bacula cannot have a second instance (something like a shadow bacula to copy this data/jobs automatically). The most suggested option , looking in the web is to use rsync, to replicate the volume. i would like to know is the is a way to use to spool directory to replicate the jobs on the fly. Or maybe there is a best way to do this? Thanks in advance. Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with 2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Using BAT for 2 different catalogs
Dear, I have two deferents catalog on my bacula server/DB, one for the common (day by day) backups, which are frequently pruned and other for long term (my intention if to keep them for years). Using bconsole the is no problem you can select the catalog when you start, but I have not found a way to select between catalog using BAT. Is the any way to do this? Regards, Iban Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Using BAT for 2 different catalogs
Thanks Xabier, It works grate!! Regards, Iban 2013/4/17 Xabier Elkano xelk...@hostinet.com Hi Iban, you can use use catalog command too in BAT command line prompt. BR, Xabier El 17/04/13 13:13, Iban Cabrillo escribió: Dear, I have two deferents catalog on my bacula server/DB, one for the common (day by day) backups, which are frequently pruned and other for long term (my intention if to keep them for years). Using bconsole the is no problem you can select the catalog when you start, but I have not found a way to select between catalog using BAT. Is the any way to do this? Regards, Iban Bertrand Russell: /El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas/ -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Xattrsupport only store one value
Dear, Today I am a little prolific. I am trying to backup the extended attributes for some of my files, (the are three attributes stored size, create-time and md5) FileSet { Name = Xattr Include { Options { compression=GZIP xattrsupport = yes } File = /path_to_FIles } Exclude { } } The backup and restore, works fine, but only one value is stored in the migrated file, while the original file contains three. I have checked that the restore fs have xattr support, but I have not found any reason for this behavior. Any idea? Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Restores fails
Hi, Since a couple of days I have problems when I try to restore a backup I get this error in the log : bacula-dir Fatal error: Could not get storage resource 'TSM3500'. Error: Bacula bacula-dir 5.2.6 (21Feb12): Build OS: x86_64-pc-linux-gnu debian 7.0 JobId: 1579 Job:RestoreFiles.2013-04-12_13.17.20_22 Restore Client: bacula-fd Start time: 12-abr-2013 13:17:22 End time: 12-abr-2013 13:17:22 Files Expected: 62,982 Files Restored: 0 Bytes Restored: 0 Rate: 0.0 KB/s FD Errors: 1 FD termination status: SD termination status: Error Termination:*** Restore Error *** Error: Bacula bacula-dir 5.2.6 (21Feb12): Build OS: x86_64-pc-linux-gnu debian 7.0 JobId: 1579 Job:RestoreFiles.2013-04-12_13.17.20_22 Restore Client: bacula-fd Start time: 12-abr-2013 13:17:22 End time: 12-abr-2013 13:17:22 Files Expected: 62,982 Files Restored: 0 Bytes Restored: 0 Rate: 0.0 KB/s FD Errors: 2 FD termination status: SD termination status: Error Termination:*** Restore Error *** Start Restore Job RestoreFiles.2013-04-12_13.17.20_22 bacula-fd Fatal error: job.c:2390 Bad response to Read Data command. Wanted 3000 OK data , got 3000 error bacula-sd Fatal error: No Volume names found for restore. bacula-dir Warning: Could not get storage resource 'TSM3500'. Using Device ULT3580-TD3 the storages contains: Storage { Name = TSM3500-LTO3 Address = 10.10.0.22 SDPort = 9103 Password = xxx Device = ULT3580-TD3 Media Type = LTO-3 Autochanger = yes Maximum Concurrent Jobs = 1 } Storage { Name = TSM3500-LTO5 Address = 10.10.0.22 SDPort = 9103 Password = xx Device = ULT3580-TD5 Media Type = LTO-5 Autochanger = yes Maximum Concurrent Jobs = 1 } and in the bacula-sd Autochanger { Name = TSM3500 Device = ULT3580-TD3 Device = ULT3580-TD5 Changer Device = /dev/sg7 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d # %c = changer device # %o = command (unload|load|loaded|list|slots) # %S = slot index (1-based) # %a = archive device (i.e., /dev/sd* name for tape drive) # %d = drive index (0-based) } Device { # The TSM3100's first tape drive Name = ULT3580-TD3 Archive Device = /dev/nst0 Device Type = Tape Media Type = LTO-3 Autochanger = Yes # Changer Device = inherited from Changer Alert Command = sh -c '/usr/sbin/tapeinfo -f /dev/sg5 | /bin/sed -n /TapeAlert/p Drive Index = 0 RemovableMedia = yes Random Access = no Maximum Block Size = 262144 Maximum Network Buffer Size = 262144 Maximum Spool Size = 80gb Maximum Job Spool Size = 40gb Spool Directory = /backup/spool AutomaticMount = Yes; } Device { # The TSM3100's second tape drive Name = ULT3580-TD5 Archive Device = /dev/nst1 Device Type = Tape Media Type = LTO-5 Autochanger = Yes # Changer Device = inherited from Changer Alert Command = sh -c '/usr/sbin/tapeinfo -f /dev/sg6 | /bin/sed -n /TapeAlert/p Drive Index = 0 RemovableMedia = yes Random Access = no Maximum Block Size = 262144 Maximum Network Buffer Size = 262144 Maximum Spool Size = 80gb Maximum Job Spool Size = 40gb Spool Directory = /backup/spool AutomaticMount = Yes; } The backup process works fine an i can nevegate through the backuped directories. Any Idea? -- Iban Cabrillo Bartolome Instituto de Fisica de Cantabria (IFCA) Santander, Spain Tel: +34942200969 Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restores fails
Dear Ana, Thanks a lot for the info!!. I think, I have solved the issue. In the bacula Database--Storage table, the was a TSM3500 and TSM3500 Library plus TS3500-LTO3 and TSM3500-LTO5, I have removed the two first and the restore has work fine. Thanks for the support, Iban 2013/4/12 Ana Emília Machado de Arruda emiliaarr...@gmail.com Hi Iban, I´m afraid you have wrong configuration on your bacula-dir.conf about storages... I think you should have only one definition for storage, your autochanger named TSM3500. That way bacula will find correctly your storage device, the TSM3500, and the mtx-changer script and other configurations will help bacula to mount the volumes. your the storages contains should be: Storage { Name = TSM3500 Address = 10.10.0.22 SDPort = 9103 Password = xxx Device = ULT3580-TD3 Device = ULT3580-TD5 Media Type = LTO-3 Autochanger = yes Maximum Concurrent Jobs = 1 # i } Regards, Ana On Fri, Apr 12, 2013 at 8:48 AM, bacula-users-requ...@lists.sourceforge.net wrote: Message: 15 Date: Fri, 12 Apr 2013 13:48:07 +0200 From: Iban Cabrillo cabri...@ifca.unican.es Subject: [Bacula-users] Restores fails To: Bacula-users@lists.sourceforge.net Message-ID: CANahg_R_Ka94R_RC1a= xpoe-za9c6new0yys3dskj77jsrh...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 Hi, Since a couple of days I have problems when I try to restore a backup I get this error in the log : bacula-dir Fatal error: Could not get storage resource 'TSM3500'. Error: Bacula bacula-dir 5.2.6 (21Feb12): Build OS: x86_64-pc-linux-gnu debian 7.0 JobId: 1579 Job:RestoreFiles.2013-04-12_13.17.20_22 Restore Client: bacula-fd Start time: 12-abr-2013 13:17:22 End time: 12-abr-2013 13:17:22 Files Expected: 62,982 Files Restored: 0 Bytes Restored: 0 Rate: 0.0 KB/s FD Errors: 1 FD termination status: SD termination status: Error Termination:*** Restore Error *** Error: Bacula bacula-dir 5.2.6 (21Feb12): Build OS: x86_64-pc-linux-gnu debian 7.0 JobId: 1579 Job:RestoreFiles.2013-04-12_13.17.20_22 Restore Client: bacula-fd Start time: 12-abr-2013 13:17:22 End time: 12-abr-2013 13:17:22 Files Expected: 62,982 Files Restored: 0 Bytes Restored: 0 Rate: 0.0 KB/s FD Errors: 2 FD termination status: SD termination status: Error Termination:*** Restore Error *** Start Restore Job RestoreFiles.2013-04-12_13.17.20_22 bacula-fd Fatal error: job.c:2390 Bad response to Read Data command. Wanted 3000 OK data , got 3000 error bacula-sd Fatal error: No Volume names found for restore. bacula-dir Warning: Could not get storage resource 'TSM3500'. Using Device ULT3580-TD3 the storages contains: Storage { Name = TSM3500-LTO3 Address = 10.10.0.22 SDPort = 9103 Password = xxx Device = ULT3580-TD3 Media Type = LTO-3 Autochanger = yes Maximum Concurrent Jobs = 1 } Storage { Name = TSM3500-LTO5 Address = 10.10.0.22 SDPort = 9103 Password = xx Device = ULT3580-TD5 Media Type = LTO-5 Autochanger = yes Maximum Concurrent Jobs = 1 } and in the bacula-sd Autochanger { Name = TSM3500 Device = ULT3580-TD3 Device = ULT3580-TD5 Changer Device = /dev/sg7 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d # %c = changer device # %o = command (unload|load|loaded|list|slots) # %S = slot index (1-based) # %a = archive device (i.e., /dev/sd* name for tape drive) # %d = drive index (0-based) } Device { # The TSM3100's first tape drive Name = ULT3580-TD3 Archive Device = /dev/nst0 Device Type = Tape Media Type = LTO-3 Autochanger = Yes # Changer Device = inherited from Changer Alert Command = sh -c '/usr/sbin/tapeinfo -f /dev/sg5 | /bin/sed -n /TapeAlert/p Drive Index = 0 RemovableMedia = yes Random Access = no Maximum Block Size = 262144 Maximum Network Buffer Size = 262144 Maximum Spool Size = 80gb Maximum Job Spool Size = 40gb Spool Directory = /backup/spool AutomaticMount = Yes; } Device { # The TSM3100's second tape drive Name = ULT3580-TD5 Archive Device = /dev/nst1 Device Type = Tape Media Type = LTO-5 Autochanger = Yes # Changer Device = inherited from Changer Alert Command = sh -c '/usr/sbin/tapeinfo -f /dev/sg6 | /bin/sed -n /TapeAlert/p Drive Index = 0 RemovableMedia = yes Random Access = no Maximum Block Size
[Bacula-users] Restore using brestore on BAT gui
Dear, Sorry if this question is already answer. After the bacula (to debian wheezy ) upgrade, current running is 5.2.6+dfsg-2 version, I can not do restores using the brestore option on BAT graphical console (with the previous version the restoration using BAT worked fine), I can surf through the options, select, client, job, the files to restore, the tape, jobid and date is showed correctly, but always get the same error; Can't find the jobid, pathid or path argument Other thing is that I do not see how i can restore a complete directory using brestore, on the previous version it was very simple (mark or unmark the box) using the bconsole the restoration works fine. Any idea? Thanks in advance Bertrand Russell: *El problema con el mundo es que los estúpidos están seguros de todo y los inteligentes están llenos de dudas* -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users