[Bacula-users] Occasional read error when labelling tapes in autochanger (Bacula 2.4.3 on SLES 10.1)
Hi, Firstly, thanks for Bacula - we have been using it on various environments for a number of years and it performs very well. I have most recently installed it on a machine running SuSE Linux Enterprise 10, patch-level 1. I downloaded the Bacula 2.4.3 source, added the 2.4.3-orphaned-jobs.patch and compiled using gcc 4.1.2. We are using the MySQL database backend (MySQL v5.0.26). Bacula is configured to use a HP Storageworks MSL2024 tape library / autochanger. I concluded all of the tests as described in the install document including using btape fill and btape auto to test. All completed without errors. Furthermore, I've conducted some test backups of the entire system without problems. I have encountered an error/warning while labelling tapes. I've been labelling all 24 tapes in the changer - the error only showed up around tape no. 8 and is as follows *label Automatically selected Storage: LTO-4 Enter new Volume name: weekly005 Enter slot (0 or Enter for none): 11 Defined Pools: 1: Nightly 2: Weekly 3: Archive Select the Pool (1-3): 2 Connecting to Storage daemon LTO-4 at manager1:9103 ... Sending label command for Volume weekly005 Slot 11 ... 3307 Issuing autochanger unload slot 10, drive 0 command. 3304 Issuing autochanger load slot 11, drive 0 command. 3305 Autochanger load slot 11, drive 0, status is OK. block.c:999 Read error on fd=5 at file:blk 0:0 on device LTO-4 (/dev/nst0). ERR=Input/output error. 3000 OK label. VolBytes=64512 DVD=0 Volume=weekly005 Device=LTO-4 (/dev/nst0) Catalog record for Volume weekly005, Slot 11 successfully created. Requesting to mount LTO-4 ... 3001 Device LTO-4 (/dev/nst0) is mounted with Volume weekly005 Note the Read error near the bottom. The label operation seems to complete without problems (the tapes are correctly labelled) and subsequent backups work fine. But should I be concerned about this message or can I safely ignore it? Thanks, -stephen - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Occasional read error when labelling tapes in autochanger (Bacula 2.4.3 on SLES 10.1)
[EMAIL PROTECTED] wrote: block.c:999 Read error on fd=5 at file:blk 0:0 on device LTO-4 (/dev/nst0). ERR=Input/output error. 3000 OK label. VolBytes=64512 DVD=0 Volume=weekly005 Device=LTO-4 (/dev/nst0) Catalog record for Volume weekly005, Slot 11 successfully created. Requesting to mount LTO-4 ... 3001 Device LTO-4 (/dev/nst0) is mounted with Volume weekly005 Note the Read error near the bottom. The label operation seems to complete without problems (the tapes are correctly labelled) and subsequent backups work fine. But should I be concerned about this message or can I safely ignore it? IIRC it's caused by Bacula trying to read the tape to see if it's already labelled prior to writing its own label. Obviously if the tape is new, there won't be anything on there. I've seen the exact same thing across two tape drives (and indeed types of tape media) for the last couple of years - it can safely be ignored. -- James Cort IT Manager U4EA Technologies Ltd. -- U4EA Technologies http://www.u4eatech.com - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Ignore retention period
Thanks, I added it but am still worried. The retention is 3 months, but because I did a full backup most of the pool is full. Whats going to happen when the last tape fills? I know each one is not out of its retention period, but I want it to ask for tape 1. From: Dan Langille [EMAIL PROTECTED] To: Bill Damage [EMAIL PROTECTED] Cc: bacula-users@lists.sourceforge.net Sent: Wednesday, 19 November, 2008 14:44:43 Subject: Re: [Bacula-users] Ignore retention period On Nov 19, 2008, at 7:21 AM, Bill Damage wrote: I have 16 tapes in a pool, and each tape takes 2/3 weeks to fill. What I really want is Bacula just to rotate through these in sequence and ask for tape 1 when tape 16 fills. I have set the pool size to 16 but realise there is a problem. If I set the retention too small it will keep asking for earlier tapes rather than the next numbered one. If I set it too high, none of the tapes will have expired - won't it ask me to label a new tape 17 when 16 fills? For this pool, I'd really like to know how to just ignore the retention periods. Thanks. Look in the docs, under Pool Resource. Look for something like Use Oldest Volume. That may suit your needs. -- Dan Langille http://langille.org/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] PKI Encryption
Hi all, I'm trying to figure out what's wrong with my configuration: ./configure --with-openssl --enable-client-only [...] Configuration on Mon Nov 17 15:15:32 CET 2008: Host: i686-pc-linux-gnu -- redhat 9 Bacula version: 2.2.7 (24 December 2007) Source code location: . Install binaries: /sbin Install config files: /etc/bacula Scripts directory: /etc/bacula Archive directory: Working directory: /var/bacula/working PID directory: /var/run Subsys directory: /var/lock/subsys Man directory: /usr/share/man Data directory: /usr/share C Compiler: gcc 3.2.2 C++ Compiler: /usr/bin/g++ 3.2.2 Compiler flags:-g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti Linker flags: Libraries: -lpthread Statically Linked Tools:no Statically Linked FD: no Statically Linked SD: no Statically Linked DIR: no Statically Linked CONS: no Database type: None Database lib: Database name: bacula Database user: bacula Job Output Email: [EMAIL PROTECTED] Traceback Email: [EMAIL PROTECTED] SMTP Host Address: localhost Director Port: 9101 File daemon Port: 9102 Storage daemon Port: 9103 Director User: Director Group: Storage Daemon User: Storage DaemonGroup: File Daemon User: File Daemon Group: SQL binaries Directory Large file support: yes Bacula conio support: yes -ltermcap readline support: no TCP Wrappers support: no TLS support: no Encryption support: no ZLIB support: yes enable-smartalloc: yes bat support: no enable-gnome: no enable-bwx-console: no enable-tray-monitor: client-only: yes build-dird: yes build-stored: yes ACL support: yes Python support: no Batch insert enabled: no Why are there entry disabled? TLS support: no Encryption support: no I tried several source code release (2.0.x-2.4.3), looked into configure, config.h ecc.. but still far from having the openssl lib linked. I checked there is no requirement on openssl version, however I'm working on 0.9.7a. Thanks a lot! Massimo - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] DVD Media in Raw mode
My suggestion: Create a new type, called Raw or Rawdisk (Capitalization and hyphenization dont bother me now), for the simple reason that DVD+RW, DVD-RAM, Hard Drives, Floppy Drives (like the 120MB floppies, 250MB Iomega stuff, 2GB Jazz stuff, and others) will behave in the very same way. This way, you get to keep the existing DVD code (which is needed for legacy support anyways), and remove the word DVD from a method that can work on a multitude of devices. Evaldo John Drescher wrote: I am trying to make Bacula work with my DVD+RW and DVD-RAM media, as raw devices (similar to tape, but with random r/w support, Great idea. I'd like to see that as it would eliminate the need for volume part files and dvd-handler and growisofs. That part of Bacula is comparatively unstable, in my opinion. (And I wrote part of the code and helped design the concept...) If changes were made, I would hope that the old method would be available for write once media (DVD+-R). John - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] MySQL server has moved...
Hey gang, The mysqld (v.5.0.27) that my implementation of Bacula (v.2.4.2) used has moved to a different server where multiple instances of mysqld is running. If I know the port, the PID and the IP address of the new server, can I insert that information into some Bacula configuration file and allow Bacula to start? If so, which file and please provide syntax. I could not find a good reference in the User's Guide, especially in the section Installing and Configuring MySQL. The section Catalog Maintenance was also of little help. /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ David Gardner email: djgardner(at)yahoo.com Yahoo! IM: djgardner AIM: dgardner09 Everything is a learning experience, even a mistake. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Fwd: MySQL server has moved...
On Fri, Nov 21, 2008 at 12:26 PM, David Gardner [EMAIL PROTECTED] wrote: Hey gang, The mysqld (v.5.0.27) that my implementation of Bacula (v.2.4.2) used has moved to a different server where multiple instances of mysqld is running. If I know the port, the PID and the IP address of the new server, can I insert that information into some Bacula configuration file and allow Bacula to start? If so, which file and please provide syntax. /etc/bacula/bacula-dir.conf And I have always had the database server on a different machine than the director. John - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] MySQL server has moved...
On Fri, Nov 21, 2008 at 12:26 PM, David Gardner [EMAIL PROTECTED] wrote: Hey gang, The mysqld (v.5.0.27) that my implementation of Bacula (v.2.4.2) used has moved to a different server where multiple instances of mysqld is running. If I know the port, the PID and the IP address of the new server, can I insert that information into some Bacula configuration file and allow Bacula to start? If so, which file and please provide syntax. I could not find a good reference in the User's Guide, especially in the section Installing and Configuring MySQL. The section Catalog Maintenance was also of little help. http://bacula.org/en/rel-manual/Configuring_Director.html#SECTION001416 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] ACLs don't get restored
Hello list, I am trying to backup and restore files with acl set. But the restore does not create the acl's. Here is what I've got: Bacula 2.4.2 as server and client. I've put the following as file set: FileSet { Name = FullLinuxServer Include { Options { signature = MD5 compression = GZIP aclsupport = yes } File = / ... Is there anything else I need to set? Thanks a lot Wolfgang - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] MySQL server has moved...
Thank you so much Mr. Drescher. That works just as expected. /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ David Gardner email: djgardner(at)yahoo.com Yahoo! IM: djgardner AIM: dgardner09 Everything is a learning experience, even a mistake. - Original Message From: John Drescher [EMAIL PROTECTED] To: David Gardner [EMAIL PROTECTED] Cc: Bacula-users@lists.sourceforge.net Sent: Friday, November 21, 2008 9:50:54 AM Subject: Re: [Bacula-users] MySQL server has moved... On Fri, Nov 21, 2008 at 12:26 PM, David Gardner [EMAIL PROTECTED] wrote: Hey gang, The mysqld (v.5.0.27) that my implementation of Bacula (v.2.4.2) used has moved to a different server where multiple instances of mysqld is running. If I know the port, the PID and the IP address of the new server, can I insert that information into some Bacula configuration file and allow Bacula to start? If so, which file and please provide syntax. I could not find a good reference in the User's Guide, especially in the section Installing and Configuring MySQL. The section Catalog Maintenance was also of little help. http://bacula.org/en/rel-manual/Configuring_Director.html#SECTION001416 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users