Re: [Bacula-users] Maximum throughput with Bacula
On Fri, Jul 16, 2010 at 7:14 PM, kriebgui wrote: > > We have a Bacula Server with a bonding (2 x 1GBit) Load Balanced Ethernet > (switched LAN) running under Debian Lenny AMD64. The Storage is a Soft RAID 5 > with 5 SATA Disks. > > Performance Test 1: > dd if=/dev/zero of=test bs=1M count=1000 > 1048576000 Bytes (1,0 GB) kopiert, 1,93093 s, 543 MB/s > dd if=/dev/zero of=test bs=1024k count=1000 > 1048576000 Bytes (1,0 GB) kopiert, 1,78247 s, 588 MB/s > > > The client side is a Debian Lenny AMD64 with 1GBit Ethernet and > Windows 2003 with 1GBit Ethernet. > > If i put a 500MB File via FTP the throughput go's over 67MB/s: > 150 Ok to send data. > 226 File receive OK. > 536870912 bytes sent in 7.72 secs (67877.8 kB/s) > > If i run a backup of the same host with bacula, the Transfer rate is only > 23.47 M Bytes/second > > Have any one a idea? > Is the source data on the same raid as the destination? John -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Maximum throughput with Bacula
We have a Bacula Server with a bonding (2 x 1GBit) Load Balanced Ethernet (switched LAN) running under Debian Lenny AMD64. The Storage is a Soft RAID 5 with 5 SATA Disks. Performance Test 1: dd if=/dev/zero of=test bs=1M count=1000 1048576000 Bytes (1,0 GB) kopiert, 1,93093 s, 543 MB/s dd if=/dev/zero of=test bs=1024k count=1000 1048576000 Bytes (1,0 GB) kopiert, 1,78247 s, 588 MB/s The client side is a Debian Lenny AMD64 with 1GBit Ethernet and Windows 2003 with 1GBit Ethernet. If i put a 500MB File via FTP the throughput go's over 67MB/s: 150 Ok to send data. 226 File receive OK. 536870912 bytes sent in 7.72 secs (67877.8 kB/s) If i run a backup of the same host with bacula, the Transfer rate is only 23.47 M Bytes/second Have any one a idea? +-- |This was sent by gu...@kriebel.name via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Please mount volume...
On Fri, Jul 16, 2010 at 6:39 PM, John Drescher wrote: >> How did you determine it is corrupt? This? >> "Could not unserialize Volume" > > It could not find the signature for the tape header see below for my > explanation. > >> >> Here is the output for just KL0339. >> >> | 102 | KL0339 | Append | 1 | 64,512 | 0 | >> 15,552,000 | 1 | 2 | 1 | LTO2 | -00-00 00:00:00 | >> > > Good. There was nothing on the volume anyways. > >> Not sure how to verify if /dev/nst0 is valid. This is how I originally >> determined to use /dev/st0. >> >> >> [r...@monk bacula]# dmesg | grep -B 2 -A 2 "tape" >> e1000: :06:07.0: e1000_probe: (PCI:66MHz:32-bit) 00:11:43:e1:0f:a1 >> st: Version 20070203, fixed bufsize 32768, s/g segs 256 >> st 1:0:1:0: Attached scsi tape st0 >> st0: try direct i/o: yes (alignment 512 B) >> st 1:0:2:0: Attached scsi tape st1 >> st1: try direct i/o: yes (alignment 512 B) >> e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection >> >> Although, nst0 file does exist. >> >> >> [r...@monk bacula]# ls /dev/nst0 >> 0 /dev/nst0 >> > The difference between /dev/st0 and /dev/nst0 is that /dev/nst0 does > not rewind after operations while /dev/st0 does. With /dev/st0 there > is a slight chance of bacula corrupting tapes if the tape was rewound > and bacula expected the tape to be positioned at the end. > > Now looking at the list media result I do not think that is what > happened because list media said that bacula never wrote to this > volume. Even with that I still recommend on changing your config to > use /dev/nst0 instead. > > Is it possible that there was data on this volume when you first used > it with bacula? I think somehow the label barcodes failed because > there was data on the tape but it still put it in the database. > > BTW, I have to leave soon. Its 6:36 PM here and I am still at work.. I > will try to help you as much as you can before I go though. > I am leaving in less than 5 minutes so I doubt we will be able to continue this today. One thing to try first before I explain how to fix the corrupted tape is to do the following mt -f /dev/st0 rewind then ./bin/bls -c /etc/bacula/bacula-sd.conf -V* -L /dev/st0 to verify that the tape was at the beginning when bls looked for it. I believe bls does that anyways but it will not hurt to check. And yes in this case /dev/st0 is fine since we are not writing.. If you still get these errors. Then do the following. NOTE: Make sure you have the KL0339 tape still in the drive as this will erase the tape.. mt -f /dev/st0 rewind mt -f /dev/st0 weof mt -f /dev/st0 rewind then unload the tape to a slot. then start bacula-sd then use bconsole to delete KL0339 delete volume and follow the prompts then label barcodes and follow the prompts. Do not worry about already labeled volumes bacula will ignore them when it labels. John -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Please mount volume...
> How did you determine it is corrupt? This? > "Could not unserialize Volume" It could not find the signature for the tape header see below for my explanation. > > Here is the output for just KL0339. > > | 102 | KL0339 | Append | 1 | 64,512 | 0 | > 15,552,000 | 1 | 2 | 1 | LTO2 | -00-00 00:00:00 | > Good. There was nothing on the volume anyways. > Not sure how to verify if /dev/nst0 is valid. This is how I originally > determined to use /dev/st0. > > > [r...@monk bacula]# dmesg | grep -B 2 -A 2 "tape" > e1000: :06:07.0: e1000_probe: (PCI:66MHz:32-bit) 00:11:43:e1:0f:a1 > st: Version 20070203, fixed bufsize 32768, s/g segs 256 > st 1:0:1:0: Attached scsi tape st0 > st0: try direct i/o: yes (alignment 512 B) > st 1:0:2:0: Attached scsi tape st1 > st1: try direct i/o: yes (alignment 512 B) > e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection > > Although, nst0 file does exist. > > > [r...@monk bacula]# ls /dev/nst0 > 0 /dev/nst0 > The difference between /dev/st0 and /dev/nst0 is that /dev/nst0 does not rewind after operations while /dev/st0 does. With /dev/st0 there is a slight chance of bacula corrupting tapes if the tape was rewound and bacula expected the tape to be positioned at the end. Now looking at the list media result I do not think that is what happened because list media said that bacula never wrote to this volume. Even with that I still recommend on changing your config to use /dev/nst0 instead. Is it possible that there was data on this volume when you first used it with bacula? I think somehow the label barcodes failed because there was data on the tape but it still put it in the database. BTW, I have to leave soon. Its 6:36 PM here and I am still at work.. I will try to help you as much as you can before I go though. John -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Please mount volume...
How did you determine it is corrupt? This? "Could not unserialize Volume" Here is the output for just KL0339. | 102 | KL0339 | Append| 1 | 64,512 |0 | 15,552,000 | 1 |2 | 1 | LTO2 | -00-00 00:00:00 | Not sure how to verify if /dev/nst0 is valid. This is how I originally determined to use /dev/st0. [r...@monk bacula]# dmesg | grep -B 2 -A 2 "tape" e1000: :06:07.0: e1000_probe: (PCI:66MHz:32-bit) 00:11:43:e1:0f:a1 st: Version 20070203, fixed bufsize 32768, s/g segs 256 st 1:0:1:0: Attached scsi tape st0 st0: try direct i/o: yes (alignment 512 B) st 1:0:2:0: Attached scsi tape st1 st1: try direct i/o: yes (alignment 512 B) e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection Although, nst0 file does exist. [r...@monk bacula]# ls /dev/nst0 0 /dev/nst0 JJ -Original Message- From: John Drescher [mailto:dresche...@gmail.com] Sent: Friday, July 16, 2010 3:10 PM To: Jeremiah D. Jester Cc: bacula-users Subject: Re: [Bacula-users] Please mount volume... > I keep on getting this error after manually mount KL0339 into Drive1 > (/dev/st0) > > JJ > > [r...@monk bacula]# ./bin/bls -c /etc/bacula/bacula-sd.conf -V* -L /dev/st0 > bls: butil.c:281 Using device: "/dev/st0" for reading. > 16-Jul 14:58 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on > "Drive1" (/dev/st0). Manual load may be required. > 16-Jul 14:58 bls JobId 0: 3301 Issuing autochanger "loaded? drive 0" command. > 16-Jul 14:58 bls JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot > 2. > 16-Jul 14:58 bls JobId 0: Warning: acquire.c:265 Read acquire: Could not > unserialize Volume label: ERR=label.c:782 Expecting Volume Label, got > FI=352085 Stream=DATA len=46064 > > 16-Jul 14:58 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on > "Drive1" (/dev/st0). Manual load may be required. > Mount Volume "*" on device "Drive1" (/dev/st0) and press return when ready: > 16-Jul 14:58 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on > "Drive1" (/dev/st0). Manual load may be required. > 16-Jul 14:58 bls JobId 0: Warning: acquire.c:265 Read acquire: Could not > unserialize Volume label: ERR=label.c:782 Expecting Volume Label, got > FI=352085 Stream=DATA len=46064 > > 16-Jul 14:58 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on > "Drive1" (/dev/st0). Manual load may be required. > Mount Volume "*" on device "Drive1" (/dev/st0) and press return when ready: > That volume is corrupted. This is why it could not load. Does your system have /dev/nst0? can you give me the bconsole output of list media pool=Offsite only for KL0339 if you have too many.. John -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Please mount volume...
> I keep on getting this error after manually mount KL0339 into Drive1 > (/dev/st0) > > JJ > > [r...@monk bacula]# ./bin/bls -c /etc/bacula/bacula-sd.conf -V* -L /dev/st0 > bls: butil.c:281 Using device: "/dev/st0" for reading. > 16-Jul 14:58 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on > "Drive1" (/dev/st0). Manual load may be required. > 16-Jul 14:58 bls JobId 0: 3301 Issuing autochanger "loaded? drive 0" command. > 16-Jul 14:58 bls JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot > 2. > 16-Jul 14:58 bls JobId 0: Warning: acquire.c:265 Read acquire: Could not > unserialize Volume label: ERR=label.c:782 Expecting Volume Label, got > FI=352085 Stream=DATA len=46064 > > 16-Jul 14:58 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on > "Drive1" (/dev/st0). Manual load may be required. > Mount Volume "*" on device "Drive1" (/dev/st0) and press return when ready: > 16-Jul 14:58 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on > "Drive1" (/dev/st0). Manual load may be required. > 16-Jul 14:58 bls JobId 0: Warning: acquire.c:265 Read acquire: Could not > unserialize Volume label: ERR=label.c:782 Expecting Volume Label, got > FI=352085 Stream=DATA len=46064 > > 16-Jul 14:58 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on > "Drive1" (/dev/st0). Manual load may be required. > Mount Volume "*" on device "Drive1" (/dev/st0) and press return when ready: > That volume is corrupted. This is why it could not load. Does your system have /dev/nst0? can you give me the bconsole output of list media pool=Offsite only for KL0339 if you have too many.. John -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Please mount volume...
I keep on getting this error after manually mount KL0339 into Drive1 (/dev/st0) JJ [r...@monk bacula]# ./bin/bls -c /etc/bacula/bacula-sd.conf -V* -L /dev/st0 bls: butil.c:281 Using device: "/dev/st0" for reading. 16-Jul 14:58 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on "Drive1" (/dev/st0). Manual load may be required. 16-Jul 14:58 bls JobId 0: 3301 Issuing autochanger "loaded? drive 0" command. 16-Jul 14:58 bls JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot 2. 16-Jul 14:58 bls JobId 0: Warning: acquire.c:265 Read acquire: Could not unserialize Volume label: ERR=label.c:782 Expecting Volume Label, got FI=352085 Stream=DATA len=46064 16-Jul 14:58 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on "Drive1" (/dev/st0). Manual load may be required. Mount Volume "*" on device "Drive1" (/dev/st0) and press return when ready: 16-Jul 14:58 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on "Drive1" (/dev/st0). Manual load may be required. 16-Jul 14:58 bls JobId 0: Warning: acquire.c:265 Read acquire: Could not unserialize Volume label: ERR=label.c:782 Expecting Volume Label, got FI=352085 Stream=DATA len=46064 16-Jul 14:58 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on "Drive1" (/dev/st0). Manual load may be required. Mount Volume "*" on device "Drive1" (/dev/st0) and press return when ready: -Original Message- From: John Drescher [mailto:dresche...@gmail.com] Sent: Friday, July 16, 2010 2:51 PM To: Jeremiah D. Jester Cc: bacula-users Subject: Re: [Bacula-users] Please mount volume... On Fri, Jul 16, 2010 at 5:48 PM, Jeremiah D. Jester wrote: > Sure, I will leave bacula-sd stopped for now. > > So you want me to unload KL390 into one of the empty slots and then load > KL0339 into the drive and rerun "./bin/bls -c /etc/bacula/bacula-sd.conf -V* > -L" > Yes. John -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Please mount volume...
Sure, I will leave bacula-sd stopped for now. So you want me to unload KL390 into one of the empty slots and then load KL0339 into the drive and rerun "./bin/bls -c /etc/bacula/bacula-sd.conf -V* -L" JJ -Original Message- From: John Drescher [mailto:dresche...@gmail.com] Sent: Friday, July 16, 2010 2:44 PM To: Jeremiah D. Jester Cc: bacula-users Subject: Re: [Bacula-users] Please mount volume... > Ok. Done. However, the job (#358) that was requesting this volume (KL0390) > has quit. Should I restart bacula-sd? > Oh sorry. This will kill all running jobs. For testing can you leave it that way until we are done? > > 358 Incr 0 0 Error 16-Jul-10 14:22 james-onsite > > > Here is the output for the bls command... > > [r...@monk bacula]# ./bin/bls -c /etc/bacula/bacula-sd.conf -V* -L /dev/st0 > bls: butil.c:281 Using device: "/dev/st0" for reading. > 16-Jul 14:35 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on > "Drive1" (/dev/st0). Manual load may be required. > 16-Jul 14:35 bls JobId 0: 3301 Issuing autochanger "loaded? drive 0" command. > 16-Jul 14:35 bls JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot > 22. > 16-Jul 14:35 bls JobId 0: Ready to read from volume "KL0390" on device > "Drive1" (/dev/st0). > > Volume Label: > Id : Bacula 1.0 immortal > VerNo : 11 > VolName : KL0390 > PrevVolName : > VolFile : 0 > LabelType : PRE_LABEL > LabelSize : 177 > PoolName : Onsite > MediaType : LTO2 > PoolType : Backup > HostName : monk.microslu.washington.edu > Date label written: 19-Jun-2010 23:55 > > KL0390 is fine. Can you do the same for KL0339. I want to verify that this tape is fine before I move on to a second idea. John -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Please mount volume...
On Fri, Jul 16, 2010 at 5:48 PM, Jeremiah D. Jester wrote: > Sure, I will leave bacula-sd stopped for now. > > So you want me to unload KL390 into one of the empty slots and then load > KL0339 into the drive and rerun "./bin/bls -c /etc/bacula/bacula-sd.conf -V* > -L" > Yes. John -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Please mount volume...
> Ok. Done. However, the job (#358) that was requesting this volume (KL0390) > has quit. Should I restart bacula-sd? > Oh sorry. This will kill all running jobs. For testing can you leave it that way until we are done? > > 358 Incr 0 0 Error 16-Jul-10 14:22 james-onsite > > > Here is the output for the bls command... > > [r...@monk bacula]# ./bin/bls -c /etc/bacula/bacula-sd.conf -V* -L /dev/st0 > bls: butil.c:281 Using device: "/dev/st0" for reading. > 16-Jul 14:35 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on > "Drive1" (/dev/st0). Manual load may be required. > 16-Jul 14:35 bls JobId 0: 3301 Issuing autochanger "loaded? drive 0" command. > 16-Jul 14:35 bls JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot > 22. > 16-Jul 14:35 bls JobId 0: Ready to read from volume "KL0390" on device > "Drive1" (/dev/st0). > > Volume Label: > Id : Bacula 1.0 immortal > VerNo : 11 > VolName : KL0390 > PrevVolName : > VolFile : 0 > LabelType : PRE_LABEL > LabelSize : 177 > PoolName : Onsite > MediaType : LTO2 > PoolType : Backup > HostName : monk.microslu.washington.edu > Date label written: 19-Jun-2010 23:55 > > KL0390 is fine. Can you do the same for KL0339. I want to verify that this tape is fine before I move on to a second idea. John -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Please mount volume...
Ok. Done. However, the job (#358) that was requesting this volume (KL0390) has quit. Should I restart bacula-sd? 358 Incr 0 0 Error16-Jul-10 14:22 james-onsite Here is the output for the bls command... [r...@monk bacula]# ./bin/bls -c /etc/bacula/bacula-sd.conf -V* -L /dev/st0 bls: butil.c:281 Using device: "/dev/st0" for reading. 16-Jul 14:35 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on "Drive1" (/dev/st0). Manual load may be required. 16-Jul 14:35 bls JobId 0: 3301 Issuing autochanger "loaded? drive 0" command. 16-Jul 14:35 bls JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot 22. 16-Jul 14:35 bls JobId 0: Ready to read from volume "KL0390" on device "Drive1" (/dev/st0). Volume Label: Id: Bacula 1.0 immortal VerNo : 11 VolName : KL0390 PrevVolName : VolFile : 0 LabelType : PRE_LABEL LabelSize : 177 PoolName : Onsite MediaType : LTO2 PoolType : Backup HostName : monk.microslu.washington.edu Date label written: 19-Jun-2010 23:55 -Original Message- From: John Drescher [mailto:dresche...@gmail.com] Sent: Friday, July 16, 2010 2:19 PM To: Jeremiah D. Jester Cc: bacula-users Subject: Re: [Bacula-users] Please mount volume... Please stop bacula-sd (yes only the storage daemon) then Can you manually load the volume in the first tape drive (using the autochanger console) then issue the following command after the load is finished bls -c /etc/bacula/bacula-sd.conf -V* -L /dev/nst0 Here is an example from my autochanger: dev6 ~ # bls -c /etc/bacula/bacula-sd.conf -V* -L /dev/nst0 bls: match.c:249-0 add_fname_to_include prefix=0 gzip=0 fname=/ bls: butil.c:282 Using device: "/dev/nst0" for reading. 16-Jul 17:10 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on "LTO2-0" (/dev/nst0). Manual load may be required. 16-Jul 17:10 bls JobId 0: 3301 Issuing autochanger "loaded? drive 0" command. 16-Jul 17:10 bls JobId 0: 3302 Autochanger "loaded? drive 0", result: nothing loaded. 16-Jul 17:11 bls JobId 0: Ready to read from volume "A00020" on device "LTO2-0" (/dev/nst0). Volume Label: Id: Bacula 1.0 immortal VerNo : 11 VolName : A00020 PrevVolName : VolFile : 0 LabelType : VOL_LABEL LabelSize : 155 PoolName : Scratch MediaType : LTO-2 PoolType : Backup HostName : dev6 Date label written: 17-Oct-2006 16:29 bls: acquire.c:436-0 dir_update_vol_info. label=64 Vol=* John -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Please mount volume...
Please stop bacula-sd (yes only the storage daemon) then Can you manually load the volume in the first tape drive (using the autochanger console) then issue the following command after the load is finished bls -c /etc/bacula/bacula-sd.conf -V* -L /dev/nst0 Here is an example from my autochanger: dev6 ~ # bls -c /etc/bacula/bacula-sd.conf -V* -L /dev/nst0 bls: match.c:249-0 add_fname_to_include prefix=0 gzip=0 fname=/ bls: butil.c:282 Using device: "/dev/nst0" for reading. 16-Jul 17:10 bls JobId 0: Invalid slot=0 defined in catalog for Volume "*" on "LTO2-0" (/dev/nst0). Manual load may be required. 16-Jul 17:10 bls JobId 0: 3301 Issuing autochanger "loaded? drive 0" command. 16-Jul 17:10 bls JobId 0: 3302 Autochanger "loaded? drive 0", result: nothing loaded. 16-Jul 17:11 bls JobId 0: Ready to read from volume "A00020" on device "LTO2-0" (/dev/nst0). Volume Label: Id: Bacula 1.0 immortal VerNo : 11 VolName : A00020 PrevVolName : VolFile : 0 LabelType : VOL_LABEL LabelSize : 155 PoolName : Scratch MediaType : LTO-2 PoolType : Backup HostName : dev6 Date label written: 17-Oct-2006 16:29 bls: acquire.c:436-0 dir_update_vol_info. label=64 Vol=* John -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Please mount volume...
No BBO2 found. [r...@monk bacula]# grep "BB02" ./log Results for KL0339. [r...@monk bacula]# grep -n "KL0339" ./log 9361:28-Jun 13:00 bacula01-dir JobId 164: Using Volume "KL0339" from 'Scratch' pool. 9370:28-Jun 13:00 bacula01-sd JobId 164: Warning: mount.c:221 Open device "Drive2" (/dev/st1) Volume "KL0339" failed: ERR=dev.c:491 Unable to open device "Drive2" (/dev/st1): ERR=No medium found 9376:28-Jun 13:01 bacula01-sd JobId 164: Wrote label to prelabeled Volume "KL0339" on device "Drive2" (/dev/st1) 9377:28-Jun 13:01 bacula01-sd JobId 164: New volume "KL0339" mounted on device "Drive2" (/dev/st1) at 28-Jun-2010 13:01. 11706:01-Jul 15:00 bacula01-sd JobId 219: Please mount Volume "KL0339" or label a new one for: 11711:01-Jul 16:00 bacula01-sd JobId 219: Please mount Volume "KL0339" or label a new one for: 11716:01-Jul 18:00 bacula01-sd JobId 219: Please mount Volume "KL0339" or label a new one for: 11721:01-Jul 22:00 bacula01-sd JobId 219: Please mount Volume "KL0339" or label a new one for: 11726:02-Jul 06:00 bacula01-sd JobId 219: Please mount Volume "KL0339" or label a new one for: 11731:02-Jul 09:13 bacula01-sd JobId 219: Please mount Volume "KL0339" or label a new one for: 11736:02-Jul 09:14 bacula01-sd JobId 219: Please mount Volume "KL0339" or label a new one for: 11741:02-Jul 09:19 bacula01-sd JobId 219: Please mount Volume "KL0339" or label a new one for: 11746:02-Jul 09:23 bacula01-sd JobId 219: Please mount Volume "KL0339" or label a new one for: 11751:02-Jul 22:00 bacula01-sd JobId 219: Please mount Volume "KL0339" or label a new one for: 11756:03-Jul 22:01 bacula01-sd JobId 219: Please mount Volume "KL0339" or label a new one for: 11761:04-Jul 22:01 bacula01-sd JobId 219: Please mount Volume "KL0339" or label a new one for: 11766:05-Jul 22:01 bacula01-sd JobId 219: Please mount Volume "KL0339" or label a new one for: 17238:07-Jul 02:53 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17243:07-Jul 03:53 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17248:07-Jul 05:53 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17253:07-Jul 09:53 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17266:07-Jul 17:56 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17271:08-Jul 09:09 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17276:08-Jul 09:10 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17281:08-Jul 09:12 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17286:08-Jul 09:13 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17654:08-Jul 12:22 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17659:08-Jul 13:22 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17664:08-Jul 15:22 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17669:08-Jul 19:22 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17674:09-Jul 03:22 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17679:09-Jul 09:24 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17687:09-Jul 09:28 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17692:09-Jul 09:29 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17697:09-Jul 09:30 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17735:09-Jul 11:41 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17740:09-Jul 12:41 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17745:09-Jul 13:34 bacula01-sd JobId 270: Please mount Volume "KL0339" or label a new one for: 17792:09-Jul 13:35 bacula01-sd JobId 271: Please mount Volume "KL0339" or label a new one for: 35775:13-Jul 01:00 bacula01-sd JobId 323: Please mount Volume "KL0339" or label a new one for: 35780:13-Jul 02:00 bacula01-sd JobId 323: Please mount Volume "KL0339" or label a new one for: 35785:13-Jul 04:00 bacula01-sd JobId 323: Please mount Volume "KL0339" or label a new one for: 35790:13-Jul 08:00 bacula01-sd JobId 323: Please mount Volume "KL0339" or label a new one for: 35795:13-Jul 16:00 bacula01-sd JobId 323: Please mount Volume "KL0339" or label a new one for: 35800:14-Jul 08:00 bacula01-sd JobId 323: Please mount Volume "KL0339" or label a new one for: 35808:14-Jul 15:28 bacula01-sd JobId 323: Please mount Volume "KL0339" or label a new one for: 35813:14-Jul 15:31 bacula01-sd JobId 323: Please mount Volume "KL0339" or label a new one for: 35818:14-Jul 15:31 bacula01-sd JobId 323: Please mount Volume "KL0339" or label a new one for: 35823:14-Jul 15:34 bacula01-sd JobId 323: Please mount Volume "KL0339" or label a new one for: 35828:14-Jul 16:01 bacula01-sd JobId 323:
Re: [Bacula-users] Please mount volume...
Sorry, I attached an old log file. Here is the correct one. [r...@monk bacula]# ls -la /var/log/bacula/log 2888 -rw-r--r-- 1 root root 2950763 Jul 16 14:01 /var/log/bacula/log JJ (log lines below) [r...@monk bacula]# tail -n 200 /var/log/bacula/log 16-Jul 06:11 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 06:16 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 06:21 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 06:26 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 06:31 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 06:36 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 06:41 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 06:46 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 06:51 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 06:56 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 07:01 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 07:06 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 07:11 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 07:16 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 07:21 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 07:26 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 07:31 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 07:36 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 07:41 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 07:46 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 07:51 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 07:56 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 08:01 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 08:06 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 08:11 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 08:16 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 08:21 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 08:26 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 08:31 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 08:36 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 08:41 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 08:46 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 08:51 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 08:56 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 09:01 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 09:06 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 09:11 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 09:16 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 09:21 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 09:26 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 09:31 bacula01-dir: ERROR in authenticate.c:304 UA Hello from client:10.200.50.100:36131 is invalid. Len=0 16-Jul 09:36 bacula01-dir: ERR
Re: [Bacula-users] Please mount volume...
On Fri, Jul 16, 2010 at 4:53 PM, John Drescher wrote: > On Fri, Jul 16, 2010 at 4:51 PM, Jeremiah D. Jester > wrote: >> Sure. Note, that there are some messages authentication messages from >> another host in the log, don't think it is related. >> > Can you look up further up in the log to when you were mounting the > volume KL0339? If you can not find that are there any lines that say Wanted ID: "BB02" or just search for BB02 and return some context John -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Please mount volume...
On Fri, Jul 16, 2010 at 4:51 PM, Jeremiah D. Jester wrote: > Sure. Note, that there are some messages authentication messages from another > host in the log, don't think it is related. > Can you look up further up in the log to when you were mounting the volume KL0339? John -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Please mount volume...
Sure. Note, that there are some messages authentication messages from another host in the log, don't think it is related. Jj [r...@monk bacula]# tail -n 200 /etc/bacula/log Backup Level: Full Client: "james-fd" 5.0.2 (28Apr10) x86_64-unknown-linux-gnu,redhat,Enterprise release FileSet:"james-files" 2010-06-04 14:02:50 Pool: "Offsite" (From Job resource) Catalog:"MyCatalog" (From Client resource) Storage:"Tape" (From Job resource) Scheduled time: 06-Jun-2010 16:00:00 Start time: 06-Jun-2010 16:00:02 End time: 06-Jun-2010 16:00:07 Elapsed time: 5 secs Priority: 10 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 (0 B) SD Bytes Written: 0 (0 B) Rate: 0.0 KB/s Software Compression: None VSS:no Encryption: no Accurate: no Volume name(s): Volume Session Id: 0 Volume Session Time:0 Last Volume Bytes: 0 (0 B) Non-fatal FD errors:0 SD Errors: 0 FD termination status: SD termination status: Termination:*** Backup Error *** 06-Jun 16:00 bacula-dir JobId 11: Start Backup JobId 11, Job=quincy-offsite.2010-06-06_16.00.00_09 06-Jun 16:00 bacula-dir JobId 11: Fatal error: authenticate.c:120 Director unable to authenticate with Storage daemon at "monk.microslu.washington.edu:9103". Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the SD or SD networking messed up (restart daemon). Please see http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00376 for help. 06-Jun 16:00 bacula-dir JobId 11: Error: Bacula bacula-dir 5.0.2 (28Apr10): 06-Jun-2010 16:00:14 Build OS: x86_64-unknown-linux-gnu redhat Enterprise release JobId: 11 Job:quincy-offsite.2010-06-06_16.00.00_09 Backup Level: Full Client: "quincy-fd" FileSet:"quincy-files" 2010-06-04 22:00:00 Pool: "Offsite" (From Job resource) Catalog:"MyCatalog" (From Client resource) Storage:"Tape" (From Job resource) Scheduled time: 06-Jun-2010 16:00:00 Start time: 06-Jun-2010 16:00:09 End time: 06-Jun-2010 16:00:14 Elapsed time: 5 secs Priority: 10 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 (0 B) SD Bytes Written: 0 (0 B) Rate: 0.0 KB/s Software Compression: None VSS:no Encryption: no Accurate: no Volume name(s): Volume Session Id: 0 Volume Session Time:0 Last Volume Bytes: 0 (0 B) Non-fatal FD errors:0 SD Errors: 0 FD termination status: SD termination status: Termination:*** Backup Error *** 07-Jun 12:51 bacula-dir JobId 0: Fatal error: authenticate.c:120 Director unable to authenticate with Storage daemon at "monk.microslu.washington.edu:9103". Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the SD or SD networking messed up (restart daemon). Please see http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00376 for help. 07-Jun 13:21 bacula-dir JobId 0: Fatal error: authenticate.c:120 Director unable to authenticate with Storage daemon at "monk.microslu.washington.edu:9103". Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the SD or SD networking messed up (restart daemon). Please see http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00376 for help. 07-Jun 13:32 bacula-dir JobId 0: Fatal error: authenticate.c:120 Director unable to authenticate with Storage daemon at "monk.microslu.washington.edu:9103". Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the SD or SD networking messed up (restart daemon). Please see http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00376 for help. 07-Jun 13:42 bacula-dir JobId 0: Fatal error: authenticate.c:120 Director unable to authenticate with Storage daemon at "monk.microslu.washington.edu:9103". Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the SD or SD networking messed up (restart daemon). Please see http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00376 for help. 07-Jun 13:43 bacula-dir JobId 0: Fatal error: authenticate.c:120 Director unable to authenticate with Storage daemon at "monk.microslu.washington.edu:9103". Possible causes: Passwords or names not the same o
Re: [Bacula-users] Please mount volume...
I can do that. I've tried killing multiple jobs over the past days and this message usually resurfaces. Now that I've killed the job, I get another message for the next job requesting a tape that is no longer in any of the slots? I'm guessing that KL0390 was previously written to but probably on the shelf. Strange since I would only remove a tape if it reported 'Full' and doubt it request it again. JJ (from messages) 16-Jul 13:45 bacula01-dir JobId 358: Start Backup JobId 358, Job=james-onsite.2010-07-15_16.00.00_25 16-Jul 13:45 bacula01-dir JobId 358: Using Device "Drive1" 16-Jul 13:45 bacula01-sd JobId 358: Invalid slot=0 defined in catalog for Volume "KL0390" on "Drive1" (/dev/st0). Manual load may be required. 16-Jul 13:45 bacula01-sd JobId 358: Invalid slot=0 defined in catalog for Volume "KL0390" on "Drive1" (/dev/st0). Manual load may be required. 16-Jul 13:45 bacula01-sd JobId 358: Invalid slot=0 defined in catalog for Volume "KL0390" on "Drive1" (/dev/st0). Manual load may be required. 16-Jul 13:45 bacula01-sd JobId 358: Invalid slot=0 defined in catalog for Volume "KL0390" on "Drive1" (/dev/st0). Manual load may be required. 16-Jul 13:45 bacula01-sd JobId 358: Invalid slot=0 defined in catalog for Volume "KL0390" on "Drive1" (/dev/st0). Manual load may be required. 16-Jul 13:45 bacula01-sd JobId 358: Please mount Volume "KL0390" or label a new one for: Job: james-onsite.2010-07-15_16.00.00_25 Storage: "Drive1" (/dev/st0) Pool: Onsite Media type: LTO2 *status slots The defined Storage resources are: 1: File 2: Tape Select Storage resource (1-2): 2 Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" Enter autochanger drive[0]: Connecting to Storage daemon Tape at bacula.microslu.washington.edu:9103 ... 3306 Issuing autochanger "slots" command. Device "ADIC_Scalar_24" has 22 slots. Connecting to Storage daemon Tape at bacula.microslu.washington.edu:9103 ... 3306 Issuing autochanger "list" command. Slot | Volume Name| Status | Media Type | Pool | --+--+---+--+| 1 | | | | | 2 | KL0339 |Append | LTO2 | Offsite | 3 | KL0423 | Error | LTO2 | Offsite | 4 | 98 | Error | LTO2 | Onsite | 5 | KL0313 | Full | LTO2 | Onsite | 6 | KL0392 | Full | LTO2 | Offsite | 7 | KL0449 | Error | LTO2 | Onsite | 8*| KL0444 | ? |? | ? | 9 | KL0362 | Error | LTO2 | Onsite | 10 | KL0324 | Error | LTO2 | Onsite | 11 | 82 | Full | LTO2 | Onsite | 12 | KL0445 | Full | LTO2 | Onsite | 13 | KL0367 | Full | LTO2 | Onsite | 14 | KL0385 | Full | LTO2 | Onsite | 15*| 87 | ? |? | ? | 16 | 000103 | Error | LTO2 | Onsite | 17 | 89 |Append | LTO2 | Offsite | 18 | KL0391 | Error | LTO2 | Onsite | 19 | KL0419 | Error | LTO2 | Onsite | 20 | KL0325 |Append | LTO2 | Offsite | 21 | KL0350 | Error | LTO2 | Onsite | 22 | | | | | -Original Message- From: John Drescher [mailto:dresche...@gmail.com] Sent: Friday, July 16, 2010 1:42 PM To: Jeremiah D. Jester Cc: bacula-users Subject: Re: [Bacula-users] Please mount volume... > Yes, I tried mounting and unmounting multiple times. I just double checked > the changer, KL0339 is loaded into Drive 1. (/dev/st0). > Is it okay that we kill the current job? John -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] SQL inserts of file details while running backup?
On 16/07/10, Dan Langille (d...@langille.org) wrote: > >>>I'm just trying out Bacula and writing my first backup to tape (which > >>>will span a few tapes). > > BTW, try a restore from that backup which spans tapes... Then > compare it to what you backed up. Tape spanning backups are the > ones most likely to exhibit data loss. Thanks for the advice, Dan. I've retrieved files successfully from each of the 3 tapes. It all worked very well. > >>If you can, I'd upgrade to 5.0.2 > > > >OK. I'd be grateful to know what the main reasons for upgrading to the > >5.0.2 series would be from the perspective of a single server backing > >itself up. > > You'll be on the latest instead of something two years old. If a > problem arises, you'll know it's most likely not 'something fixed in > the latest version'. Well, perhaps not 2 years, but > 1 years and > 2.4 started in summer 2008. Significant changes in the way things > are done. I've installed it from backports and I'm just setting it up again. Thanks for the the advice. -- Rory Campbell-Lange r...@campbell-lange.net -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Please mount volume...
On Fri, Jul 16, 2010 at 4:42 PM, John Drescher wrote: >> Yes, I tried mounting and unmounting multiple times. I just double checked >> the changer, KL0339 is loaded into Drive 1. (/dev/st0). >> > > Is it okay that we kill the current job? > Also can you post the last 200 or so lines of the log file? Something like tail -n 200 /var/log/bacula -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Please mount volume...
> Yes, I tried mounting and unmounting multiple times. I just double checked > the changer, KL0339 is loaded into Drive 1. (/dev/st0). > Is it okay that we kill the current job? John -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Please mount volume...
Yes, I tried mounting and unmounting multiple times. I just double checked the changer, KL0339 is loaded into Drive 1. (/dev/st0). JJ -Original Message- From: John Drescher [mailto:dresche...@gmail.com] Sent: Friday, July 16, 2010 10:53 AM To: Jeremiah D. Jester; bacula-users Subject: Re: [Bacula-users] Please mount volume... > Thanks for the reply. I issued an 'update slots' command. When I load slot 2, > it is still says it is loading slot 1 volume. However, when I look at the > physical auto changer slot 2 is empty leading me to believe that this is a > bacula inventory problem. > > Other thoughts? > Did you try mounting and unmounting? Can you look at the changer and verify that the volume is in the drive using the changer front pannel? I do have a concern about this volume because you are using /dev/st0 instead of /dev/nst0. John -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Missing files on Bacula-gui_3.0.1 (BWeb)
Title: Raphaela Rocha Hello.. I have instaled the BWeb, but when i try to open the menu option "Jobs > Web Restore" it just give me a white screen. I saw that the file bresto.html is looking for a file named "ext-all-debug.js" in a directory called "ext" but it does not exist on the tarball. Is it right? If its right, why "bresto", do nothing? I'm using a debian lenny with a 2.4 bacula. Thanks. -- Raphaela Rocha Analista de Projeto Spirit Linux | Linux com Profissionalismo Email: rapha...@spiritlinux.com.br Mobile: (27) 8824-2642 Phones: (27) 3227-0007 Ramal: 108 -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Please mount volume...
> Thanks for the reply. I issued an 'update slots' command. When I load slot 2, > it is still says it is loading slot 1 volume. However, when I look at the > physical auto changer slot 2 is empty leading me to believe that this is a > bacula inventory problem. > > Other thoughts? > Did you try mounting and unmounting? Can you look at the changer and verify that the volume is in the drive using the changer front pannel? I do have a concern about this volume because you are using /dev/st0 instead of /dev/nst0. John -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Please mount volume...
Hi Bill, Thanks for the reply. I issued an 'update slots' command. When I load slot 2, it is still says it is loading slot 1 volume. However, when I look at the physical auto changer slot 2 is empty leading me to believe that this is a bacula inventory problem. Other thoughts? Thanks, JJ *status slots The defined Storage resources are: 1: File 2: Tape Select Storage resource (1-2): 2 Enter autochanger drive[0]: Connecting to Storage daemon Tape at bacula.microslu.washington.edu:9103 ... 3306 Issuing autochanger "slots" command. Device "ADIC_Scalar_24" has 23 slots. Connecting to Storage daemon Tape at bacula.microslu.washington.edu:9103 ... 3306 Issuing autochanger "list" command. Slot | Volume Name| Status | Media Type | Pool | --+--+---+--+| 1 | 64 | Error | LTO2 | Onsite | 2 | KL0339 |Append | LTO2 | Offsite | 3 | KL0423 | Error | LTO2 | Offsite | 4 | 98 | Error | LTO2 | Onsite | 5 | KL0313 | Full | LTO2 | Onsite | 6 | KL0392 | Full | LTO2 | Offsite | 7 | KL0449 | Error | LTO2 | Onsite | 8*| KL0444 | ? |? | ? | 9 | KL0362 | Error | LTO2 | Onsite | 10 | KL0324 | Error | LTO2 | Onsite | 11 | 82 | Full | LTO2 | Onsite | 12 | KL0445 | Full | LTO2 | Onsite | 13 | KL0367 | Full | LTO2 | Onsite | 14 | KL0385 | Full | LTO2 | Onsite | 15*| 87 | ? |? | ? | 16 | 000103 | Error | LTO2 | Onsite | 17 | 89 |Append | LTO2 | Offsite | 18 | KL0391 | Error | LTO2 | Onsite | 19 | KL0419 | Error | LTO2 | Onsite | 20 | KL0325 |Append | LTO2 | Offsite | 21 | KL0350 | Error | LTO2 | Onsite | 22 | | | | | 23 | | | | | *update slots The defined Storage resources are: 1: File 2: Tape Select Storage resource (1-2): 2 Enter autochanger drive[0]: 0 Connecting to Storage daemon Tape at bacula.microslu.washington.edu:9103 ... 3306 Issuing autochanger "slots" command. Device "ADIC_Scalar_24" has 23 slots. Connecting to Storage daemon Tape at bacula.microslu.washington.edu:9103 ... 3306 Issuing autochanger "list" command. Catalog record for Volume "64" updated to reference slot 1. Catalog record for Volume "KL0339" updated to reference slot 2. Catalog record for Volume "KL0423" updated to reference slot 3. Catalog record for Volume "98" updated to reference slot 4. Catalog record for Volume "KL0313" updated to reference slot 5. Catalog record for Volume "KL0392" updated to reference slot 6. Catalog record for Volume "KL0449" updated to reference slot 7. Volume "KL0444" not found in catalog. Slot=8 InChanger set to zero. Catalog record for Volume "KL0362" updated to reference slot 9. Catalog record for Volume "KL0324" updated to reference slot 10. Catalog record for Volume "82" updated to reference slot 11. Catalog record for Volume "KL0445" updated to reference slot 12. Catalog record for Volume "KL0367" updated to reference slot 13. Catalog record for Volume "KL0385" updated to reference slot 14. Volume "87" not found in catalog. Slot=15 InChanger set to zero. Catalog record for Volume "000103" updated to reference slot 16. Catalog record for Volume "89" updated to reference slot 17. Catalog record for Volume "KL0391" updated to reference slot 18. Catalog record for Volume "KL0419" updated to reference slot 19. Catalog record for Volume "KL0325" updated to reference slot 20. Catalog record for Volume "KL0350" updated to reference slot 21. * *mount The defined Storage resources are: 1: File 2: Tape Select Storage resource (1-2): 2 Enter autochanger drive[0]: 0 Enter autochanger slot: 2 3301 Issuing autochanger "loaded? drive 0" command. 3302 Autochanger "loaded? drive 0", result: nothing loaded. 3304 Issuing autochanger "load slot 2, drive 0" command. 3305 Autochanger "load slot 2, drive 0", status is OK. 3905 Device "Drive1" (/dev/st
Re: [Bacula-users] SQL inserts of file details while running backup?
On 7/16/2010 12:16 PM, Rory Campbell-Lange wrote: > On 16/07/10, Dan Langille (d...@langille.org) wrote: >> On 7/16/2010 5:19 AM, Rory Campbell-Lange wrote: >>> I'm just trying out Bacula and writing my first backup to tape (which >>> will span a few tapes). BTW, try a restore from that backup which spans tapes... Then compare it to what you backed up. Tape spanning backups are the ones most likely to exhibit data loss. >>> All seems to be proceeding fine at the moment and I can see files >>> passing through bconsole. >> >> I assumed you are doing 'status client' repeatedly and can see the progress > > Quite right. > >>> While Postgres appears to be updated with the latest status of labels >>> and so on, I can't find any inserts of file names. Should I be expecting >>> this? >> >> It depends. Depending on how you configured it, the file attributes >> may not be added until the last stages of the job. "Attribute >> Spooling = yes" affects this. Check the table after the job. > > Thanks, I'll look into this setting. >> >>> I'm using Bacula 2.4.4-1 from Debian stable. >> >> If you can, I'd upgrade to 5.0.2 > > OK. I'd be grateful to know what the main reasons for upgrading to the > 5.0.2 series would be from the perspective of a single server backing > itself up. You'll be on the latest instead of something two years old. If a problem arises, you'll know it's most likely not 'something fixed in the latest version'. Well, perhaps not 2 years, but > 1 years and 2.4 started in summer 2008. Significant changes in the way things are done. -- Dan Langille - http://langille.org/ -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Volumes autopurge
> thank you, but I have still a problem. the autopruging does not work. > > > 16-Jul 09:26 backup-sd JobId 1493: Warning: Director wanted Volume "Mon". > Current Volume "Tue" not acceptable because: > 1998 Volume "Tue" status is Full, but should be Append, Purged or Recycle. > 16-Jul 09:26 backup-sd JobId 1493: Please mount Volume "Mon" or label a new > one for: > Job: mybackupjob > Storage: "TapeStorage" (/dev/st0) > Pool: TapePool > Media type: LTO-2 > # > Please post the output of list media pool=TapePool > > It's the old configuration. The Tue tape was last written at 2010-07-07 > 15:59:58, so file retetiontime is over. > > The other question, is it possible that bacula overwrites the data at the > beginning on the storage, without purging the complete storage? No. Reusing any volume is all or nothing. > Especially my localspace storage should keep hold on the files. I am confused at what you are getting. I have just woke up so that may be a factor.. John -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] SQL inserts of file details while running backup?
On 16/07/10, Dan Langille (d...@langille.org) wrote: > On 7/16/2010 5:19 AM, Rory Campbell-Lange wrote: > >I'm just trying out Bacula and writing my first backup to tape (which > >will span a few tapes). > > > >All seems to be proceeding fine at the moment and I can see files > >passing through bconsole. > > I assumed you are doing 'status client' repeatedly and can see the progress Quite right. > >While Postgres appears to be updated with the latest status of labels > >and so on, I can't find any inserts of file names. Should I be expecting > >this? > > It depends. Depending on how you configured it, the file attributes > may not be added until the last stages of the job. "Attribute > Spooling = yes" affects this. Check the table after the job. Thanks, I'll look into this setting. > > >I'm using Bacula 2.4.4-1 from Debian stable. > > If you can, I'd upgrade to 5.0.2 OK. I'd be grateful to know what the main reasons for upgrading to the 5.0.2 series would be from the perspective of a single server backing itself up. Many thanks Rory -- Rory Campbell-Lange r...@campbell-lange.net -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] restore / slow directory tree build process on 5.0.x / mysql
Hello, something's gone badly wrong with the directory tree rebuild sql query on 5.0.x. I'm currently attempting to restore a single file from a disk backup I made recently: here's the output: > ++---+--++-+-+ > | JobId | Level | JobFiles | JobBytes | StartTime | > VolumeName | > ++---+--++-+-+ > | 10,087 | F | 401,368 | 56,963,986,536 | 2010-07-04 02:05:01 | > Pool-Full-Office-0597 | > | 10,178 | D |5,768 | 1,804,433,105 | 2010-07-11 02:05:01 | > Pool-Diff-Office-0009 | > | 10,217 | I |3,189 |628,898,394 | 2010-07-14 02:05:01 | > Pool-Increm-Office-0013 | > | 10,230 | I |1,689 |250,775,502 | 2010-07-15 02:05:00 | > Pool-Increm-Office-0051 | > ++---+--++-+-+ > You have selected the following JobIds: 10087,10178,10217,10230 > > Building directory tree for JobId(s) 10087,10178,10217,10230 ... At this stage, bconsole has been sitting there for 3 hours waiting for mysql to complete the query. the mysqld process has been pegged at 100% all this time. In terms of mysql config, the my.cnf file is linked to my-huge.cnf, except that key_buffer_size is set to 1536M: > pancake:/var/db/mysql# mysqladmin variables | grep -i key_buffer_size > | key_buffer_size | 1600126976 > | > pancake:/var/db/mysql# The sql server is an quad core opteron 1352 with 8G memory running freebsd 8.0/amd64. It's otherwise unloaded. msyql 5.0.88, bacula 5.0.2. All the backups are to disk (zfs raidz1 on 4 x spindles), however, it's not even getting that far. Just in case, I ran "optimize table" on File, Filename and Path earlier today. This used to work fine on bacula 3.x - the directory build process only took seconds. I'm looking angrily at commit 8bf4c85c30bac47f76415ff1f634b20efdf22048. Not sure if it's the prime cause, but the overall SQL query looks pretty gross. any suggestions? Nick -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] SQL inserts of file details while running backup?
On 7/16/2010 5:19 AM, Rory Campbell-Lange wrote: > I'm just trying out Bacula and writing my first backup to tape (which > will span a few tapes). > > All seems to be proceeding fine at the moment and I can see files > passing through bconsole. I assumed you are doing 'status client' repeatedly and can see the progress > While Postgres appears to be updated with the latest status of labels > and so on, I can't find any inserts of file names. Should I be expecting > this? It depends. Depending on how you configured it, the file attributes may not be added until the last stages of the job. "Attribute Spooling = yes" affects this. Check the table after the job. > I'm using Bacula 2.4.4-1 from Debian stable. If you can, I'd upgrade to 5.0.2 -- Dan Langille - http://langille.org/ -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula 5.0.2 restore files from tape very slow
>Hi John... Is it possible that the backup job you are trying to restore from >was running at the same time as other backup jobs were running (eg: concurrent >jobs enabled)? > >If yes, then what might be going on here is that several jobs from several >clients were written to the tape at the same time, and the data from each job >was "interleaved", so the write to tape during the backup was fast, but now >the trade-off is that restores will be slow since the tape drive needs to read >parts of the files it wants to restore, skip the files from other >servers/jobs, lather, rinse, repeat. > >It could also explain the initial fast restore of some data as it is possible >that this particular backup job you are trying to restore was "already in >progress" when the other started so it had full access to the storage and it >was the only one writing to the tape. > >Something to consider. Well, this was an archive job and I ran it during the day when no other backups were running. Also, I have Bacula configured to only write a single job to each tape for the archive pool (Maximum Volume Jobs = 1). John -Original Message- From: Bill Arlofski [mailto:waa-bac...@revpol.com] Sent: Thursday, July 15, 2010 7:06 PM To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Bacula 5.0.2 restore files from tape very slow On 07/15/10 14:07, May, John wrote: > I am using Bacula 5.0.2 using MySQL on Centos 5.4 x64. I'm trying to > restore some files from a backup I made a couple months ago. I the restore > is about 1.5 TB in size and spans two LTO4 tapes. I can start the restore > just fine and the first 5GB flies by in a minute or so, then the restore sort > of stalls and starts crawling. It slows down to about 1MB/s down from about > 70MB/s. There are only about 15,000 files on the tapes and I am restoring to > a local Raid 0 array. > > I tried to bextract the files with and without a bootstrap file and the speed > is still very slow. I also verified I have the correct the indexes in Mysql > and I compacted the database. > > At this rate, I don't think the restore will finish, because it is going so > slow. > > Any ideas on what's going on? > > -- John Hi John... Is it possible that the backup job you are trying to restore from was running at the same time as other backup jobs were running (eg: concurrent jobs enabled)? If yes, then what might be going on here is that several jobs from several clients were written to the tape at the same time, and the data from each job was "interleaved", so the write to tape during the backup was fast, but now the trade-off is that restores will be slow since the tape drive needs to read parts of the files it wants to restore, skip the files from other servers/jobs, lather, rinse, repeat. It could also explain the initial fast restore of some data as it is possible that this particular backup job you are trying to restore was "already in progress" when the other started so it had full access to the storage and it was the only one writing to the tape. Something to consider. -- Bill Arlofski Reverse Polarity, LLC -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Job takes all Append tapes
On 07/15/10 01:37 AM, Gaspare Siclari wrote: > Hi All, > i have a problem with a job that every night takes all tapes in "Append" > status from scratch pool. > After that the job has no Append tapes in Scratch pool and will wait for > a Mount request. > This is very strange, do you ave any idea? > Below the output of the job: > > 14-Jul 21:15 backupfe-dir JobId 41067: Start Backup JobId 41067, > Job=oracleprod_arch_db.2010-07-14_21.15.00.02 > 14-Jul 21:15 backupfe-dir JobId 41067: Using Volume "B00449L4" from > 'Scratch' pool. > 14-Jul 21:15 backupfe-dir JobId 41067: Using Volume "B00470L4" from > 'Scratch' pool. > 14-Jul 21:15 backupfe-dir JobId 41067: Using Volume "B00465L4" from > 'Scratch' pool. > 14-Jul 21:15 backupfe-dir JobId 41067: Using Volume "B00437L4" from > 'Scratch' pool. > 14-Jul 21:15 backupfe-dir JobId 41067: Using Volume "B00254L4" from > 'Scratch' pool. > 14-Jul 21:15 backupfe-dir JobId 41067: Using Device "IBM-TL4000-Drive-1" > 14-Jul 21:15 backupfe2-sd JobId 41067: Job > oracleprod_arch_db.2010-07-14_21.15.00.02 waiting. Cannot find any > appendable volumes. > Please use the "label" command to create a new Volume for: > Storage: "IBM-TL4000-Drive-1" (/dev/ibm-tape-drive-n0) > Pool: oracle > Media type: IBM-LTO-4 > 14-Jul 21:22 backupfe2-sd JobId 41067: Job > oracleprod_arch_db.2010-07-14_21.15.00.02 canceled while waiting for > mount on Storage Device ""IBM-TL4000-Drive-1" (/dev/ibm-tape-drive-n0)". > 14-Jul 21:22 backupfe-dir JobId 41067: Bacula backupfe-dir 2.4.4 > (28Dec08): 14-Jul-2010 21:22:44 > > Thanks > Gaspare Siclari > I had the same problem last week. In my case the job wrote to the last volume it could grab and then went back and wrote to the first. I manually moved the other volumes back to the scratch pool and everything has worked fine since. I never could find a reason for this happening and never gat a responce from the list. I don't have a clue what was up but it hasn't happened since. -- Robert Hartzell b...@rwhartzell.net RwHartzell.Net -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Job takes all Append tapes
Hi All, i have a problem with a job that every night takes all tapes in "Append" status from scratch pool. After that the job has no Append tapes in Scratch pool and will wait for a Mount request. This is very strange, do you ave any idea? Below the output of the job: 14-Jul 21:15 backupfe-dir JobId 41067: Start Backup JobId 41067, Job=oracleprod_arch_db.2010-07-14_21.15.00.02 14-Jul 21:15 backupfe-dir JobId 41067: Using Volume "B00449L4" from 'Scratch' pool. 14-Jul 21:15 backupfe-dir JobId 41067: Using Volume "B00470L4" from 'Scratch' pool. 14-Jul 21:15 backupfe-dir JobId 41067: Using Volume "B00465L4" from 'Scratch' pool. 14-Jul 21:15 backupfe-dir JobId 41067: Using Volume "B00437L4" from 'Scratch' pool. 14-Jul 21:15 backupfe-dir JobId 41067: Using Volume "B00254L4" from 'Scratch' pool. 14-Jul 21:15 backupfe-dir JobId 41067: Using Device "IBM-TL4000-Drive-1" 14-Jul 21:15 backupfe2-sd JobId 41067: Job oracleprod_arch_db.2010-07-14_21.15.00.02 waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: "IBM-TL4000-Drive-1" (/dev/ibm-tape-drive-n0) Pool: oracle Media type: IBM-LTO-4 14-Jul 21:22 backupfe2-sd JobId 41067: Job oracleprod_arch_db.2010-07-14_21.15.00.02 canceled while waiting for mount on Storage Device ""IBM-TL4000-Drive-1" (/dev/ibm-tape-drive-n0)". 14-Jul 21:22 backupfe-dir JobId 41067: Bacula backupfe-dir 2.4.4 (28Dec08): 14-Jul-2010 21:22:44 Thanks Gaspare Siclari -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Job takes all Append tapes
Hi All, i have a problem with a job that every night takes all tapes in "Append" status from scratch pool. After that the job has no Append tapes in Scratch pool and will wait for a Mount request. This is very strange, do you ave any idea? Below the output of the job: 14-Jul 21:15 backupfe-dir JobId 41067: Start Backup JobId 41067, Job=oracleprod_arch_db.2010-07-14_21.15.00.02 14-Jul 21:15 backupfe-dir JobId 41067: Using Volume "B00449L4" from 'Scratch' pool. 14-Jul 21:15 backupfe-dir JobId 41067: Using Volume "B00470L4" from 'Scratch' pool. 14-Jul 21:15 backupfe-dir JobId 41067: Using Volume "B00465L4" from 'Scratch' pool. 14-Jul 21:15 backupfe-dir JobId 41067: Using Volume "B00437L4" from 'Scratch' pool. 14-Jul 21:15 backupfe-dir JobId 41067: Using Volume "B00254L4" from 'Scratch' pool. 14-Jul 21:15 backupfe-dir JobId 41067: Using Device "IBM-TL4000-Drive-1" 14-Jul 21:15 backupfe2-sd JobId 41067: Job oracleprod_arch_db.2010-07-14_21.15.00.02 waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: "IBM-TL4000-Drive-1" (/dev/ibm-tape-drive-n0) Pool: oracle Media type: IBM-LTO-4 14-Jul 21:22 backupfe2-sd JobId 41067: Job oracleprod_arch_db.2010-07-14_21.15.00.02 canceled while waiting for mount on Storage Device ""IBM-TL4000-Drive-1" (/dev/ibm-tape-drive-n0)". 14-Jul 21:22 backupfe-dir JobId 41067: Bacula backupfe-dir 2.4.4 (28Dec08): 14-Jul-2010 21:22:44 Thanks Gaspare Siclari -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] SQL inserts of file details while running backup?
I'm just trying out Bacula and writing my first backup to tape (which will span a few tapes). All seems to be proceeding fine at the moment and I can see files passing through bconsole. While Postgres appears to be updated with the latest status of labels and so on, I can't find any inserts of file names. Should I be expecting this? I'm using Bacula 2.4.4-1 from Debian stable. Thanks Rory -- Rory Campbell-Lange r...@campbell-lange.net -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] SQL-Errors
Hi Alex On 16/07/10, Alex Huth (a.h...@tmr.net) wrote: > Fatal error: catreq.c:492 attribute create error. > 2010-07-16 10:19:06 > borusse.ewmr.base-sd > JobId=9 Job="borusse.2010-07-16_09.50.07_05" marked to be canceled. This appears to be an issue with MySQL table corruption. See http://wiki.bacula.org/doku.php?id=faq "Fixing Corrupted Batch Table" -- Rory Campbell-Lange r...@campbell-lange.net -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] SQL-Errors
Hello! Today i got SQL-Errors doing a Fullbackup of a FreeBSD host. Hope someone can help with that. --- 2010-07-16 10:19:06 borusse.ewmr.base-dir Fatal error: sql_create.c:799 sql_create.c:799 insert INSERT INTO batch VALUES (466042,9,'/var/db/portsnap/files/','8b034d9c6645389edf2bd65f0e302fab7692c8a2dc3b9d9e4bf93c99222919a9.gz','Bd Nxp IGk B A A 4sP bU BAA E BMBq8q BMBaqN BMBqa9 A A C','+2yUBxAdZpApVFa0QPCXRw') failed: Incorrect key file for table '/var/tmp/#sql689_4_0.MYI'; try to repair it sql_create.c:799 INSERT INTO batch VALUES (466042,9,'/var/db/portsnap/files/','8b034d9c6645389edf2bd65f0e302fab7692c8a2dc3b9d9e4bf93c99222919a9.gz','Bd Nxp IGk B A A 4sP bU BAA E BMBq8q BMBaqN BMBqa9 A A C','+2yUBxAdZpApVFa0QPCXRw') Fatal error: catreq.c:492 attribute create error. 2010-07-16 10:19:06 borusse.ewmr.base-sd JobId=9 Job="borusse.2010-07-16_09.50.07_05" marked to be canceled. Job write elapsed time = 00:28:56, Transfer rate = 20.77 M Bytes/second 2010-07-16 10:19:07 borusse.ewmr.base-fd Fatal error: backup.c:1019 Network send error to SD. ERR=Unterbrochene Pipe -- Greetings Alex -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula Volumes autopurge
thank you, but I have still a problem. the autopruging does not work. 16-Jul 09:26 backup-sd JobId 1493: Warning: Director wanted Volume "Mon". Current Volume "Tue" not acceptable because: 1998 Volume "Tue" status is Full, but should be Append, Purged or Recycle. 16-Jul 09:26 backup-sd JobId 1493: Please mount Volume "Mon" or label a new one for: Job: mybackupjob Storage: "TapeStorage" (/dev/st0) Pool: TapePool Media type: LTO-2 # It's the old configuration. The Tue tape was last written at 2010-07-07 15:59:58, so file retetiontime is over. The other question, is it possible that bacula overwrites the data at the beginning on the storage, without purging the complete storage? Especially my localspace storage should keep hold on the files. +-- |This was sent by haseni...@gmx.de via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users