[Bacula-users] Exabyte Storageloader

2010-02-26 Thread David Koski
I'm looking for storage daemon configuration for an Exabyte Packetloader
(Storageloader) VXA-2.  Currently my Device resource looks like this:

Device {
Name = "Exabyte_VXA-2"
Media Type = "VXA-2"
Archive Device = /dev/nst0
Device Type = Tape
Autochanger = yes   # if yes, must specify Autochanger resource
Alert Command = "/bin/sh -c '/usr/sbin/tapeinfo -f %c | grep TapeAlert'"
Maximum Changer Wait = 30 minutes
Maximum Rewind Wait = 20 minutes
AlwaysOpen = yes
#Maximum Open Wait = 25 minutes
RemovableMedia = yes
Random Access = no
}

..but I am getting errors when the tapes change automatically:

26-Feb 23:20 backup-mdlcpa-sd JobId 13: Error: block.c:568 Write error at 
25:6568 on device "Exabyte_VXA-2" (/dev/nst0). ERR=Input/output error.
26-Feb 23:20 backup-mdlcpa-sd JobId 13: Error: Backspace file at EOT failed. 
ERR=Input/output error
26-Feb 23:20 backup-mdlcpa-sd JobId 13: End of medium on Volume "A004" 
Bytes=24,952,209,408 Blocks=386,783 at 26-Feb-2010 23:20.
26-Feb 23:20 backup-mdlcpa-sd JobId 13: 3307 Issuing autochanger "unload slot 
5, drive 0" command.

Regards,
David Koski
da...@kosmosisland.ccom

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cannot compile bacula 5.0.1 on arch linux

2010-02-26 Thread Bruno Friedmann
From what I see, it seems you doesn't have openssl-devel package ?
I didn't know very well archlinux.

On 02/25/2010 05:41 PM, Steen Meyer wrote:
> I am compiling on an x86_64 system with the options:
> 
>   --enable-build-dird --enable-build-stored --enable-smartalloc  \
>   --enable-batch-insert --enable-largefile \
>   --with-postgresql \
> 
> and the path directives
> 
> 
> I am getting errors starting after the storage daemon is compiled:
> 
> Compiling btape.c
> /home/slm/data/xbackup/bacula/build/bacula-postgresql/src/bacula-5.0.1/libtool
>  --silent --tag=CXX --mode=link /usr/bin/g++  -Wl,--hash-style=gnu 
> -Wl,--as-needed -L../lib -L../cats  -o 
> btape btape.o block.o butil.o dev.o device.o label.o vtape.o lock.o 
> ansi_label.o dvd.o ebcdic.o autochanger.o acquire.o mount.o record.o 
> read_record.o reserve.o stored_conf.o match_bsr.o parse_bsr.o scan.o spool.o 
> vol_mgr.o wait.o \
>-lbacsql -lbaccfg -lbac  -lm -lpthread -ldl   -lssl -lcrypto
> /home/slm/data/xbackup/bacula/build/bacula-postgresql/src/bacula-5.0.1/src/lib/.libs/libbac.so:
>  
> undefined reference to `TLSv1_method'
> /home/slm/data/xbackup/bacula/build/bacula-postgresql/src/bacula-5.0.1/src/lib/.libs/libbac.so:
>  
> undefined reference to `SSL_connect'
> /home/slm/data/xbackup/bacula/build/bacula-postgresql/src/bacula-5.0.1/src/lib/.libs/libbac.so:
>  
> undefined reference to `BIO_s_socket'
> /home/slm/data/xbackup/bacula/build/bacula-postgresql/src/bacula-5.0.1/src/lib/.libs/libbac.so:
>  
> undefined reference to `SSL_set_bio'
> /home/slm/data/xbackup/bacula/build/bacula-postgresql/src/bacula-5.0.1/src/lib/.libs/libbac.so:
>  
> undefined reference to `ASN1_item_i2d'
> 
> And it continues like that until
> 
> /home/slm/data/xbackup/bacula/build/bacula-postgresql/src/bacula-5.0.1/src/lib/.libs/libbac.so:
>  
> undefined reference to `EVP_DigestUpdate'
> collect2: ld returned 1 exit status
> make[1]: *** [btape] Fejl 1
> make[1]: Forlader 
> katalog 
> '/home/data/xbackup/bacula/build/bacula-postgresql/src/bacula-5.0.1/src/stored'
> make[1]: Går til 
> katalog 
> '/home/data/xbackup/bacula/build/bacula-postgresql/src/bacula-5.0.1/src/tools'
> libtool: install: warning: 
> `/home/slm/data/xbackup/bacula/build/bacula-postgresql/src/bacula-5.0.1/src/lib/libbac.la'
>  
> has not been installed in `/usr/lib'
> libtool: install: warning: 
> `/home/slm/data/xbackup/bacula/build/bacula-postgresql/src/bacula-5.0.1/src/cats/libbacsql.la'
>  
> has not been installed in `/usr/lib'
> libtool: install: warning: 
> `/home/slm/data/xbackup/bacula/build/bacula-postgresql/src/bacula-5.0.1/src/lib/libbaccfg.la'
>  
> has not been installed in `/usr/lib'
> libtool: install: warning: 
> `/home/slm/data/xbackup/bacula/build/bacula-postgresql/src/bacula-5.0.1/src/lib/libbac.la'
>  
> has not been installed in `/usr/lib'
> libtool: install: warning: 
> `/home/slm/data/xbackup/bacula/build/bacula-postgresql/src/bacula-5.0.1/src/lib/libbac.la'
>  
> has not been installed in `/usr/lib'
> libtool: install: warning: 
> `/home/slm/data/xbackup/bacula/build/bacula-postgresql/src/bacula-5.0.1/src/lib/libbac.la'
>  
> has not been installed in `/usr/lib'
> 
> 
> Any ideas?
> 


-- 

 Bruno Friedmann


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Bacula version 5.0.1 released to Source Forge - RPM release

2010-02-26 Thread Scott Barninger
Thanks. Fixed in git repo. There was a naming convention change that caused 
that. How odd that the published packages did not break and SL did.

On Friday 26 February 2010 09:38:58 am Richard Frewin wrote:
> On Thu 25 Feb 2010 at 18:04, Scott Barninger 
(barnin...@fairfieldcomputers.com) wrote:
> > Bacula-5.0 RPM Release Notes
> > 25 February 2010
> > D. Scott Barninger
>
> Thanks for your hard work on this.
>
> Unfortunately on Scientific Linux 5.2 (x86_64) the following ...
>
>rpmbuild --rebuild --define "build_sl5 1" --define "build_client_only 1"
> bacula-5.0.1-1.src.rpm
>
> fails with errors...
>
>
> Installed (but unpackaged) file(s) found:
>/usr/lib64/libbac-5.0.1.so
>/usr/lib64/libbaccfg-5.0.1.so
>/usr/lib64/libbacfind-5.0.1.so
>/usr/lib64/libbacpy-5.0.1.so
>
> The following patch that simply removes a ',' from four lines in the
> spec file fixes this for me.
>
> ==8><=><8==
> --- SPECS/bacula.spec   2010-02-25 18:54:30.0 +
> +++ ./bacula.spec   2010-02-26 14:24:55.0 +
> @@ -1368,10 +1368,10 @@
>  %{_mandir}/man8/bconsole.8.%{manpage_ext}
>  %{_mandir}/man8/btraceback.8.%{manpage_ext}
>  %{_mandir}/man1/bat.1.%{manpage_ext}
> -%{_libdir}/libbac.*
> -%{_libdir}/libbaccfg.*
> -%{_libdir}/libbacfind.*
> -%{_libdir}/libbacpy.*
> +%{_libdir}/libbac*
> +%{_libdir}/libbaccfg*
> +%{_libdir}/libbacfind*
> +%{_libdir}/libbacpy*
>  %_prefix/share/doc/*
>
>  %pre client
>
> ==8><=><8==
>
>
>Cheers ...
> --
>  --
>   Richard A Frewin  | Email: richard.fre...@astro.cf.ac.uk
>  __
>"When the straw breaks the camel's back,
>blood stains the sand.." - Roaring Jelly

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] One, many clients...

2010-02-26 Thread Gilberto Nunes
Hi folks...

Is there something way to do a Job backup run against more than one 
client???
Example:

I have tree clients, and I wanna make just one Job backed up this tree 
clients...

How can I performer this jobs??

Thanks for any idea...

-- 
Gilberto Nunes Ferreira
*Suporte T.I.*
*Selbetti Gestão de Documentos*
*(47) 3441-6004 / (47) 8861-6672*
*Fax (47) 3441-6027*
/*gilberto.nu...@selbetti.com.br*/



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Debug assistance please

2010-02-26 Thread Martin Simmons
> On Wed, 24 Feb 2010 16:34:39 -0800, Drew Hall said:
> 
> Greetings,
> 
> Please forgive my ignorance, but it's been years since I used Bacula and 
> that was on a linux box.
> 
> I'm running 3.03 on windows 2003 SP2 using local disk storage.  I have 
> created a daily schedule but every client fails w/ a fatal error.  If I 
> run a backup for a client manually it works, but running from the 
> schedule fails.

"Fails" is too vague to be useful on this list.


> I'm not seeing anything to point me to the error in the messages, and 
> there are no logs anywhere on the server for the director, FD or SD that 
> I can find.
> 
> How can I get logs for the processes?  Any suggestions on how to debug? 
> FYI I'm completely OK w/ dropping the db and starting over if necessary.
> 
> Also, if I view the messages via "mess", after they are displayed once 
> they are no longer available.  Is it possible to view them multiple 
> times or are they logged somewhere I'm just missing?

They can also be sent by email and/or written to a log file.  See the Messages
resource in the Director config.

__Martin

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Safe to remove old Clients from db?

2010-02-26 Thread Martin Simmons
> On Wed, 24 Feb 2010 18:02:01 +0100, C Keschnat said:
> 
> Hey,
> I created some clients which I don't need anymore. When running a job I 
> can't select them, running restore shows them thought. "select * from 
> Client;" shows the entries in the database. Is it safe to remove them? 
> dbcheck didn't report any orphaned clients which is strange.

No, it probably isn't safe -- check the job table to see if job.clientid
references them.

__Martin

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] disk based backup, interleaving pros/cons?

2010-02-26 Thread Josh Fisher

On 2/26/2010 11:32 AM, Joseph Dickson wrote:
>
> Greetings..
>
> I’m using completely disk based backup, with a custom autochanger 
> script. When I initially set this up, I set the maximum job 
> concurrency on each of my disk devices to 1, so that Bacula would be 
> forced to only write one job to any given volume at any given time.
>
> I’m just wondering, now that I’ve done that, is there any REAL 
> advantage for me in not allowing Bacula to interleave on a disk based 
> volume? Does it make the on-volume format a lot simpler?
>

Interleaving makes a restore using those volumes slower because it has 
to read a lot of blocks of data that aren't related to the client being 
restored.

> Joe
>

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] disk based backup, interleaving pros/cons?

2010-02-26 Thread Joseph Dickson
Greetings..

I'm using completely disk based backup, with a custom autochanger script.  When 
I initially set this up, I set the maximum job concurrency on each of my disk 
devices to 1, so that Bacula would be forced to only write one job to any given 
volume at any given time.

I'm just wondering, now that I've done that, is there any REAL advantage for me 
in not allowing Bacula to interleave on a disk based volume?  Does it make the 
on-volume format a lot simpler?

Joe

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Use Import/Export slots of autochanger

2010-02-26 Thread Joseph Dickson
> my question may be a vendor specific one or may be a mtx-changer
> question. My Quantum autochanger has 5 Import/Export slots, which
> basically are just better accessible tape slots. Mtx displays the slots
> as I/E slots. But tapes in those slots are not recognised by Bacula.
> See
> attached console output.
> 
> Is there a way Bacula can use those I/E slots like any other slot?

A quick look at the mtx-changer script shows that these lines are probably 
causing you the trouble... they're inside the section for the "list" command:

 if test ${vxa_packetloader} -ne 0 ; then
cat ${TMPFILE} | grep " *Storage Element [0-9]*:.*Full" | sed "s/ 
Storage Element //" | sed "s/Full :VolumeTag=//"
  else
cat ${TMPFILE} | grep " Storage Element [0-9]*:.*Full" | awk "{print 
\$3 \$4}" | sed "s/Full *\(:VolumeTag=\)*//"
  fi

Notice that the regex in the first part won't match your IMPORT/EXPORT slots.  
My hunch is that you'll need to modify those greps, and probably the awk/sed 
immediately afterward... 

Another thing to check is whether or not mtx-changer is getting the correct 
number of total slots available when it's asked for it -- if not you'll have to 
fix that behavior too, probably..

Hope that helps!

Joe


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] what strategy for backing up files only once?

2010-02-26 Thread Ralf Gross
Howdy!

I'm still thinking if it would be possible to use bacula for backing
up xxx TB of data, instead of a more expensive solution with LAN-less
backups and snapshots.

Problem is the time window and bandwith.

If there would be something like a incremental forever feature in
bacula the problem could be solved. I know the Accurate Backup feature
but without deduplication (don't backup/store the same file more than
once) it's possible that the space needed for backups will grow (user
moves or renames a directory with 10 TB of data...) Accurate Backup
will detect this and back up the data again (instead of just pointing
to the new location inside the database).

The new Base Job feature doesn't seem to help too. It's a begin, but I
don't see how it could help here. It's more for large amounts of
clients with the same files at the same place.

What I need is a delta copy with file deduplication.

Am I missing something or is this just not possible right now?

Anyone backing up 100..200... TB data? (we back up some server with
10-15 TB filesets, but a full backup takes nearly a week with verify).

Ralf

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Bacula version 5.0.1 released to Source Forge - RPM release

2010-02-26 Thread Richard Frewin
On Thu 25 Feb 2010 at 18:04, Scott Barninger (barnin...@fairfieldcomputers.com) 
wrote:
> Bacula-5.0 RPM Release Notes
> 25 February 2010
> D. Scott Barninger

Thanks for your hard work on this.

Unfortunately on Scientific Linux 5.2 (x86_64) the following ...

   rpmbuild --rebuild --define "build_sl5 1" --define "build_client_only 1" 
bacula-5.0.1-1.src.rpm

fails with errors...

   
Installed (but unpackaged) file(s) found:
   /usr/lib64/libbac-5.0.1.so
   /usr/lib64/libbaccfg-5.0.1.so
   /usr/lib64/libbacfind-5.0.1.so
   /usr/lib64/libbacpy-5.0.1.so

The following patch that simply removes a ',' from four lines in the
spec file fixes this for me.

==8><=><8==
--- SPECS/bacula.spec   2010-02-25 18:54:30.0 +
+++ ./bacula.spec   2010-02-26 14:24:55.0 +
@@ -1368,10 +1368,10 @@
 %{_mandir}/man8/bconsole.8.%{manpage_ext}
 %{_mandir}/man8/btraceback.8.%{manpage_ext}
 %{_mandir}/man1/bat.1.%{manpage_ext}
-%{_libdir}/libbac.*
-%{_libdir}/libbaccfg.*
-%{_libdir}/libbacfind.*
-%{_libdir}/libbacpy.*
+%{_libdir}/libbac*
+%{_libdir}/libbaccfg*
+%{_libdir}/libbacfind*
+%{_libdir}/libbacpy*
 %_prefix/share/doc/*
 
 %pre client

==8><=><8==


   Cheers ...
--
 --
  Richard A Frewin  | Email: richard.fre...@astro.cf.ac.uk
 __
   "When the straw breaks the camel's back,
   blood stains the sand.." - Roaring Jelly

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring from possibly (probably!) corrupt disk volume

2010-02-26 Thread Mike Holden
Martin Simmons wrote:
>> On Wed, 24 Feb 2010 20:45:01 -, Mike Holden said:
>>
>> bextract: record.c:465-0 Block=219743 Ver=2 size=64512
>> bextract: record.c:473-0 Enter read_record_block: remlen=56750 data_len=222 
>> rem=0
>> blkver=2
>> bextract: record.c:533-0 rd_rec_blk() got FI=303570 SessId=62 Strm=GZIP 
>> len=113
>> remlen=56738 data_len=0
>> bextract: record.c:592-0 Rtn full rd_rec_blk FI=303570 SessId=62 Strm=GZIP
>> len=113
>> bextract: read_record.c:207-0 read-OK. state= blk=219743 rem=0
>> file:block=0:1291207847
>> bextract: read_record.c:217-0 recno=43 state= blk=219743 SI=62 ST=1264433856
>> FI=303570
>> bextract: read_record.c:286-0 OK callback. recno=43 state= blk=219743 SI=62
>> ST=1264433856 FI=303570
>>  
>> ---
>> End
>> bextract
>> log
>>
>> My guess is that it is probably disappearing on some kind of null or garbage
>> pointer chase.
>>
>> Can someone who understands the internals of what is going on with these 
>> programs
>> offer any information on what I can do to extract the rest of the volume?
>
> It is probably getting stuck when trying to uncompress that block (Strm=GZIP).
>
> You might be able to skip that file by doing bextract -b with a bootstrap
> file.  Use FileIndex lines in the bootstrap file to avoid index 303570 (see
> FI=303570 above).
>
> __Martin

And the winner is ... Martin Simmons!!!

Absolutely brilliant. I have now recovered some files from beyond where it was
sticking before, and hopefully now can recover everything I need where I still 
have
the file volumes.

Another useful snippet to add to my arsenal.

Just one extra piece of info for anyone who comes across this email in the 
archives
some time, bls with the "-v" flag lists the FileIndex value for each file it
outputs, so you can easily find the numbers you need.

As the Rugby League legend Brian Carney said in a TV interview a while ago "I'm 
as
chuffed as a rabbit with two d**ks!", before being reminded by the interviewer 
that
he was live on national TV!

Thanks very much Martin!
-- 
Mike Holden

http://www.by-ang.com - the place to shop for all manner of hand crafted items,
including Jewellery, Greetings Cards and Gifts




--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring from possibly (probably!) corrupt disk volume

2010-02-26 Thread John Drescher
On Fri, Feb 26, 2010 at 5:40 AM, Mike Holden  wrote:
> Nobody got any clues at all? (Sorry for top-post, seemed more appropriate this
> time!!!)
> --

Bacula will not try to recover past the point of corruption.
John

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring from possibly (probably!) corrupt disk volume

2010-02-26 Thread Martin Simmons
> On Wed, 24 Feb 2010 20:45:01 -, Mike Holden said:
> 
> bextract: record.c:465-0 Block=219743 Ver=2 size=64512
> bextract: record.c:473-0 Enter read_record_block: remlen=56750 data_len=222 
> rem=0
> blkver=2
> bextract: record.c:533-0 rd_rec_blk() got FI=303570 SessId=62 Strm=GZIP 
> len=113
> remlen=56738 data_len=0
> bextract: record.c:592-0 Rtn full rd_rec_blk FI=303570 SessId=62 Strm=GZIP 
> len=113
> bextract: read_record.c:207-0 read-OK. state= blk=219743 rem=0 
> file:block=0:1291207847
> bextract: read_record.c:217-0 recno=43 state= blk=219743 SI=62 ST=1264433856 
> FI=303570
> bextract: read_record.c:286-0 OK callback. recno=43 state= blk=219743 SI=62
> ST=1264433856 FI=303570
>   
>---
> End
> bextract
> log
> 
> My guess is that it is probably disappearing on some kind of null or garbage
> pointer chase.
> 
> Can someone who understands the internals of what is going on with these 
> programs
> offer any information on what I can do to extract the rest of the volume?

It is probably getting stuck when trying to uncompress that block (Strm=GZIP).

You might be able to skip that file by doing bextract -b with a bootstrap
file.  Use FileIndex lines in the bootstrap file to avoid index 303570 (see
FI=303570 above).

__Martin

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring from possibly (probably!) corrupt disk volume

2010-02-26 Thread Mike Holden
Nobody got any clues at all? (Sorry for top-post, seemed more appropriate this
time!!!)
-- 


Mike Holden wrote:
> Been struggling with a difficult restore for a few days now, and need some 
> help
> please.
>
> The short story is that I am trying to recover files from a disk archive 
> which was
> subsequently deleted from disk, and then recovered using an undelete process 
> on a
> reiserfs disk. Most of the files appear to have recovered ok, but I'm pretty 
> sure
> that the undelete is not complete, and that some files are either missing 
> entirely,
> or have random or zeroed blocks in them instead of real data.
>
> Nightmare scenario I know, but anything that can be recovered is a bonus here!
>
> I'm now at the stage of using bls and bextract to recover what I can from 
> files,
> but seem to be hitting a situation where bls lists more files than bextract 
> is able
> to recover. bls gets to pretty much the end of the file, then exits with the
> following few lines:
>
> -- Begin bls log
> bls: butil.c:282 Using device: "/backup/jewel/bacula" for reading.
> 24-Feb 20:15 bls JobId 0: Ready to read from volume "Monthly-0544" on device
> "FileStorage" (/backup/jewel/bacula).
> bls JobId 0: -rwxrw   1 501  501  69930 2009-10-08 00:54:21
> /home/mike/Documents/tumnus/DVD_Collection.txt
>
> ... [ big snip ]
>
> bls JobId 0: -rw-r--r--   1 506  506  16992 2009-10-29 20:31:07
> /home/byang/albums/Cards/Multipack/thumb_C-MP-0127-D.jpg
> bls JobId 0: -rw-r--r--   1 506  506  16607 2009-10-29 20:31:07
> /home/byang/albums/Cards/Multipack/thumb_C-MP-0127-E.jpg
> bls JobId 0: -rw-r--r--   1 506  506  14651 2009-10-29 20:31:07
> /home/byang/albums/Cards/Multipack/thumb_C-MP-0127-F.jpg
> bls JobId 0: -rw-r--r--   1 506  506  15159 2009-10-29 20:31:07
> /home/byang/albums/Cards/Multipack/thumb_C-MP-0127-G.jpg
> bls JobId 0: -rw-r--r--   1 506  506  16259 2009-10-29 20:31:07
> /home/byang/albums/Cards/Multipack/thumb_C-MP-0127-H.jpg
> bls JobId 0: -rw-r--r--   1 506  506  17196 2009-10-29 20:31:07
> /home/byang/albums/Cards/Multipack/thumb_C-MP-0127-I.jpg
> bls JobId 0: -rw-r--r--   1 506  506  20404 2009-10-29 20:31:07
> /home/byang/albums/Cards/Multipack/thumb_C-MP-0127-J.jpg
> bls JobId 0: -rw-r--r--   1 506  506  34680 2009-10-29 20:31:07
> /home/byang/albums/Cards/Multipack/thumb_C-MP-0127-K.jpg
> 24-Feb 20:16 bls JobId 0: Error: block.c:275 Volume data error at 
> 0:2147475478!
> Wanted ID: "BB02", got "". Buffer discarded.
> 50614 files found.
> --- End bls log
>
> The volume file is as follows:
>
> [r...@jewel mike]# ls -l /backup/jewel/bacula/Monthly-0544
> -rw-r-. 1 root root 2147479552 2010-02-07 04:33
> /backup/jewel/bacula/Monthly-0544
>
> The file in question is a single volume from a multi-volume job, split by 
> file size
> of approx 2Gb each.
>
> When running bextract on the same file, with -vvv -d 3000 options, the 
> progress
> gets as far as the following output, but then just sits there, consuming as 
> much
> cpu as it can get hold of, but doesn't seem to get any more progress, even 
> when
> left for several hours. It always sticks at the same file, which it creates 
> but
> leaves as a zero byte file. The last bit of the log looks like this:
>
> --- Start bextract log
>
> ... [ big snip ]
>
> bextract: create_file.c:90-0 type=5 newmode=41fd
> file=/backup/recovery/mike/home/mike/.openoffice.org2.0/user/uno_packages/cache/registry/com.sun.star.comp.deployment.executable.PackageRegistryBackend/
> bextract: create_file.c:118-0 Replace=a 97
> bextract: create_file.c:362-0 Make dir mode=40775
> dir=/backup/recovery/mike/home/mike/.openoffice.org2.0/user/uno_packages/cache/registry/com.sun.star.comp.deployment.executable.PackageRegistryBackend/
> bextract: guid_to_name.c:138-0 uid=501 item=1f7e1c8
> bextract: attr.c:281-0 drwxrwxr-x   2 501  501 48 2008-12-13
> 11:32:21  *none*
> bextract: message.c:1102-0 Enter Jmsg type=13
> bextract: message.c:612-0 Enter dispatch_msg type=13 msg=bextract JobId 0:
> drwxrwxr-x   2 501  501 48 2008-12-13 11:32:21  *none*
> bextract: message.c:799-0 STDOUT for following msg: bextract JobId 0: 
> drwxrwxr-x
> 2 501  501 48 2008-12-13 11:32:21  *none*
> bextract JobId 0: drwxrwxr-x   2 501  501 48 2008-12-13 
> 11:32:21
> *none*
> bextract: record.c:465-0 Block=219743 Ver=2 size=64512
> bextract: record.c:473-0 Enter read_record_block: remlen=56984 data_len=195 
> rem=0
> blkver=2
> bextract: record.c:533-0 rd_rec_blk() got FI=303570 SessId=62 Strm=UATTR 
> len=222
> remlen=56972 data_len=0
> bextract: record.c:592-0 Rtn full rd_rec_blk FI=303570 SessId=62 Strm=UATTR 
> len=222
> bextract: read_record.c:207-0 read-OK. state= blk=219743 rem=0
> file:block=0:1291207847
> bextract: read_record.c:217-0 recno=42 state= blk=219743 SI=62 ST=1264433856
> FI=303570
> bextract: read_record.c:286-0 OK 

Re: [Bacula-users] unsubscibe

2010-02-26 Thread Oliver Knittel
Tanks for your help,

the problem was that it was under the Administration login so I never readed 
futher down. 

Mit freundlichen Grüßen

Oliver Knittel
  _  

From: John Drescher [mailto:dresche...@gmail.com]
To: Oliver Knittel [mailto:o...@systemhaus-kec.de], bacula-users 
[mailto:bacula-us...@lists.sourceforge.net]
Sent: Wed, 24 Feb 2010 20:17:13 +0100
Subject: Re: [Bacula-users] unsubscibe

2010/2/24 Oliver Knittel :
  > Hello together,
  >
  >
  >
  > how can I unsubscribe the list?
  >
  
  Follow the link at the bottom of every email.
  
  John


Nutzen Sie staatliche Förderungen! Informationen finden Sie unter:
http://wegebau.scsi.de

SCSI Schulungscenter GmbH
Widmaierstraße 110
70567 Stuttgart
Tel: +49 711 94941-05
Fax: +49 711 94941-95
http://www.scsi.de
Geschäftsführer: Oliver Knittel
HRB 720565
Amtsgericht Stuttgart
Ust-IdNr. DE 147851540

Systemhaus KEC GmbH & Co. KG
Widmaierstraße 110
70567 Stuttgart
Tel: 0711 5719494
FAX: 0711 292032
http://www.systemhaus-kec.de
Geschäftsführer: Oliver Knittel
HRA 720202
Amtsgericht Stuttgart
Ust-IdNr.: DE 231 506 831
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Use Import/Export slots of autochanger

2010-02-26 Thread Daniel Kamm
Hi all,

my question may be a vendor specific one or may be a mtx-changer 
question. My Quantum autochanger has 5 Import/Export slots, which 
basically are just better accessible tape slots. Mtx displays the slots 
as I/E slots. But tapes in those slots are not recognised by Bacula. See 
attached console output.

Is there a way Bacula can use those I/E slots like any other slot?

Thanks
  - Dan



# mtx -f /dev/sg1 status
   Storage Changer /dev/sg1:2 Drives, 29 Slots ( 5 Import/Export )
Data Transfer Element 0:Empty
Data Transfer Element 1:Empty
   Storage Element 1:Empty:VolumeTag=
   Storage Element 2:Full :VolumeTag=MZ2001
   Storage Element 3:Full :VolumeTag=MZ2002
   Storage Element 4:Full :VolumeTag=MZ2003
   Storage Element 5:Full :VolumeTag=MZ2004
   Storage Element 6:Full :VolumeTag=MZ2005
   Storage Element 7:Full :VolumeTag=MZ2006
   Storage Element 8:Full :VolumeTag=MZ2007
   Storage Element 9:Full :VolumeTag=MZ2008
   Storage Element 10:Full :VolumeTag=MZ2009
   Storage Element 11:Full :VolumeTag=MZ2010
   Storage Element 12:Full :VolumeTag=MZ2011
   Storage Element 13:Full :VolumeTag=MZ2012
   Storage Element 14:Full :VolumeTag=MZ2013
   Storage Element 15:Full :VolumeTag=MZ2014
   Storage Element 16:Empty:VolumeTag=
   Storage Element 17:Full :VolumeTag=MZ2016
   Storage Element 18:Full :VolumeTag=MZ2017
   Storage Element 19:Full :VolumeTag=MZ2018
   Storage Element 20:Empty:VolumeTag=
   Storage Element 21:Empty:VolumeTag=
   Storage Element 22:Empty:VolumeTag=
   Storage Element 23:Empty:VolumeTag=
   Storage Element 24:Empty:VolumeTag=
   Storage Element 25 IMPORT/EXPORT:Empty:VolumeTag= 

   Storage Element 26 IMPORT/EXPORT:Empty:VolumeTag= 

   Storage Element 27 IMPORT/EXPORT:Full :VolumeTag=MZ2000 

   Storage Element 28 IMPORT/EXPORT:Full :VolumeTag=MZ2019 

   Storage Element 29 IMPORT/EXPORT:Full :VolumeTag=MZ2015 




*update slots
[..]
3306 Issuing autochanger "slots" command.
Device "srv-saltina" has 29 slots.
[..]
3306 Issuing autochanger "list" command.
Catalog record for Volume "MZ2001" updated to reference slot 2.
Catalog record for Volume "MZ2002" updated to reference slot 3.
Catalog record for Volume "MZ2003" updated to reference slot 4.
Catalog record for Volume "MZ2004" updated to reference slot 5.
Catalog record for Volume "MZ2005" updated to reference slot 6.
Catalog record for Volume "MZ2006" updated to reference slot 7.
Catalog record for Volume "MZ2007" updated to reference slot 8.
Catalog record for Volume "MZ2008" updated to reference slot 9.
Catalog record for Volume "MZ2009" updated to reference slot 10.
Catalog record for Volume "MZ2010" updated to reference slot 11.
Catalog record for Volume "MZ2011" updated to reference slot 12.
Catalog record for Volume "MZ2012" updated to reference slot 13.
Catalog record for Volume "MZ2013" updated to reference slot 14.
Catalog record for Volume "MZ2014" updated to reference slot 15.
Catalog record for Volume "MZ2016" updated to reference slot 17.
Catalog record for Volume "MZ2017" updated to reference slot 18.
Catalog record for Volume "MZ2018" updated to reference slot 19.


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users