Re: [Bacula-users] Rescue cd create/make problem

2006-09-12 Thread Arno Lehmann
Hi,

On 9/12/2006 1:39 AM, Don MacArthur wrote:
 Sorry to be so chatty-
 
 Failure: when I eject the bacula boot cd, restart the server, after
 the POST when (I'm guessing) it tries to read from the drives I'm
 presented with a blank screen and a blinking underscore cursor in the
 upper left corner of the display.  

Hmm. Which rscue CD? The one from the Bacula project? That, AFAIK, was 
always rather limited.

IIRC, Kern started integrating Bacula into something else which name I 
forgot (of course...) but a search in the list archives and possibly 
through the ReleaseNotes might find something... ah, not what I was 
thinking of, but look here: http://rescuecd.pld-linux.org/

 Going to plan b; load the OS and bacula from scratch, and restore from
 there.  

That should work - it's more difficult with windows, but I understand 
you've got your windows recovery routine proven already. (BartPE?)

 I've seen no response to my posts, so don't be shy.  Or, if you know of
 someone who might have some ideas please ask them to review the posts.  

Ideas... you're welcome. By the way, for windows I use BartPE for rescue 
purposes, for linux I prefer doing a minimal system install from the 
distribution media (which allows me to change the disk /filesystem 
layout using a GUI, which is needed from time to time, and once the 
machine is down you can as well do some maintenance work :-) , add 
bacula-fd + configuration to it and recover from there.

A completely static FD seems to be somewhat difficult, so in case of 
problems I even install gcc/g++, the necessary development packages, and 
compile Bacula - I found this to be more flexible than fighting with a 
pre-compiled binary and its requirements. Usually, though, the 
pre-compiled FD works without problems.

I never actually tried to prepare a universal linux Bacula rescue CD 
because I found it much too complicated handling all necessary 
ATA/SATA/Chipset modules, filesystem types, LVM1 / LVM2 issues, network 
setups (rather the simplest part, though) combinations I encounter.

Arno

 Again, TIA.
 
 On Mon, 2006-09-11 at 15:22 -0600, Don MacArthur wrote:
 
I just got my second failure to recover.  This isn't a production
server, but I need to know this'll work when I need it.  

If you have done a bare-metal recovery using the rescue disk, I would
appreciate feedback on how it went, and what challenges were
experienced. 

Thanks.

On Mon, 2006-09-11 at 09:52 -0600, Don MacArthur wrote:

Also, I get the following errors during the make all...

~~
Begin making LVM formatting script(s) ...
Done building scripts.
./make_rescue_disk
if test ! x/usr/sbin = x ; then \
   ./copy_static_bacula /usr/sbin/static-bacula-fd /usr/sbin/bacula-
fd.conf ; \
elif test ! -f ../rpm_release ; then \
   ./make_static_bacula /root/bacula-1.38.11 ; \
fi
cp: cannot create regular file `bin/bacula-fd': No such file or
directory
Warning!!! /usr/sbin/static-bacula-fd not found. !!!
cp: cannot stat `/usr/sbin/bacula-fd.conf': No such file or directory
Warning!!! /usr/sbin/bacula-fd.conf not found. !!!
./copy_to_roottree


Again, TIA.

On Mon, 2006-09-11 at 08:27 -0600, Don MacArthur wrote:

First, thanks to so many who have contributed to creating a robust and
elegant backup solution.  It is the only one I could find that has
enterprise-class features, and backs up all my OS's (Win, Lin, OS X). 

rh: es4 2.6.9.42.0.2.el
rescue: 1.8.6
bacula: 1.38.11
both sources located under /root

My task is to prove the restore process.  I'm trying to use the boot cd.
If I should switch to something else that is better, please point me in
the right direction.  My windows restore process went very well, no
hitches.  I'm working on my Linux servers, and OS X is next.  

I've run through the process a couple of times and assume some error on
my part is the cause of the problem.  

I've tried it with and without bacula-fd ./configured as static.

In my first attempt I compiled non-static:
1. start-network failed because the mask was 255.0.0.0 on a 192.168
network, and no gateway.  
2. there was no bacula-fd.conf anywhere after booting.  To determine
this, from / I ran ls -Rl|grep bacula-fd.  
3. hard drive partition didn't in that the last partition created
exceeded the available space on the disk.  

I recompiled the fd from /root/bacula-1.38.11/ with:
./configure --bindir=/usr/bin --sbindir=/usr/sbin --enable-static-fd --
enable-client-only

make all created an image that used the bacula-fd.conf from the
bacula-1.38.11/src folder, instead of the one from /etc/bacula.

Booting this cd and running start-network again set a network config
with the wrong mask, and no gateway.

So, before I spend another few days trying to patch this, can anyone see
what I'm doing wrong?

TIA,
Don.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated 

Re: [Bacula-users] Can't get DVD writing to work

2006-09-12 Thread Arno Lehmann
Hi,

On 9/12/2006 5:19 AM, Scott Simpson wrote:
 bacula CVS version 2006-09-11
 
 I still can't get bacula to write to a DVD using the latest software on 
 Kubuntu. Every time I run it I get
 
 dvd.c:432 Error writing part 1 to the DVD: 
 ERR=Running /usr/bin/growisofs -use-the-force-luke=notray -quiet 
 -use-the-force-luke=4gms -A 'Bacula 
 Data' -input-charset=default -iso-level 3 -pad -p 'dvd-handler / 
 growisofs' -sysid 'BACULADATA' -R -Z /dev/hdc /bacula-spool/DVD6
 :-( /usr/bin/growisofs is being executed under sudo, aborting!
 See NOTES paragraph in growisofs manual page for further details.
 
 Error while writing part 
 file:  /usr/bin/growisofs -use-the-force-luke=notray -quiet 
 -use-the-force-lukMarking 
 Volume DVD6 in Error in Catalog.
 CatReq Job=*System* UpdateMedia VolName=DVD6 VolJobs=0 VolFiles=0 VolBlocks=0 
 VolBytes=0 VolMounts=0 VolErrors=0 VolWrites=0 MaxVolBytes=0 
 EndTime=1158030791 VolStatus=Error Slot=0 relabel=0 InChanger=0 VolReadTime=0 
 VolWriteTime=0 VolParts=0
 
 and bconsole hangs (I have to kill it from another window). I read the 
 message 
 in the growisofs manual page about sudo but I'm not running it under sudo 
 (but I don't know if bacula is). I'm running bacula-dir as root and growisofs 
 isn't setuid. Thanks.

It might be because the SD runs not as root (remember, it's the SD that 
invokes growisofs, not the DIR!). You should thus check the user the SD 
runs as first.

Have you tried running the growisofs command manually (possibly 
substituting something useful for the part file?

Also, you can turn on debug logging for the SD to get more detailed 
information on what is actually happening.

Then, you can try to invoke the dvd-handler script from the shell and 
see how that behaves.

And it might help you more to post these questions to -devel, as that is 
where the people actually working on the dvd writing exchange their 
ideas. and bug reports. and patches. and success stories. and so on :-) 
I cc'ed bacula-devel...

Arno

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Minor request: add bacula version to header/footer to pdf documentation

2006-09-12 Thread MaxxAtWork
Hello,

I have a minor request/suggestion about documentation: would it be
possible to generate the manual pages so that in the header or footer
it is reported document name + chapter + bacula version?
I ask this because e.g. right now I found a printout of the disaster
recovery chapter, but I realized that from the text I cannot see
whether it's from the current version in use or an obsoleted one.

Regards
-- 
Maxx

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-dir and remote Postgres

2006-09-12 Thread Gabriele Bulfon


Trying psql was the first check I did when I saw the problem.As you suggested, I tried with snoop, and verified that the 280 was actually connecting to the correct machine.So, I looked into the postgres.log of the remote db machine...and found this :LOG: incomplete startup packetSo I monitored the log during bacula Director startup: everything was ok.Then I monitored during bconsole "list volumes", and the LOG came up?!?!?!Postgres is absolutely the same version. Solaris 10 is the same release.The only difference is that the 280 is a SPARC processor, and the DB machine is an Intel one.If I use "psql" from the 280 and connect to the DB on Intel, I can issue any "select" on the bacula db.I even created the DB using the scripts on the 280, adding "-h intel-machine"pls...helpI am confused


 



 

Gabriele Bulfon - Sonicle S.r.l.
Tel +39 028246016 Int. 30 - Fax +39 028243880
Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
http://www.sonicle.com

 

Da: MaxxAtWork [EMAIL PROTECTED]A: Gabriele Bulfon [EMAIL PROTECTED] bacula-users@lists.sourceforge.net Data: 11 settembre 2006 15.26.45 CESTOggetto: Re: [Bacula-users] Bacula-dir and remote PostgresOn 9/11/06, Gabriele Bulfon [EMAIL PROTECTED] wrote:


The original setup was one Sun280R machine running all the daemons and postgres.
This machine is responsible for backups.
Because the DB is too slow, and slow down the overall backup
performance (from 10K it slows down to 1K...), I wanted to move
Postgres.
So now, all bacula daemons are still running on Sun280R, and here I'm also running bconsole.
I only changed the configuration to connect to the new DB on the other host.
And actually the Director is connecting correctly.
Probably, the scheduling will run.
But I need to add volumes and run a job by hand now, to check performance, and bconsole is giving problems.
When I run bconsole, it correctly connects to the Director, and its
prompt is there ready to accept commands. But any command comes out
with that error.Hi,just a couple of ideas:- did you try to use the postgres terminal (psql) from your 280R where you have the director? Just try to connect as bacula and perform some query, to check that password is ok, etc.
- use 'snoop' command on the Solaris, or even better ethereal/wireshark if you have it installed, in order to sniff the DB traffic between the two servers. That should help you to follow what happens when your director is trying to contact the database.
Regards-- Maxx


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cancel job if estimate too large

2006-09-12 Thread Arno Lehmann
Hi,

On 9/12/2006 4:35 AM, Support wrote:
 Dear All
 
 Is there a way to Cancel a job automatically (with a message) if it
 exceeds a certian size as a RunBeforeJob.

You could try a run before job where you pass the job name to it. From 
that run before job script, call bconsole with a command like 'estimate 
job=$1' and parse the output (and yes, if the estimate triggers the run 
before job script this will badly recurse, but I don't think so :-)

 The reason I ask this question is that I am trying to backup data from
 laptops and there is only a limited number of hours in the day.

Hmm. I'd do it differently: Set up a laptob-job, allowing only a certain 
number of simultaneous jobs of this type. Use reasonable retry counts 
and rerun attempts, and let the job run only at level incremental. In a 
run before job command check if the machine is available so the jobs 
don't block too long.

Finally, I'd ceate a small script which reports which machines were not 
saved at all for some time, or have no full backup for a while, and then 
I'd ask these people and their notebooks to pay me a visit. Plugging a 
cable to the notebook and manually running a full backup should be 
rather simple and fast, then.

Depending on the number of notebooks you have and your timing you could 
run the full backups overnight and not bothering your notebook-carriers 
at all with their backups :-)

Hope this helps a bit,

Arno

 Thanks for the great software
 
 Stephen Carr
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-dir and remote Postgres

2006-09-12 Thread MaxxAtWork
On 9/12/06, Gabriele Bulfon [EMAIL PROTECTED] wrote:


Trying psql was the first check I did when I saw the problem.As you suggested, I tried with snoop, and verified that the 280 was actually connecting to the correct machine.
So, I looked into the postgres.log of the remote db machine...and found this :LOG: incomplete startup packetSo I monitored the log during bacula Director startup: everything was ok.Then I monitored during bconsole list volumes, and the LOG came up
?!?!?!Postgres is absolutely the same version. Solaris 10 is the same release.The only difference is that the 280 is a SPARC processor, and the DB machine is an Intel one.If I use psql from the 280 and connect to the DB on Intel, I can issue any select on the bacula db.
I even created the DB using the scripts on the 280, adding -h intel-machinepls...helpI am confusedThe fact that psql from 280R works is good sign that postgres system IS working and the password is correct, so the cause must be from bacula client side somehow...
Sorry, I'm no expert in postgres but what I would do is:- check google results for that postgres error- sniff deeper the net and have a look at packet contents, first logging a successful connection (e.g. that one from psql) to see what it's expected to be there, and then logging the problematic connection from bacula, and comparing the two results.
- raise debug level in postgres (is it possible?)-- Maxx
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-dir and remote Postgres

2006-09-12 Thread MaxxAtWork
On 9/12/06, MaxxAtWork [EMAIL PROTECTED] wrote:

 Sorry, I'm no expert in postgres but what I would do is:
 - check google results for that postgres error
 - sniff deeper the net and have a look at packet contents, first logging a
 successful connection (e.g. that one from psql) to see what it's expected to
 be there, and then logging the problematic connection from bacula, and
 comparing the two results.
 - raise debug level in postgres (is it possible?)

Additionally, from postgresql.c I see that you should get some debug
info on postgres operations from bacula daemon if you raise bacula
debug to 500.

-- 
Maxx

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Minor request: add bacula version to header/footer to pdf documentation

2006-09-12 Thread Kern Sibbald
On Tuesday 12 September 2006 09:12, MaxxAtWork wrote:
 Hello,
 
 I have a minor request/suggestion about documentation: would it be
 possible to generate the manual pages so that in the header or footer
 it is reported document name + chapter + bacula version?
 I ask this because e.g. right now I found a printout of the disaster
 recovery chapter, but I realized that from the text I cannot see
 whether it's from the current version in use or an obsoleted one.

Yes, this is a very good idea.  I'd be very happy to see it changed. However, 
someone is going to need to send me a patch for it, if you want this in the 
near future, as I barely have time to work on modifying the document text.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-dir and remote Postgres

2006-09-12 Thread Gabriele Bulfon


I rised debug to 500.Before the I issue the "list volumes" on bconsole, I see a LOT LOT of debug about postgres selects going through very fine.Once I run the bconsole command I find this:iserver-dir: scheduler.c:253 enter find_runs()iserver-dir: scheduler.c:289 Got job: Enterprise Backupiserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:289 Got job: Backup Aliseoiserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:289 Got job: Backup ZetaFaxiserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:289 Got job: Backup Centralinoiserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:289 Got job: BackupCatalogiserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0iserver-dir: scheduler.c:355 Leave find_runs()iserver-dir: bsys.c:70 pthread_cond_timedwait sec=60 usec=0iserver-dir: ua_cmds.c:1615 Open databaseiserver-dir: postgresql.c:77 db_open first timeiserver-dir: bsys.c:70 pthread_cond_timedwait sec=5 usec=0iserver-dir: bsys.c:77 pthread_cond_timedwait stat=145 ERR=Connection timed out


 



 

Gabriele Bulfon - Sonicle S.r.l.
Tel +39 028246016 Int. 30 - Fax +39 028243880
Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
http://www.sonicle.com

 

--Da: MaxxAtWork [EMAIL PROTECTED]A: Gabriele Bulfon [EMAIL PROTECTED] bacula-users@lists.sourceforge.net Data: 12 settembre 2006 9.54.28 CESTOggetto: Re: [Bacula-users] Bacula-dir and remote PostgresOn 9/12/06, MaxxAtWork [EMAIL PROTECTED] wrote:

 Sorry, I'm no expert in postgres but what I would do is:
 - check google results for that postgres error
 - sniff deeper the net and have a look at packet contents, first logging a
 successful connection (e.g. that one from psql) to see what it's expected to
 be there, and then logging the problematic connection from bacula, and
 comparing the two results.
 - raise debug level in postgres (is it possible?)

Additionally, from postgresql.c I see that you should get some debug
info on postgres operations from bacula daemon if you raise bacula
debug to 500.

-- 
Maxx



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-dir and remote Postgres

2006-09-12 Thread MaxxAtWork
On 9/12/06, Gabriele Bulfon [EMAIL PROTECTED] wrote:


iserver-dir: postgresql.c:77 db_open first timeiserver-dir: bsys.c:70 pthread_cond_timedwait sec=5 usec=0iserver-dir: bsys.c:77 pthread_cond_timedwait stat=145 ERR=Connection timed out
Huh... it seems the failure is during bmicrosleep(), when the system is supposed only to wait for 5 seconds? How up-to-date is your Solaris 10? Just wondering if you're hitting one of the resolved bugs for pthread_cond_timewait here...
But on the other side, why you weren't bitten by the same errors while postgres was running on the same server?Regards-- Maxx
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Rescue cd create/make problem

2006-09-12 Thread Kern Sibbald
Hello,

On Tuesday 12 September 2006 01:39, Don MacArthur wrote:
 Sorry to be so chatty-
 
 Failure: when I eject the bacula boot cd, restart the server, after
 the POST when (I'm guessing) it tries to read from the drives I'm
 presented with a blank screen and a blinking underscore cursor in the
 upper left corner of the display.  
 
 Going to plan b; load the OS and bacula from scratch, and restore from
 there.  
 
 I've seen no response to my posts, so don't be shy.  Or, if you know of
 someone who might have some ideas please ask them to review the posts.  

This is just to let you know that I *have* been following all your posts as 
well as those of everyone else, and in my case, it is not that I am shy, but 
that at the moment I am totally overloaded trying to finish off the current 
Bacula release.

Concerning the rescue disk, here are a number of points:
1. Most if not all of the discussion on what I have been doing (a lot) has 
been on the bacula-devel list.
2. I am totally convinced that Bacula needs a good rescue CD on the ideas of 
the current rescue CD, but the current implementation is essentially dead 
(see below).
2. In my opinion, the old rescue code that you are using worked only 
moderately well on Fedora systems up to and including FC4.  In FC5 and in 
most other Linux distros, it is simply broken.  It was at this point that I 
realized that writing a general rescue CD for Bacula is a full time project 
for one person, and is not my preferred activity (I prefer adding features to 
Bacula and improving the code). 
3. The problem is that booting an OS and getting all the RAID/LVM, and 20 
other two and three letter thingies working is first difficult (which I can 
handle), but above all significantly different on each distro (which I cannot 
handle). 
4. I've come up with a short term strategy, which I have implemented (almost) 
and a longer term strategy (actually two different strategies).

Short term strategy (95% implemented):
1. Used mkcdrec (3rd party open source package) as the basis of the booting 
and hook into its code to get the Bacula stuff on the CD.  The advantage is 
that mkcdrec shares most of my ideas (i.e. build a rescue cd using *your* 
kernel and data from *your* system).  The author of mkcdrec has been very 
kind and has integrated all the changes I have sent him that make it easy for 
Bacula to insert its own stuff (bacula-fd, bacula-fd.conf, ...) onto the CD.  
This code is as I say 95% complete (it boots and the Bacula stuff is there) 
-- there are still lots of little details to clean up, and NO documentation 
as of the current time.  The big advantage is that it is likely to boot on 
many more systems than just the ones I have.  

If anyone is willing to test this code (I think you are likely to get much 
farther than with the old 1.8.x rescue), please let me know, and I'll create 
a first cut documentation and tell you how to get the code.  It would be a 
*big* help to have testers, but I have to specify that my priority is getting 
Bacula 1.39.x stabilized and released ...

Longer term stragegy (designed in my head 5-10% implemented):
1. Longer term, mkcdrec is going away because the author has a new much more 
flexible project (released to Source Forge) called rear (Relax and Recover).

2. I haven't yet had the time to look at rear in detail to see if it is far 
enough along to be used by Bacula -- the authors kindly let me provide them 
with input at the design phase, so they are aware of what Bacula needs.
So this is a possibility.

3. It seems to me that there are two possibly better solutions to the problem:
  a. Most distros now have rather serious rescue modes of booting their
  installation disks (by serious, I mean they do a very good job of 
  getting any configuration booted, and they have a lot of tools).  SuSE 
  even has tools that will check and repare a whole filesystem (beyond
  just fsck).  The problem is that these rescue disks do not have Bacula.
  b. Most distros have good scripts to create a initrd and an iso boot image.

4. I believe that it would be quite possible, and not too complicated to 
(referring to a and b above):
   a. Remaster a distro's rescue disk and add Bacula specific data (i.e.
   bacula-fd, bacula-fd.conf, some scripts ...   I am leaning towards
   implementing this.
   b. Making a collection of scripts for each distro, and modify them 
   slightly to add the hooks for Bacula to insert its data when running
   those scripts (much like I did for mkcdrec).
   c. It would be nice to convince the distros to include those hooks
   in their distributed scripts -- this would make it much easier to
   support future versions.


Bottom line:
- Short term, I need another couple of days of work to complete the 
integration of Bacula with mkcdrec, which should provide us with a viable 
short term solution.  Any persons interested in testing please let me know 
copying only the bacula-devel 

Re: [Bacula-users] Bacula-dir and remote Postgres

2006-09-12 Thread Gabriele Bulfon


.wow.probably the bug is on the Intel installation where postgres now resides?But...I have plenty of Intel installations running postgres, and I usually have no problem using the DB from any host.Do you have any clue to workaround the bug?


 



 

Gabriele Bulfon - Sonicle S.r.l.
Tel +39 028246016 Int. 30 - Fax +39 028243880
Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
http://www.sonicle.com

 

Da: MaxxAtWork [EMAIL PROTECTED]A: Gabriele Bulfon [EMAIL PROTECTED] bacula-users@lists.sourceforge.net Data: 12 settembre 2006 10.58.29 CESTOggetto: Re: [Bacula-users] Bacula-dir and remote PostgresOn 9/12/06, Gabriele Bulfon [EMAIL PROTECTED] wrote:


iserver-dir: postgresql.c:77 db_open first timeiserver-dir: bsys.c:70 pthread_cond_timedwait sec=5 usec=0iserver-dir: bsys.c:77 pthread_cond_timedwait stat=145 ERR=Connection timed out
Huh... it seems the failure is during bmicrosleep(), when the system is supposed only to wait for 5 seconds? How up-to-date is your Solaris 10? Just wondering if you're hitting one of the resolved bugs for pthread_cond_timewait here...
But on the other side, why you weren't bitten by the same errors while postgres was running on the same server?Regards-- Maxx


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] wrong start time stored for Volume Use Duration?

2006-09-12 Thread Kern Sibbald
On Monday 11 September 2006 20:21, Jo Rhett wrote:
 Simple configuration.  Disk backup.  30 volumes, 30 day retention,  
 Recycle automatically.
 
 Pool {
  Name = clients_Pool
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically  
 recycle Volumes
  Recycle Oldest Volume = yes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 30 days  # one year
  Volume Use Duration = 24h
  Accept Any Volume = yes # write on any volume in the  
 pool
  LabelFormat = clients-
  Maximum Volumes = 30
 }
 
 This is the message that concerns me:
 
 Begin forwarded message:
  11-Sep 11:05 backup0-sd: Job hostname.client.com. 
  2006-09-11_11.05.00 waiting. Cannot find any appendable volumes.
  Please use the label  command to create a new Volume for:
  Storage:  Dev_clients (/bacula/clients)
  Media type:   File_clients
  Pool: clients_Pool
 
 What is confusing is that there is a volume available it should be  
 writing to:
 
 Pool: clients_Pool
 +-+--+---++-- 
 +--+-+--+---+-- 
 +-+
 | MediaId | VolumeName   | VolStatus | VolBytes   | VolFiles |  
 VolRetention | Recycle | Slot | InChanger | MediaType|  
 LastWritten |
 +-+--+---++-- 
 +--+-+--+---+-- 
 +-+
 |   1 | clients-0001 | Used  |  9,418,659,725 |2 | 
 2,592,000 |   1 |0 | 0 | File_clients | 2006-09-07  
 22:21:46 |
 |   2 | clients-0002 | Used  | 10,270,194,708 |2 | 
 2,592,000 |   1 |0 | 0 | File_clients | 2006-09-08  
 22:25:46 |
 |   3 | clients-0003 | Used  | 10,301,616,376 |2 | 
 2,592,000 |   1 |0 | 0 | File_clients | 2006-09-09  
 22:23:12 |
 |   4 | clients-0004 | Used  | 12,072,651,723 |2 | 
 2,592,000 |   1 |0 | 0 | File_clients | 2006-09-10  
 23:26:29 |
 |   5 | clients-0005 | Full  |  4,779,329,250 |1 | 
 2,592,000 |   1 |0 | 0 | File_clients | 2006-08-17  
 22:19:18 |
 
 clients-0004 was first used 10 hours ago, so it should be available...
 
 APPARENT BUG: What is interesting is that it is complaining about  
 wanting a new volume exactly 24 hours *AFTER* it last tried to run,  
 and didn't find a new volume.  (You can see that a we're a few days  
 ahead of 30 days, so I'm having to manually purge the volumes each  
 day until we catch up)
 
 HOWEVER: I didn't purge the volume and release it for writing until  
 11pm last night.
 
 ANALYSIS: So.. the volume's usage period is being determined not by  
 when it was first written to, but instead by the start time of the  
 first job that wrote to it.
 
 Is this behavior known?  Is it fixed in current?  Obviously it's not  
 a crucial flaw, but if its decided not to fix it then it should be  
 documented.

All pruning is based on the termination time of the Job concerned not the 
start time of the job.

The manual was not very explicit on this, so I have made it so.  Note, in a 
few exceptional cases (Bacula crashes between the time the job starts and the 
job terminates), the End time of the job will be set to the start time of 
the Job.  Any job that is correctly terminated by Bacula (normal, warning, 
error, fail, ...) will have the End time set correctly.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-dir and remote Postgres

2006-09-12 Thread Gabriele Bulfon


To workaround the problem, I had to move the Director on the DB machine too.So now, the SD is still on Sun280R, all FD are around unchanged, and Director runs on the Solaris Intel together with Postgres, with a modified dir.conf to connect to the SD on the network.Maybe some bug with postgres when not on localhost?


 



 

Gabriele Bulfon - Sonicle S.r.l.
Tel +39 028246016 Int. 30 - Fax +39 028243880
Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
http://www.sonicle.com

 

Da: MaxxAtWork [EMAIL PROTECTED]A: Gabriele Bulfon [EMAIL PROTECTED] bacula-users@lists.sourceforge.net Data: 12 settembre 2006 10.58.29 CESTOggetto: Re: [Bacula-users] Bacula-dir and remote PostgresOn 9/12/06, Gabriele Bulfon [EMAIL PROTECTED] wrote:


iserver-dir: postgresql.c:77 db_open first timeiserver-dir: bsys.c:70 pthread_cond_timedwait sec=5 usec=0iserver-dir: bsys.c:77 pthread_cond_timedwait stat=145 ERR=Connection timed out
Huh... it seems the failure is during bmicrosleep(), when the system is supposed only to wait for 5 seconds? How up-to-date is your Solaris 10? Just wondering if you're hitting one of the resolved bugs for pthread_cond_timewait here...
But on the other side, why you weren't bitten by the same errors while postgres was running on the same server?Regards-- Maxx


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problem with cancel a job

2006-09-12 Thread [EMAIL PROTECTED]
   Hello,
our administrator is currently in holiday and I have a problem with our 
backup system : bacula.
We use a powerVault 110T on a EMC² server with Dedian.

Friday, the backup was too large for our storage support. So I have try 
to kill the job in the bacula console with cancel command and the job 
number. But it didn't work. So I have restart the daemon with the 
command /etc/init.d/bacula-director restart. (I try also stop and 
start).
But when I display the status in the console, I have this :

Connecting to Director server02:9101
1000 OK: server02-dir Version: 1.38.11 (28 June 2006)
status
Using default Catalog name=MyCatalog DB=bacula
Status available for:
 1: Director
 2: Storage
 3: Client
 4: All
Select daemon type for status (1-4): 4
server02-dir Version: 1.38.11 (28 June 2006) i386-pc-linux-gnu debian 3.1
Daemon started 12-sep-06 12:31, 0 Jobs run since started.

Scheduled Jobs:
Level  Type Pri  Scheduled  Name   Volume
===
Full   Backup10  12-sep-06 21:30NightlySave_part2  mardi
Full   Backup11  12-sep-06 21:31Catalogmardi


Running Jobs:
Console connected at 12-sep-06 12:31
No Jobs running.


Terminated Jobs:
 JobId  Level Files  Bytes Status   FinishedName

   262  Full539,707 126,619,945,112 OK   05-sep-06 17:54 ArchiveSave
   263  Full  1 92,896,357 OK   05-sep-06 17:57 Catalog
   264  Full208,650 93,029,398,257 OK   06-sep-06 01:59 
NightlySave_part2
   265  Full  1 92,915,471 OK   06-sep-06 02:02 Catalog
   266  Full325,514 206,333,237,260 OK   07-sep-06 08:38 
NightlySave_part1
   267  Full  1 94,031,569 OK   07-sep-06 08:42 Catalog
   268  Full208,758 93,581,366,131 OK   08-sep-06 02:23 
NightlySave_part2
   269  Full  1 94,048,555 OK   08-sep-06 02:27 Catalog
   274  Full  0  0 Cancel   12-sep-06 09:50 
NightlySave_part1
   275  Full  0  0 Cancel   12-sep-06 09:50 Catalog


Connecting to Storage daemon LTO-2 at server02:9103

server02-sd Version: 1.38.11 (28 June 2006) i386-pc-linux-gnu debian 3.1
Daemon started 01-sep-06 14:46, 16 Jobs run since started.

Running Jobs:
Writing: Full Backup job NightlySave_part1 JobId=270 Volume=
pool=WeeklyPool device=LTO-2 (/dev/nst0)
Files=327,215 Bytes=211,350,003,292 Bytes/sec=673,350
FDReadSeqNo=7,125,282 in_msg=6169469 out_msg=5 fd=5


Jobs waiting to reserve a drive:


Terminated Jobs:
 JobId  Level   Files  Bytes Status   FinishedName
==
   262  Full539,707 126,725,476,642 OK   05-sep-06 17:54 ArchiveSave
   263  Full  1 92,896,469 OK   05-sep-06 17:57 Catalog
   264  Full208,650 93,068,083,243 OK   06-sep-06 01:59 
NightlySave_part2
   265  Full  1 92,915,583 OK   06-sep-06 02:01 Catalog
   266  Full325,514 206,396,800,429 OK   07-sep-06 08:38 
NightlySave_part1
   267  Full  1 94,031,681 OK   07-sep-06 08:41 Catalog
   268  Full208,758 93,620,078,706 OK   08-sep-06 02:23 
NightlySave_part2
   269  Full  1 94,048,667 OK   08-sep-06 02:26 Catalog
   274  Full  0  0 Cancel   12-sep-06 09:50 
NightlySave_part1
   276  Full  0  0 Cancel   12-sep-06 10:20 ArchiveSave


Device status:
Device FileStorage (/tmp) is not open or does not exist.
Device LTO-2 (/dev/nst0) is not open or does not exist.
Device is BLOCKED waiting for media.


In Use Volume status:


Connecting to Client server02-fd at server02:9102

server02-fd Version: 1.38.11 (28 June 2006)  i386-pc-linux-gnu debian 3.1
Daemon started 01-sep-06 14:46, 14 Jobs run since started.

Terminated Jobs:
 JobId  Level Files Bytes  Status   FinishedName
==
   260  Full305,172 198,244,009,893 OK   05-sep-06 07:53 
NightlySave_part1
   261  Full  1 92,899,802 OK   05-sep-06 07:54 Catalog
   262  Full539,707 126,619,945,112 OK   05-sep-06 17:54 ArchiveSave
   263  Full  1 92,896,357 OK   05-sep-06 17:57 Catalog
   264  Full208,650 93,029,398,257 OK   06-sep-06 01:59 
NightlySave_part2
   265  Full  1 92,915,471 OK   06-sep-06 02:01 Catalog
   266  Full325,514 206,333,237,260 OK   07-sep-06 08:38 
NightlySave_part1
   267  Full  1 94,031,569 OK   07-sep-06 08:41 Catalog
   268  Full208,758 93,581,366,131 OK   08-sep-06 02:23 
NightlySave_part2
   269  Full  1 94,048,555 OK   08-sep-06 02:26 Catalog

Running Jobs:
JobId 270 Job 

Re: [Bacula-users] Problem with cancel a job

2006-09-12 Thread Gavin Conway
 
 So, a job 270 is still running and waiting for a new device ? I have try 
 the command cancel jobid=270 cancel job=270 cancel 270 but each 
 time it say : Jobs not running or something like that.
 I that others jobs which are automatically launch each day, but since 
 Monday morning, no job want to start.
 
 How to cancel this job ?
 
 I hope this problem as is place on this mailing list.
 
 thanks in advance.
 

You might want to try stopping and starting your storage daemon. 
Alternatively try running a mount/unmount against your second storage 
device.

Cheers,
Gavin

-- 
UKS Ltd, Birmingham Road, Studley, Warwickshire, B80 7BG
Tel: 08700 681 333  -  Fax: 01527 851 301  -  AS: 20547
[EMAIL PROTECTED]  -  www.uksolutions.co.uk

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with cancel a job

2006-09-12 Thread [EMAIL PROTECTED]
I have already try unmount then mount commands and a restart of 
daemon but nothing change.

regards,
Sylvain

Gavin Conway a écrit :

 So, a job 270 is still running and waiting for a new device ? I have 
 try the command cancel jobid=270 cancel job=270 cancel 270 but 
 each time it say : Jobs not running or something like that.
 I that others jobs which are automatically launch each day, but since 
 Monday morning, no job want to start.

 How to cancel this job ?

 I hope this problem as is place on this mailing list.

 thanks in advance.


 You might want to try stopping and starting your storage daemon. 
 Alternatively try running a mount/unmount against your second storage 
 device.

 Cheers,
 Gavin


-- 
Sylvain DAVID / administrateur réseau

 adr : Etranges Libellules
  .~.  17 Rue des Archers
  /v\  69002 LYON
 /(°)\   tel : 04 72 40 24 72
 ^^-^^   fax : 04 72 40 27 19

  www.etranges-libellules.fr
   --


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Autoloaders

2006-09-12 Thread Janco van der Merwe








Hi,



Im going to ask a really dumb question now, so please
bear with me. We just bought a Dell Power Vault 124 with a LTO 3 now the
problem is that I dont know what device the autoloader is specified in /dev.




I have a nst0, nst0a, nst0l, nst0m as well as st0, st0a, st0l
and st0m. At least I know what the difference between nst0 and st0 is but I dont
know which one of the rest is the autoloader ??? 



The best thing is I just got to grips with Bacula and the
AIT and now I have to do everything over again but this time on RHEL 4 and the
Dell Autoloader, at least Bacula is easy but the hardware through a curve ball.




HELP???



Janco v.d Merwe
Network Administrator
Dunns Stores (PTY) Ltd
Switchboard: 011 541 3000
Direct: 011 541 3007
Fax: 086 632 1708









This communication and any attachments are confidential and intended for the sole use of the
intended recipient.  Any form of copying or disclosure of this communication to any third parties
without permission is prohibited.  The contents of this communication and its attachments are
not intended to be relied upon in law without subsequent written confirmation.  As such, Dunns
Stores (Pty) Ltd accept no responsibility or liability (including negligence) for the consequences
of anyone acting, or not acting, on information contained therein.

If you have received this communication in error please notify us immediately and destroy or
delete it.




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Autoloaders

2006-09-12 Thread Kern Sibbald
On Tuesday 12 September 2006 14:16, Janco van der Merwe wrote:
 Hi,
  
 I'm going to ask a really dumb question now, so please bear with me. We just 
bought a Dell Power Vault 124 with a LTO 3 now the problem is that I don't 
know what device the autoloader is specified in /dev. 
  
 I have a nst0, nst0a, nst0l, nst0m as well as st0, st0a, st0l and st0m. At 
least I know what the difference between nst0 and st0 is but I don't know 
which one of the rest is the autoloader ??? 
  
 The best thing is I just got to grips with Bacula and the AIT and now I have 
to do everything over again but this time on RHEL 4 and the Dell Autoloader, 
at least Bacula is easy but the hardware through a curve ball. 

  
 HELP???

Have you read the Autochanger chapter of the manual?  It tells you how to 
figure it out by looking at /proc/...



  
 Janco v.d Merwe
 Network Administrator
 Dunns Stores (PTY) Ltd
 Switchboard: 011 541 3000
 Direct: 011 541 3007
 Fax: 086 632 1708
  
 
 
 This communication and any attachments are confidential and intended for the 
sole use of the
 intended recipient.  Any form of copying or disclosure of this communication 
to any third parties
 without permission is prohibited.  The contents of this communication and 
its attachments are
 not intended to be relied upon in law without subsequent written 
confirmation.  As such, Dunns
 Stores (Pty) Ltd accept no responsibility or liability (including 
negligence) for the consequences
 of anyone acting, or not acting, on information contained therein.
 
 If you have received this communication in error please notify us 
immediately and destroy or
 delete it.
 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Autoloaders

2006-09-12 Thread Janco van der Merwe
Shit..sorry, I missed that

Janco v.d Merwe
Network Administrator
Dunns Stores (PTY) Ltd
Switchboard: 011 541 3000
Direct: 011 541 3007
Fax: 086 632 1708

-Original Message-
From: Kern Sibbald [mailto:[EMAIL PROTECTED] 
Sent: 12 September, 2006 14:22
To: bacula-users@lists.sourceforge.net
Cc: Janco van der Merwe
Subject: Re: [Bacula-users] Autoloaders

On Tuesday 12 September 2006 14:16, Janco van der Merwe wrote:
 Hi,
  
 I'm going to ask a really dumb question now, so please bear with me. We just 
bought a Dell Power Vault 124 with a LTO 3 now the problem is that I don't 
know what device the autoloader is specified in /dev. 
  
 I have a nst0, nst0a, nst0l, nst0m as well as st0, st0a, st0l and st0m. At 
least I know what the difference between nst0 and st0 is but I don't know 
which one of the rest is the autoloader ??? 
  
 The best thing is I just got to grips with Bacula and the AIT and now I have 
to do everything over again but this time on RHEL 4 and the Dell Autoloader, 
at least Bacula is easy but the hardware through a curve ball. 

  
 HELP???

Have you read the Autochanger chapter of the manual?  It tells you how to 
figure it out by looking at /proc/...



  
 Janco v.d Merwe
 Network Administrator
 Dunns Stores (PTY) Ltd
 Switchboard: 011 541 3000
 Direct: 011 541 3007
 Fax: 086 632 1708
  
 
 
 This communication and any attachments are confidential and intended for the 
sole use of the
 intended recipient.  Any form of copying or disclosure of this communication 
to any third parties
 without permission is prohibited.  The contents of this communication and 
its attachments are
 not intended to be relied upon in law without subsequent written 
confirmation.  As such, Dunns
 Stores (Pty) Ltd accept no responsibility or liability (including 
negligence) for the consequences
 of anyone acting, or not acting, on information contained therein.
 
 If you have received this communication in error please notify us 
immediately and destroy or
 delete it.
 



This communication and any attachments are confidential and intended for the 
sole use of the
intended recipient.  Any form of copying or disclosure of this communication to 
any third parties
without permission is prohibited.  The contents of this communication and its 
attachments are
not intended to be relied upon in law without subsequent written confirmation.  
As such, Dunns
Stores (Pty) Ltd accept no responsibility or liability (including negligence) 
for the consequences
of anyone acting, or not acting, on information contained therein.

If you have received this communication in error please notify us immediately 
and destroy or
delete it.



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] expanding filelist with jobid

2006-09-12 Thread Silver Salonen
On Monday 11 September 2006 16:56, Kern Sibbald wrote:
 On Monday 11 September 2006 15:33, Silver Salonen wrote:
  On Friday 08 September 2006 14:29, Silver Salonen wrote:
  Actually the problem would be in files' paths - if a snapshot is mounted 
to 
  some other directory, the files' path would differ and thus all the files 
  would get backed up.
  
  It seems to me that there's a few ways to resolve this issue - to 
implement 
  some transparent snapshot function, or to chroot all files 
  to /mnt/snapshots/usr-%j.
  
  Any thoughts?
  
  Silver

I guess I have to mount all the snapshots that are made by jobs to separate 
mountpoints, eg. /mnt/snapshots/userdata/usr, /mnt/snapshots/usr-conf/usr 
etc.
For not losing all my current backups' metadata, I should update all the 
files' root path. Could somebody advise, what would the sql-query look like?

Silver

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Autoloaders

2006-09-12 Thread Carlos Cristóbal Sabroe Yde
Hi, I have an IBM LTO3 3581 autoloader on SuSE and the device to access the 
autoloader is /dev/sg2
st*, nst* are for the tape drive using a driver.

The sg devices are raw scsi, accessible without any driver, so I can access 
the autoloader this way:
/dev/sg1: Drive
/dev/sg2: Autoloader

Try these commands to get information:

cat /proc/scsi/sg/device_strs
sg_scan -i
scsiinfo -i /dev/sg2
scsiinfo -i /dev/sg1

Good luck!

El Martes, 12 de Septiembre de 2006 09:16, Janco van der Merwe escribió:
 Hi,
  
 I'm going to ask a really dumb question now, so please bear with me. We just 
 bought a Dell Power Vault 124 with a LTO 3 now the problem is that I don't 
 know what device the autoloader is specified in /dev. 
  
 I have a nst0, nst0a, nst0l, nst0m as well as st0, st0a, st0l and st0m. At 
 least I know what the difference between nst0 and st0 is but I don't know 
 which one of the rest is the autoloader ??? 
  
 The best thing is I just got to grips with Bacula and the AIT and now I have 
 to do everything over again but this time on RHEL 4 and the Dell Autoloader, 
 at least Bacula is easy but the hardware through a curve ball. 
  
 HELP???
  
 Janco v.d Merwe
 Network Administrator
 Dunns Stores (PTY) Ltd
 Switchboard: 011 541 3000
 Direct: 011 541 3007
 Fax: 086 632 1708
  
 
 
 This communication and any attachments are confidential and intended for the 
 sole use of the
 intended recipient.  Any form of copying or disclosure of this communication 
 to any third parties
 without permission is prohibited.  The contents of this communication and its 
 attachments are
 not intended to be relied upon in law without subsequent written 
 confirmation.  As such, Dunns
 Stores (Pty) Ltd accept no responsibility or liability (including negligence) 
 for the consequences
 of anyone acting, or not acting, on information contained therein.
 
 If you have received this communication in error please notify us immediately 
 and destroy or
 delete it.
 

-- 
Cristóbal Sabroe Yde
[EMAIL PROTECTED]
Tel.++54 358 4676183

Universidad Nacional de Río Cuarto
Soporte Técnico - Centro de Cómputos
Ruta 36 km. 601
X5804BYA - Rí­o Cuarto, Córdoba
Argentina

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Autoloaders

2006-09-12 Thread Jaime Ventura
Hi, Janco
Try this:

#!/bin/sh
(for i in /dev/sg*; do 
   echo $i; 
   mtx -f $i inquiry 21;
   echo --;
done) \
| less

Assuming is connected correctly, this will give you which /dev/sg* is 
you loader in.
search in the results something like this:

/dev/sg5
Product Type: Medium Changer
Vendor ID: 'DELL '
Product ID: 'PV-124T '
Revision: '0031'
Attached Changer: No


Mine is on /dev/sg5, Yours may not.
If you get this, tell me. I can help you with the rest.

I have also a 124T on a rhel.

Jaime







Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt







Janco van der Merwe wrote:

 Hi,

 I’m going to ask a really dumb question now, so please bear with me. 
 We just bought a Dell Power Vault 124 with a LTO 3 now the problem is 
 that I don’t know what device the autoloader is specified in /dev.

 I have a nst0, nst0a, nst0l, nst0m as well as st0, st0a, st0l and 
 st0m. At least I know what the difference between nst0 and st0 is but 
 I don’t know which one of the rest is the autoloader ???

 The best thing is I just got to grips with Bacula and the AIT and now 
 I have to do everything over again but this time on RHEL 4 and the 
 Dell Autoloader, at least Bacula is easy but the hardware through a 
 curve ball.

 HELP???

 Janco v.d Merwe
 Network Administrator
 Dunns Stores (PTY) Ltd
 Switchboard: 011 541 3000
 Direct: 011 541 3007
 Fax: 086 632 1708



 
 
 This communication and any attachments are confidential and intended 
 for the sole use of the
 intended recipient. Any form of copying or disclosure of this 
 communication to any third parties
 without permission is prohibited. The contents of this communication 
 and its attachments are
 not intended to be relied upon in law without subsequent written 
 confirmation. As such, Dunns
 Stores (Pty) Ltd accept no responsibility or liability (including 
 negligence) for the consequences
 of anyone acting, or not acting, on information contained therein.

 If you have received this communication in error please notify us 
 immediately and destroy or
 delete it.
  

 

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 

 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] expanding filelist with jobid

2006-09-12 Thread Silver Salonen
On Tuesday 12 September 2006 15:29, Silver Salonen wrote:
 On Monday 11 September 2006 16:56, Kern Sibbald wrote:
  On Monday 11 September 2006 15:33, Silver Salonen wrote:
   On Friday 08 September 2006 14:29, Silver Salonen wrote:
   Actually the problem would be in files' paths - if a snapshot is mounted 
 to 
   some other directory, the files' path would differ and thus all the 
files 
   would get backed up.
   
   It seems to me that there's a few ways to resolve this issue - to 
 implement 
   some transparent snapshot function, or to chroot all files 
   to /mnt/snapshots/usr-%j.
   
   Any thoughts?
   
   Silver
 
 I guess I have to mount all the snapshots that are made by jobs to separate 
 mountpoints, eg. /mnt/snapshots/userdata/usr, /mnt/snapshots/usr-conf/usr 
 etc.
 For not losing all my current backups' metadata, I should update all the 
 files' root path. Could somebody advise, what would the sql-query look like?
 
 Silver

Oh well, never mind. I guess it can't be done like that - paths should be 
updated inside volumes and then they could be rescanned to create new 
metadata.

Silver

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fwd: Re: Bacula-dir and remote Postgres

2006-09-12 Thread Gabriele Bulfon


I forgot to put the list in cc.


 



 

Gabriele Bulfon - Sonicle S.r.l.
Tel +39 028246016 Int. 30 - Fax +39 028243880
Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
http://www.sonicle.com

 

Da: Gabriele Bulfon [EMAIL PROTECTED]A: MaxxAtWork [EMAIL PROTECTED] Data: 12 settembre 2006 11.24.10 CESTOggetto: Re: [Bacula-users] Bacula-dir and remote Postgres

Searching in the Bug database at OpenSolaris for "pthread_cond_timewait", reveals only a couple of old bugs, appeared inside Solaris 8 and resolved since Solaris 9. nothing about Solaris 10.And, last but not least, I never have problems with Postgres on Solaris 10, from any application connecting to it, both through Java/jdbc and native calls. Bacula is the first one showing the problem.And, I insist, the problem comes out only if I run bconsole commands. On startup, the Director seems to run many queries and updates on the DB to match a consistent state with the startup conf file, and these all run great.


 



 

Gabriele Bulfon - Sonicle S.r.l.
Tel +39 028246016 Int. 30 - Fax +39 028243880
Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
http://www.sonicle.com

 

Da: MaxxAtWork [EMAIL PROTECTED]A: Gabriele Bulfon [EMAIL PROTECTED] bacula-users@lists.sourceforge.net Data: 12 settembre 2006 10.58.29 CESTOggetto: Re: [Bacula-users] Bacula-dir and remote PostgresOn 9/12/06, Gabriele Bulfon [EMAIL PROTECTED] wrote:


iserver-dir: postgresql.c:77 db_open first timeiserver-dir: bsys.c:70 pthread_cond_timedwait sec=5 usec=0iserver-dir: bsys.c:77 pthread_cond_timedwait stat=145 ERR=Connection timed out
Huh... it seems the failure is during bmicrosleep(), when the system is supposed only to wait for 5 seconds? How up-to-date is your Solaris 10? Just wondering if you're hitting one of the resolved bugs for pthread_cond_timewait here...
But on the other side, why you weren't bitten by the same errors while postgres was running on the same server?Regards-- Maxx



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Autoloaders

2006-09-12 Thread Jaime Ventura
First you need to be sure that you have the PV-124T correctly connected.
I bought my PV-124T with a adaptec board scsi with it.
First be sure that the board is recognized by linux.

I didn't understand you message quite well. Does your cat 
/proc/scsi/scsi is something like this?
Attached devices:
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: PE/PVModel: 1x2 SCSI BP  Rev: 1.0
  Type:   ProcessorANSI SCSI revision: 02
Host: scsi0 Channel: 01 Id: 06 Lun: 00
  Vendor: PE/PVModel: 1x4 SCSI BP  Rev: 1.0
  Type:   ProcessorANSI SCSI revision: 02
Host: scsi0 Channel: 02 Id: 00 Lun: 00
  Vendor: MegaRAID Model: LD 0 RAID1   69G Rev: 521S
  Type:   Direct-AccessANSI SCSI revision: 02
Host: scsi0 Channel: 02 Id: 01 Lun: 00
  Vendor: MegaRAID Model: LD 1 RAID1  286G Rev: 521S
  Type:   Direct-AccessANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 15 Lun: 00
  Vendor: IBM  Model: ULTRIUM-TD3  Rev: 5BG2
  Type:   Sequential-AccessANSI SCSI revision: 03
Host: scsi2 Channel: 00 Id: 15 Lun: 01
  Vendor: DELL Model: PV-124T  Rev: 0031
  Type:   Medium Changer   ANSI SCSI revision: 02


Notice the 2 last scsi hosts.
If you can get this, then your loader is correctly recognized. And If 
so, you can run the code i sent you on my previous message, in a bash 
console.

If not, then  probably the tapeloader isn't  correctly recognized.
What scsi board is your tapeloader connected to?

Tell me what you got.





 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Janco van der Merwe wrote:
 If I cat /proc/scsi/scsi the dell has an entry for the PV-124T but there is 
 no /dev/sg*

 Janco v.d Merwe
 Network Administrator
 Dunns Stores (PTY) Ltd
 Switchboard: 011 541 3000
 Direct: 011 541 3007
 Fax: 086 632 1708

 -Original Message-
 From: Jaime Ventura [mailto:[EMAIL PROTECTED] 
 Sent: 12 September, 2006 14:36
 To: Janco van der Merwe
 Cc: Bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] Autoloaders

 Hi, Janco
 Try this:

 #!/bin/sh
 (for i in /dev/sg*; do 
echo $i; 
mtx -f $i inquiry 21;
echo --;
 done) \
 | less

 Assuming is connected correctly, this will give you which /dev/sg* is 
 you loader in.
 search in the results something like this:

 /dev/sg5
 Product Type: Medium Changer
 Vendor ID: 'DELL '
 Product ID: 'PV-124T '
 Revision: '0031'
 Attached Changer: No


 Mine is on /dev/sg5, Yours may not.
 If you get this, tell me. I can help you with the rest.

 I have also a 124T on a rhel.

 Jaime







 Jaime Ventura
 [Infra-estruturas e Comunicações]

 Rua Dr. António Bernardino de Almeida, 431
 4200 - 072 Porto
 Telef: +351 22 834 05 00 (04) - ext. 1641
 Fax: +351 22 832 11 59

 e-mail:   [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 url:  www.isep.ipp.pt http://www.isep.ipp.pt

   





 Janco van der Merwe wrote:
   
 Hi,

 I’m going to ask a really dumb question now, so please bear with me. 
 We just bought a Dell Power Vault 124 with a LTO 3 now the problem is 
 that I don’t know what device the autoloader is specified in /dev.

 I have a nst0, nst0a, nst0l, nst0m as well as st0, st0a, st0l and 
 st0m. At least I know what the difference between nst0 and st0 is but 
 I don’t know which one of the rest is the autoloader ???

 The best thing is I just got to grips with Bacula and the AIT and now 
 I have to do everything over again but this time on RHEL 4 and the 
 Dell Autoloader, at least Bacula is easy but the hardware through a 
 curve ball.

 HELP???

 Janco v.d Merwe
 Network Administrator
 Dunns Stores (PTY) Ltd
 Switchboard: 011 541 3000
 Direct: 011 541 3007
 Fax: 086 632 1708



 
 
 This communication and any attachments are confidential and intended 
 for the sole use of the
 intended recipient. Any form of copying or disclosure of this 
 communication to any third parties
 without permission is prohibited. The contents of this communication 
 and its attachments are
 not intended to be relied upon in law without subsequent written 
 confirmation. As such, Dunns
 Stores (Pty) Ltd accept no responsibility or liability (including 
 negligence) for the consequences
 of anyone acting, or not acting, on information contained therein.

 If you have received this communication in error please notify us 
 immediately and destroy or
 delete it.
  

 

Re: [Bacula-users] New Admin

2006-09-12 Thread Gavin Conway
 Also, if it's stating:
 
  Archive DATACENTER-TAPE1 is not open or does not exist.
 

Hi Keith,

If you do a 'list volumes' and then look for that tape it should find 
it. Hopefully if it's not in the drive he has actually labelled them.

Alternatively put a fresh tape in the system and then type 'label' and 
give it a name.

If I can help out any more then drop me a mail.

Cheers,
Gavin

-- 
UKS Ltd, Birmingham Road, Studley, Warwickshire, B80 7BG
Tel: 08700 681 333  -  Fax: 01527 851 301  -  AS: 20547
[EMAIL PROTECTED]  -  www.uksolutions.co.uk

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] New Admin

2006-09-12 Thread Bill Moran
In response to Keith Phipps [EMAIL PROTECTED]:

  When I first logged in I had some messages, I typed 'messages' and got
 them - sort of skimmed through to see what kinds of messages bacula gives. I
 made the poor assumption that they'd still be there when I went back - I was
 incorrect. Is there a log that these are logged to somewhere? There were
 valid errors in there about labels that I would like to see.

Console messages are gone after you view them.  Hopefully, your admin
configured the system to save those messages to a log file as well, which
is pretty common.

Look for the messages section in bacula-dir's config file to find out
what it's doing.

  Also, if it's stating:
 
   Archive DATACENTER-TAPE1 is not open or does not exist.
 
  Is this a permissions issue perhaps? I'm currently going through the
 tutorial I found looking for instances of this.

Not sure.  I get those messages when I check the status if a file device
that isn't currently in use -- they don't indicate an error condition in
that case.  I've never seen that message occur in reference to a tape
device.  When there's no tape in the drive, I see:
Device Ultrium (/dev/nsa0) open but no Bacula volume is mounted.

  Any other advice you guys may have would be most appreciated. I really
 need to get my head wrapped around this program quickly as it's priority
 number one in my department.

Well, your question-asking technique could use a little brushup.  When
providing an error message (such as the one above) it helps to say what
you did that caused that message to be printed.  Sure would be nice to
know what version of Bacula you're running, as well as the OS and
hardware involved.  And when you ask questions, include the relevant
parts of Bacula's config (sanitized: passwords removed and the like).

Otherwise, my recommendation would be to grab a scratch machine, download
the PDF version of the Bacula docs, and spend some time experimenting.
Once you're more familiar with Bacula, it'll be easier to understand what
the previous admin was doing.

-- 
Bill Moran
Collaborative Fusion Inc.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] New Admin

2006-09-12 Thread Gabriele Bulfon


Logs usually runs under something like {bacula-home}/var/bacula/workingYou will find a log file there with all the messages.If you want a better help, take the three conf files of the server (bacula-dir.conf, bacula-sd.conf and bacula-fd.conf), make a copy, disguise any personal information (passwords, names and so on), and send it here.I will take a look, and try to figure you out the design behind it.


 



 

Gabriele Bulfon - Sonicle S.r.l.
Tel +39 028246016 Int. 30 - Fax +39 028243880
Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
http://www.sonicle.com

 

Da: Keith Phipps [EMAIL PROTECTED]A: bacula-users@lists.sourceforge.net Data: 12 settembre 2006 15.28.35 CESTOggetto: [Bacula-users] New AdminGood Day,  I'm taking over as one of our sysadmins at work and have found that we're using Bacula to implement our datacenter backups. It seems to have been installed and at one time worked, but our last admin decided documentation was a form of unholy evil and stayed fully away from it. So I'm trying to get up to speed post haste to start our backup cycles again. At this time, I just have some silly questions but the answers will really help me out as to finding out the problem and getting it solved. 
 When I first logged in I had some messages, I typed 'messages' and got them - sort of skimmed through to see what kinds of messages bacula gives. I made the poor assumption that they'd still be there when I went back - I was incorrect. Is there a log that these are logged to somewhere? There were valid errors in there about labels that I would like to see. 
 Also, if it's stating: Archive "DATACENTER-TAPE1" is not open or does not exist. Is this a permissions issue perhaps? I'm currently going through the tutorial I found looking for instances of this. 
 Any other advice you guys may have would be most appreciated. I really need to get my head wrapped around this program quickly as it's priority number one in my department. Best Regards, -Keith

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] New Admin

2006-09-12 Thread Keith Phipps
Good Day,  I'm taking over as one of our sysadmins at work and have found that we're using Bacula to implement our datacenter backups. It seems to have been installed and at one time worked, but our last admin decided documentation was a form of unholy evil and stayed fully away from it. So I'm trying to get up to speed post haste to start our backup cycles again. At this time, I just have some silly questions but the answers will really help me out as to finding out the problem and getting it solved. 
 When I first logged in I had some messages, I typed 'messages' and got them - sort of skimmed through to see what kinds of messages bacula gives. I made the poor assumption that they'd still be there when I went back - I was incorrect. Is there a log that these are logged to somewhere? There were valid errors in there about labels that I would like to see. 
 Also, if it's stating: Archive DATACENTER-TAPE1 is not open or does not exist. Is this a permissions issue perhaps? I'm currently going through the tutorial I found looking for instances of this. 
 Any other advice you guys may have would be most appreciated. I really need to get my head wrapped around this program quickly as it's priority number one in my department. Best Regards, -Keith

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Autoloaders

2006-09-12 Thread John Boris
My Powervault works with these settings :


#
# An autochanger device with two drives
#
Autochanger {
  Name = Autochanger
  Device = Drive-0
#  Device = Drive-2
  Changer Command = /root/bacula/bin/mtx-changer %c %o %S %a %d
  Changer Device = /dev/sg2
}

Device {
  Name = Drive-0  #
  Drive Index = 0
  Media Type = LTO-2
  Archive Device = /dev/nst1
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
#  # Enable the Alert command only if you have the mtx package loaded
  Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
}

The autochanger is at /dev/sg2

I had some difficulty using the /dev/sg* when I first started. I have
other issues but the Powervault is recognized. I am running RedHat
Fedora Core 3

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!

 Jaime Ventura [EMAIL PROTECTED] 09/12/06 10:57 AM 
weird...:P
do you have graphic interface?
run the harware browser (hwbroswer on the command line)
take a look on a screenshot I send as attachment.
You should see you tape loader under the system devices. As you ca 
seen in the picture mine is on /dev/sg5.
If doesn't work or if you don't have access to the harware browser
let 
me see what you have on /proc/scsi (ls /proc/scsi )


   




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Multiple File Systems problem

2006-09-12 Thread Lautaro Di Martino
but this is not a solution for my problem. I have set onefs=yes in my
FileSet resource, anyway bacula can't read /backup/nn2 and tell me
will not descend into /backup/nn2 for backup it.



2006/9/11, Bill Moran [EMAIL PROTECTED]:
 In response to Lautaro Di Martino [EMAIL PROTECTED]:

  hi all
 
  I have a problem with a partition mounted on the file system when
  bacula doing a backup. For example:
 
  I have this directory:
  /backup/nn1
  /backup/nn2
  /backup/nn3
 
  on /backup/nn2  I have mount a lvm partition. When bacula do run job
  in /backup for backup it and try read the directory /backup/nn2 a
  warning error tell me this:
  hostname-fd:  Filesystem change prohibited. Will not descend into
  /backup/nn2
 
  Ok. I search in the bacula site and I find in File Set Resource this onefs
  If I set onefs=yes I can do backups on multiple filesystems
  technically, but this no work to me.
  Any idea?

 onefs = yes tells Bacula _not_ to change filesystems.
 onefs = no will allow Bacula to switch to other mount points

 --
 Bill Moran
 Collaborative Fusion Inc.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Multiple File Systems problem

2006-09-12 Thread Bill Moran
In response to Lautaro Di Martino [EMAIL PROTECTED]:

 but this is not a solution for my problem. I have set onefs=yes in my
 FileSet resource, anyway bacula can't read /backup/nn2 and tell me
 will not descend into /backup/nn2 for backup it.

I suspect there is a language barrier.

onefs = yes _prevents_ Bacula from changing file systems and is the cause
of those messages.  If you change it to no, Bacula will backup the
data in those mount point.  Be careful, if your fileset is organized
poorly, this will result in data being backed up multiple times.

What is your native language?  Have the Bacula docs been translated to
it yet?  The English description of this setting is very good:
http://www.bacula.org/rel-manual/Configuring_Director.html#SECTION000147000

 2006/9/11, Bill Moran [EMAIL PROTECTED]:
  In response to Lautaro Di Martino [EMAIL PROTECTED]:
 
   hi all
  
   I have a problem with a partition mounted on the file system when
   bacula doing a backup. For example:
  
   I have this directory:
   /backup/nn1
   /backup/nn2
   /backup/nn3
  
   on /backup/nn2  I have mount a lvm partition. When bacula do run job
   in /backup for backup it and try read the directory /backup/nn2 a
   warning error tell me this:
   hostname-fd:  Filesystem change prohibited. Will not descend into
   /backup/nn2
  
   Ok. I search in the bacula site and I find in File Set Resource this 
   onefs
   If I set onefs=yes I can do backups on multiple filesystems
   technically, but this no work to me.
   Any idea?
 
  onefs = yes tells Bacula _not_ to change filesystems.
  onefs = no will allow Bacula to switch to other mount points
 
  --
  Bill Moran
  Collaborative Fusion Inc.
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Multiple File Systems problem

2006-09-12 Thread Lautaro Di Martino
Sorry, I'm wrong I have set in my fileset resource onefs=NO, but this
not work to me.

Really sorry, I need spleep.

Thanks anyway

2006/9/12, Lautaro Di Martino [EMAIL PROTECTED]:
 but this is not a solution for my problem. I have set onefs=yes in my
 FileSet resource, anyway bacula can't read /backup/nn2 and tell me
 will not descend into /backup/nn2 for backup it.



 2006/9/11, Bill Moran [EMAIL PROTECTED]:
  In response to Lautaro Di Martino [EMAIL PROTECTED]:
 
   hi all
  
   I have a problem with a partition mounted on the file system when
   bacula doing a backup. For example:
  
   I have this directory:
   /backup/nn1
   /backup/nn2
   /backup/nn3
  
   on /backup/nn2  I have mount a lvm partition. When bacula do run job
   in /backup for backup it and try read the directory /backup/nn2 a
   warning error tell me this:
   hostname-fd:  Filesystem change prohibited. Will not descend into
   /backup/nn2
  
   Ok. I search in the bacula site and I find in File Set Resource this 
   onefs
   If I set onefs=yes I can do backups on multiple filesystems
   technically, but this no work to me.
   Any idea?
 
  onefs = yes tells Bacula _not_ to change filesystems.
  onefs = no will allow Bacula to switch to other mount points
 
  --
  Bill Moran
  Collaborative Fusion Inc.
 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] fatal error--Bacula wants tape to be in the other drive in autochanger

2006-09-12 Thread mark . bergman
I'm running into a frequent situation where Bacula wants a given volume to be 
in one drive of our autochanger, and it doesn't seem to find the volume when 
it's already in the other drive.

This is with Bacula 1.38.9, under Linux (FC1), with a 23-slot, 2 drive 
autochanger and mysql5.

Most backups work fine, but this is a persistent problem.



Here's an example...there are two tapes (volumes 13 and 39) loaded and in use. 

Volume 39 is in the pool Incremental, and is in drive 0.
Volume 13 is in the pool Full, and is in drive 1.

I manually begin a new backup (type Full). Bacula correctly wants to use 
volume 13, however it insists on using that volume in drive 0 (which is in use 
by other jobs). This results in a fatal error.

-  bconsole session output 
---

Run Backup job
JobName:  athens-full
FileSet:  Full Set
Level:Full
Client:   athens-fd
Storage:  pv132t
Pool: Full
When: 2006-09-12 12:11:26
Priority: 10
OK to run? (yes/mod/no): yes
Job started. JobId=1050
12-Sep 12:11 parthenon-dir: Start Backup JobId 1050, 
Job=athens-full.2006-09-12_12.11.28
12-Sep 12:11 parthenon-sd: athens-full.2006-09-12_12.11.28 Fatal error: 
acquire.c:263 Wanted Volume 13, but device Drive-0 (/dev/tape0) is busy 
writing on 39 .
12-Sep 12:02 athens-fd: athens-full.2006-09-12_12.11.28 Fatal error: job.c:1617 
Bad response to Append Data command. Wanted 3000 OK data
, got 3903 Error append data

12-Sep 12:11 parthenon-dir: athens-full.2006-09-12_12.11.28 Error: Bacula 
1.38.9 (02May06): 12-Sep-2006 12:11:30
  JobId:  1050
  Job:athens-full.2006-09-12_12.11.28
  Backup Level:   Full
  Client: athens-fd mips-sgi-irix6.5,irix,6.5
  FileSet:Full Set 2006-07-27 14:15:10
  Pool:   Full
  Storage:pv132t
  Scheduled time: 12-Sep-2006 12:11:26
  Start time: 12-Sep-2006 12:11:30
  End time:   12-Sep-2006 12:11:30
  Elapsed time:   0 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
  Volume name(s): 
  Volume Session Id:  53
  Volume Session Time:1157752704
  Last Volume Bytes:  292,937,748,142 (292.9 GB)
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  Error
  SD termination status:  Error
  Termination:*** Backup Error ***


stat stor
Automatically selected Storage: pv132t
Connecting to Storage daemon pv132t at parthenon:9103

parthenon-sd Version: 1.38.9 (02 May 2006) i686-pc-linux-gnu redhat (Yarrow)
Daemon started 08-Sep-06 17:58, 51 Jobs run since started.

Running Jobs:
Writing: Full Backup job braid2-full JobId=1039 Volume=13
pool=Full device=Drive-1 (/dev/tape1)
Files=3,077,247 Bytes=216,468,267,436 Bytes/sec=4,547,939
FDReadSeqNo=30,080,818 in_msg=21084980 out_msg=5 fd=14
Writing: Full Backup job athena1-inc JobId=1045 Volume=39
pool=Incremental device=Drive-0 (/dev/tape0)
Files=798,055 Bytes=170,634,464,916 Bytes/sec=3,662,705
FDReadSeqNo=9,287,136 in_msg=7011280 out_msg=5 fd=28

-


I can supply copies of my config files if needed. Please let me know if you've 
got any suggestions.

Thanks,

Mark


Mark Bergman  [EMAIL PROTECTED]
System Administrator
Section of Biomedical Image Analysis 215-662-7310
Department of Radiology,   University of Pennsylvania

http://pgpkeys.pca.dfn.de:11371/pks/lookup?search=mark.bergman%40.uphs.upenn.edu



The information contained in this e-mail message is intended only for the 
personal and confidential use of the recipient(s) named above. If the reader of 
this message is not the intended recipient or an agent responsible for 
delivering it to the intended recipient, you are hereby notified that you have 
received this document in error and that any review, dissemination, 
distribution, or copying of this message is strictly prohibited. If you have 
received this communication in error, please notify us immediately by e-mail, 
and delete the original message.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] fatal error--Bacula wants tape to be in the other drive in autochanger

2006-09-12 Thread Michael Brennen
[EMAIL PROTECTED] wrote:
 I'm running into a frequent situation where Bacula wants a given volume to be 
 in one drive of our autochanger, and it doesn't seem to find the volume when 
 it's already in the other drive.

 This is with Bacula 1.38.9, under Linux (FC1), with a 23-slot, 2 drive 
 autochanger and mysql5.
   
I have seen the same thing and posted to that effect last week.  I am 
running CVS, and last week's post would have been about 1.39.20.

   -- Michael

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] fatal error--Bacula wants tape to be in the other drive in autochanger

2006-09-12 Thread Kern Sibbald
On Tuesday 12 September 2006 18:21, [EMAIL PROTECTED] wrote:
 I'm running into a frequent situation where Bacula wants a given volume to 
be 
 in one drive of our autochanger, and it doesn't seem to find the volume when 
 it's already in the other drive.
 
 This is with Bacula 1.38.9, under Linux (FC1), with a 23-slot, 2 drive 
 autochanger and mysql5.
 
 Most backups work fine, but this is a persistent problem.

Two drive autochangers did not work correctly until Bacula version 1.38.11,
and there have been no such problems posted against 1.38.11.

 
 
 
 Here's an example...there are two tapes (volumes 13 and 39) loaded and in 
use. 
 
 Volume 39 is in the pool Incremental, and is in drive 0.
 Volume 13 is in the pool Full, and is in drive 1.
 
 I manually begin a new backup (type Full). Bacula correctly wants to use 
 volume 13, however it insists on using that volume in drive 0 (which is in 
use 
 by other jobs). This results in a fatal error.
 
 -  bconsole session output 
---
 
 Run Backup job
 JobName:  athens-full
 FileSet:  Full Set
 Level:Full
 Client:   athens-fd
 Storage:  pv132t
 Pool: Full
 When: 2006-09-12 12:11:26
 Priority: 10
 OK to run? (yes/mod/no): yes
 Job started. JobId=1050
 12-Sep 12:11 parthenon-dir: Start Backup JobId 1050, 
Job=athens-full.2006-09-12_12.11.28
 12-Sep 12:11 parthenon-sd: athens-full.2006-09-12_12.11.28 Fatal error: 
acquire.c:263 Wanted Volume 13, but device Drive-0 (/dev/tape0) is 
busy writing on 39 .
 12-Sep 12:02 athens-fd: athens-full.2006-09-12_12.11.28 Fatal error: 
job.c:1617 Bad response to Append Data command. Wanted 3000 OK data
 , got 3903 Error append data
 
 12-Sep 12:11 parthenon-dir: athens-full.2006-09-12_12.11.28 Error: Bacula 
1.38.9 (02May06): 12-Sep-2006 12:11:30
   JobId:  1050
   Job:athens-full.2006-09-12_12.11.28
   Backup Level:   Full
   Client: athens-fd mips-sgi-irix6.5,irix,6.5
   FileSet:Full Set 2006-07-27 14:15:10
   Pool:   Full
   Storage:pv132t
   Scheduled time: 12-Sep-2006 12:11:26
   Start time: 12-Sep-2006 12:11:30
   End time:   12-Sep-2006 12:11:30
   Elapsed time:   0 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
   Volume name(s): 
   Volume Session Id:  53
   Volume Session Time:1157752704
   Last Volume Bytes:  292,937,748,142 (292.9 GB)
   Non-fatal FD errors:0
   SD Errors:  0
   FD termination status:  Error
   SD termination status:  Error
   Termination:*** Backup Error ***
 
 
 stat stor
 Automatically selected Storage: pv132t
 Connecting to Storage daemon pv132t at parthenon:9103
 
 parthenon-sd Version: 1.38.9 (02 May 2006) i686-pc-linux-gnu redhat (Yarrow)
 Daemon started 08-Sep-06 17:58, 51 Jobs run since started.
 
 Running Jobs:
 Writing: Full Backup job braid2-full JobId=1039 Volume=13
 pool=Full device=Drive-1 (/dev/tape1)
 Files=3,077,247 Bytes=216,468,267,436 Bytes/sec=4,547,939
 FDReadSeqNo=30,080,818 in_msg=21084980 out_msg=5 fd=14
 Writing: Full Backup job athena1-inc JobId=1045 Volume=39
 pool=Incremental device=Drive-0 (/dev/tape0)
 Files=798,055 Bytes=170,634,464,916 Bytes/sec=3,662,705
 FDReadSeqNo=9,287,136 in_msg=7011280 out_msg=5 fd=28
 
 
-
 
 
 I can supply copies of my config files if needed. Please let me know if 
you've  got any suggestions.

Upgrade to 1.38.11, and if the problems still persist then it might be a good 
idea to look at it more closely (i.e. your conf files, ...)

 
 Thanks,
 
 Mark
 
 
 Mark Bergman  [EMAIL PROTECTED]
 System Administrator
 Section of Biomedical Image Analysis 215-662-7310
 Department of Radiology,   University of Pennsylvania
 
 
http://pgpkeys.pca.dfn.de:11371/pks/lookup?search=mark.bergman%40.uphs.upenn.edu
 
 
 
 The information contained in this e-mail message is intended only for the 
personal and confidential use of the recipient(s) named above. If the reader 
of this message is not the intended recipient or an agent responsible for 
delivering it to the intended recipient, you are hereby notified that you 
have received this document in error and that any review, dissemination, 
distribution, or copying of this message is strictly prohibited. If you have 
received this communication in error, please notify us immediately by e-mail, 
and delete the original message.
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly 

Re: [Bacula-users] Rescue cd create/make problem

2006-09-12 Thread Don MacArthur
Thank you Kern, Arno, and Erich for your responses.

Please forgive my impatience.  I need to be mindful that not everyone in
the world lives between the Eastern and Pacific (US) timezones.  I
thought it was an unusual question that not many had experienced, and
certainly not on the short list of the key players.  I was obviously
wrong.  

I believe this is an exceptional application, and appreciate all that
has been invested by some many personally and technically.  I'm
definitely an open source advocate.  Projects and list responses like
yours are the reason.  

I was certain I was just technically ignorant.  I'll take all the input
and come up with a solution for my environment.  

Again, thank you all for your time, responses, and the substance.  

Don.

On Tue, 2006-09-12 at 10:59 +0200, Kern Sibbald wrote:
 Hello,
 
 On Tuesday 12 September 2006 01:39, Don MacArthur wrote:
  Sorry to be so chatty-
  
  Failure: when I eject the bacula boot cd, restart the server, after
  the POST when (I'm guessing) it tries to read from the drives I'm
  presented with a blank screen and a blinking underscore cursor in the
  upper left corner of the display.  
  
  Going to plan b; load the OS and bacula from scratch, and restore from
  there.  
  
  I've seen no response to my posts, so don't be shy.  Or, if you know of
  someone who might have some ideas please ask them to review the posts.  
 
 This is just to let you know that I *have* been following all your posts as 
 well as those of everyone else, and in my case, it is not that I am shy, but 
 that at the moment I am totally overloaded trying to finish off the current 
 Bacula release.
 
 Concerning the rescue disk, here are a number of points:
 1. Most if not all of the discussion on what I have been doing (a lot) has 
 been on the bacula-devel list.
 2. I am totally convinced that Bacula needs a good rescue CD on the ideas of 
 the current rescue CD, but the current implementation is essentially dead 
 (see below).
 2. In my opinion, the old rescue code that you are using worked only 
 moderately well on Fedora systems up to and including FC4.  In FC5 and in 
 most other Linux distros, it is simply broken.  It was at this point that I 
 realized that writing a general rescue CD for Bacula is a full time project 
 for one person, and is not my preferred activity (I prefer adding features to 
 Bacula and improving the code). 
 3. The problem is that booting an OS and getting all the RAID/LVM, and 20 
 other two and three letter thingies working is first difficult (which I can 
 handle), but above all significantly different on each distro (which I cannot 
 handle). 
 4. I've come up with a short term strategy, which I have implemented (almost) 
 and a longer term strategy (actually two different strategies).
 
 Short term strategy (95% implemented):
 1. Used mkcdrec (3rd party open source package) as the basis of the booting 
 and hook into its code to get the Bacula stuff on the CD.  The advantage is 
 that mkcdrec shares most of my ideas (i.e. build a rescue cd using *your* 
 kernel and data from *your* system).  The author of mkcdrec has been very 
 kind and has integrated all the changes I have sent him that make it easy for 
 Bacula to insert its own stuff (bacula-fd, bacula-fd.conf, ...) onto the CD.  
 This code is as I say 95% complete (it boots and the Bacula stuff is there) 
 -- there are still lots of little details to clean up, and NO documentation 
 as of the current time.  The big advantage is that it is likely to boot on 
 many more systems than just the ones I have.  
 
 If anyone is willing to test this code (I think you are likely to get much 
 farther than with the old 1.8.x rescue), please let me know, and I'll create 
 a first cut documentation and tell you how to get the code.  It would be a 
 *big* help to have testers, but I have to specify that my priority is getting 
 Bacula 1.39.x stabilized and released ...
 
 Longer term stragegy (designed in my head 5-10% implemented):
 1. Longer term, mkcdrec is going away because the author has a new much more 
 flexible project (released to Source Forge) called rear (Relax and Recover).
 
 2. I haven't yet had the time to look at rear in detail to see if it is far 
 enough along to be used by Bacula -- the authors kindly let me provide them 
 with input at the design phase, so they are aware of what Bacula needs.
 So this is a possibility.
 
 3. It seems to me that there are two possibly better solutions to the problem:
   a. Most distros now have rather serious rescue modes of booting their
   installation disks (by serious, I mean they do a very good job of 
   getting any configuration booted, and they have a lot of tools).  SuSE 
   even has tools that will check and repare a whole filesystem (beyond
   just fsck).  The problem is that these rescue disks do not have Bacula.
   b. Most distros have good scripts to create a initrd and an iso boot image.
 
 4. I believe that 

Re: [Bacula-users] fatal error--Bacula wants tape to be in the other drive in autochanger

2006-09-12 Thread Kern Sibbald
On Tuesday 12 September 2006 18:36, Michael Brennen wrote:
 [EMAIL PROTECTED] wrote:
  I'm running into a frequent situation where Bacula wants a given volume to 
be 
  in one drive of our autochanger, and it doesn't seem to find the volume 
when 
  it's already in the other drive.
 
  This is with Bacula 1.38.9, under Linux (FC1), with a 23-slot, 2 drive 
  autochanger and mysql5.

 I have seen the same thing and posted to that effect last week.  I am 
 running CVS, and last week's post would have been about 1.39.20.

Your problem with 1.39.20 was very likely a different problem, and in fact 
probably a bug introduced during Autochanger optimization in 1.39.20, which 
should now be corrected in 1.39.22.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Purge Oldest Volume fails on 1.36?

2006-09-12 Thread Jo Rhett
Last night I updated a Pool definition to enable Purge Oldest  
Volume.  This is the only change made to the server in a week or  
maybe two.

This morning the first backup (which should have purged a volume)  
failed, with

12-Sep 11:05 backup0-dir: Start Backup JobId 268,  
Job=client.domain.com.2006-09 12_11.05.00
12-Sep 11:05 backup0-sd: Volume clients-0006 previously written,  
moving to end of data.
12-Sep 11:05 backup0-sd: End of Volume clients-0006 at 0:0 on  
device Dev_clients (/bacula/clients). Write of 64512 bytes got -1.
12-Sep 11:05 backup0-dir: client.domain.com.2006-09-12_11.05.00 Fatal  
error: Volume Files at 1 being set to 0 for Volume clients-0006.  
This is incorrect.
12-Sep 11:05 backup0-sd: client.domain.com.2006-09-12_11.05.00 Fatal  
error: Error getting Volume info: 1992 Update Media error.  
VolFiles=0, CatFiles=1
12-Sep 11:05 backup0-sd: client.domain.com.2006-09-12_11.05.00 Fatal  
error: append.c:207 Fatal append error on device Dev_clients (/ 
bacula/clients): ERR=
12-Sep 11:05 client.domain.com-fd: client.domain.com. 
2006-09-12_11.05.00 Fatal error: backup.c:500 Network send error to  
SD. ERR=Broken pipe

The Pool definition is as follows.  The only change to this Pool or  
the client configuration for over a month is the Purge Oldest Volume...

Pool {
 Name = clients_Pool
 Pool Type = Backup
 Recycle = yes
 Recycle Oldest Volume = yes
 Purge Oldest Volume = yes
 AutoPrune = yes
 Volume Retention = 30 days
 Volume Use Duration = 24h
 Accept Any Volume = yes
 LabelFormat = clients-
 Maximum Volumes = 30
}

-- 
Jo Rhett
senior geek
Silicon Valley Colocation


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Purge Oldest Volume fails on 1.36?

2006-09-12 Thread Ryan Novosielski
My opinion is that the update is a coincidence. I have had this happen
from time to time and ordinarily it was a tape failure (either on this
or the last job -- the initial read/set of the number of volume files is
getting messed up), or a bad exit from the previous job.

That said, I hear Purge Oldest Volume is a somewhat unpleasant directive
to use anyway.

Jo Rhett wrote:
 Last night I updated a Pool definition to enable Purge Oldest  
 Volume.  This is the only change made to the server in a week or  
 maybe two.
 
 This morning the first backup (which should have purged a volume)  
 failed, with
 
 12-Sep 11:05 backup0-dir: Start Backup JobId 268,  
 Job=client.domain.com.2006-09 12_11.05.00
 12-Sep 11:05 backup0-sd: Volume clients-0006 previously written,  
 moving to end of data.
 12-Sep 11:05 backup0-sd: End of Volume clients-0006 at 0:0 on  
 device Dev_clients (/bacula/clients). Write of 64512 bytes got -1.
 12-Sep 11:05 backup0-dir: client.domain.com.2006-09-12_11.05.00 Fatal  
 error: Volume Files at 1 being set to 0 for Volume clients-0006.  
 This is incorrect.
 12-Sep 11:05 backup0-sd: client.domain.com.2006-09-12_11.05.00 Fatal  
 error: Error getting Volume info: 1992 Update Media error.  
 VolFiles=0, CatFiles=1
 12-Sep 11:05 backup0-sd: client.domain.com.2006-09-12_11.05.00 Fatal  
 error: append.c:207 Fatal append error on device Dev_clients (/ 
 bacula/clients): ERR=
 12-Sep 11:05 client.domain.com-fd: client.domain.com. 
 2006-09-12_11.05.00 Fatal error: backup.c:500 Network send error to  
 SD. ERR=Broken pipe
 
 The Pool definition is as follows.  The only change to this Pool or  
 the client configuration for over a month is the Purge Oldest Volume...
 
 Pool {
  Name = clients_Pool
  Pool Type = Backup
  Recycle = yes
  Recycle Oldest Volume = yes
  Purge Oldest Volume = yes
  AutoPrune = yes
  Volume Retention = 30 days
  Volume Use Duration = 24h
  Accept Any Volume = yes
  LabelFormat = clients-
  Maximum Volumes = 30
 }
 

-- 
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] PYTHON VARIABLES

2006-09-12 Thread Kern Sibbald
On Thursday 31 August 2006 23:21, Santiago Alberch wrote:
 I´m editing DirStartUp.py. 
 I want to write a script that can check if the
 termination job was:
 
 Termination: Backup OK -- with warnings

This occurs when the JobStatus == T and
(JobErrors or SDJobErrors are non-zero).

 
 I capture this:
  if job.JobStatus == e:
 job.JobReport=Non-fatal Error\n
  elif job.JobStatus == E:
 job.JobReport=Termited with errors\n
  elif job.JobStatus == T:
 job.JobReport=Completed successfully\n
 
 But then a Job finish with warnings the job.JobStatus
 is T, but didn´t finish with e ??
 
 I want to know how to capture when the file deamon
 can´t get a file that was removed.

This is very likely when JobErrors != 0.  However, I did not look at the code 
for this.  However, it could be signalled by FDJobStatus.

Unfortunately, neither JobErrors, SDJobErrors, FDJobStatus, nor SDJobStatus 
are currently available, but are now in version 1.39.23 source code and will 
be committed to the CVS tonight.

 
 Thank you very much!!
 
 
 
   
   
   
 __
 Preguntá. Respondé. Descubrí.
 Todo lo que querías saber, y lo que ni imaginabas,
 está en Yahoo! Respuestas (Beta).
 ¡Probalo ya! 
 http://www.yahoo.com.ar/respuestas
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job 
easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem

2006-09-12 Thread pedro moreno
On 9/9/06, Alexander Nolte [EMAIL PROTECTED] wrote:
Hello everybody!I just set up a Bacula System that will backup our 4 servers + some clients
but everytime I try to restore some files it just says:09-Sep 15:35 server-dir: Start Restore Jobrestore-server2-usb.2006-09-09_15.35.1309-Sep 15:35 StorageDaemon: Ready to read from volume server-usb on device
/mnt/backupAnd thats it. No data is transfered and it is like the job never existed.Some more information on the system I set up. I have a seperate pool for theworstations and the servers. Furthermore there are 2 storages where data is
written to: One storage holds the data from a daily incremental backup andthe other holds the data from a weekly full backup.I hope someone can help me. Thanks in advance.Alexander NolteP.S
.: The Bacula version is 1.36.3-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Bacula-users mailing listBacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users Hi Alex, i see that you are sending your backups to some usb device is correct..? If this is true, have you try using your hard drive...?
 Can you show us your bacula-dir and bacula-sd files...? See you soon.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] wrong start time stored for Volume Use Duration?

2006-09-12 Thread Jo Rhett

 On Monday 11 September 2006 20:21, Jo Rhett wrote:
 ANALYSIS: So.. the volume's usage period is being determined not by
 when it was first written to, but instead by the start time of the
 first job that wrote to it.

 Is this behavior known?  Is it fixed in current?  Obviously it's not
 a crucial flaw, but if its decided not to fix it then it should be
 documented.

On Sep 12, 2006, at 3:13 AM, Kern Sibbald wrote:
 All pruning is based on the termination time of the Job concerned  
 not the
 start time of the job.

 The manual was not very explicit on this, so I have made it so.   
 Note, in a
 few exceptional cases (Bacula crashes between the time the job  
 starts and the
 job terminates), the End time of the job will be set to the start  
 time of
 the Job.  Any job that is correctly terminated by Bacula (normal,  
 warning,
 error, fail, ...) will have the End time set correctly.

I hate to argue, but here's the facts in this case:

1. Started at 11:05
2. Didn't get resources until 23:09
3. Finished OK

And yet, the volume stops being usable at exactly 11:05 the next  
morning.

10-Sep 11:05 backup0-dir: Start Backup JobId 258,  
Job=hostname.client.com.2006-09-10_11.05.00
10-Sep 11:05 backup0-dir: Max configured use duration exceeded.  
Marking Volume clients-0003 as Used.
10-Sep 11:05 backup0-dir: Pruning oldest volume clients-0004
10-Sep 11:05 backup0-dir: Pruning oldest volume clients-0004
10-Sep 11:05 backup0-dir: Pruning oldest volume clients-0004
10-Sep 11:05 backup0-sd: Job hostname.client.com.2006-09-10_11.05.00  
waiting. Cannot find any appendable volumes.
Please use the label  command to create a new Volume for:
 Storage:  Dev_clients (/bacula/clients)
 Media type:   File_clients
 Pool: clients_Pool
10-Sep 12:05 backup0-dir: Pruning oldest volume clients-0004
10-Sep 12:05 backup0-sd: Job hostname.client.com.2006-09-10_11.05.00  
waiting. Cannot find any appendable volumes.
Please use the label  command to create a new Volume for:
 Storage:  Dev_clients (/bacula/clients)
 Media type:   File_clients
 Pool: clients_Pool
10-Sep 14:05 backup0-dir: Pruning oldest volume clients-0004
10-Sep 14:05 backup0-sd: Job hostname.client.com.2006-09-10_11.05.00  
waiting. Cannot find any appendable volumes.
Please use the label  command to create a new Volume for:
 Storage:  Dev_clients (/bacula/clients)
 Media type:   File_clients
 Pool: clients_Pool
10-Sep 18:05 backup0-dir: Pruning oldest volume clients-0004
10-Sep 18:05 backup0-sd: Job hostname.client.com.2006-09-10_11.05.00  
waiting. Cannot find any appendable volumes.
Please use the label  command to create a new Volume for:
 Storage:  Dev_clients (/bacula/clients)
 Media type:   File_clients
 Pool: clients_Pool
10-Sep 22:08 backup0-dir: Recycled volume clients-0004
10-Sep 22:08 backup0-sd: Recycled volume clients-0004 on device  
Dev_clients (/bacula/clients), all previous data lost.
10-Sep 23:09 backup0-dir: Bacula 1.38.5 (18Jan06): 10-Sep-2006 23:09:58
   JobId:  258
   Job:hostname.client.com.2006-09-10_11.05.00
   Backup Level:   Incremental, since=2006-09-09 11:05:01
   Client: hostname.client.com-fd i386-portbld- 
freebsd6.1,freebsd,6.1-STABLE
   FileSet:hostname.client.com-fileset 2006-07-09  
09:03:40
   Pool:   clients_Pool
   Storage:Disk_clients
   Scheduled time: 10-Sep-2006 11:05:00
   Start time: 10-Sep-2006 11:05:01
   End time:   10-Sep-2006 23:09:58
   Priority:   10
   FD Files Written:   699,861
   SD Files Written:   699,861
   FD Bytes Written:   5,540,243,949
   SD Bytes Written:   5,636,912,236
   Rate:   127.4 KB/s
   Software Compression:   None
   Volume name(s): clients-0004
   Volume Session Id:  240
   Volume Session Time:1156008818
   Last Volume Bytes:  5,665,530,747
   Non-fatal FD errors:0
   SD Errors:  0
   FD termination status:  OK
   SD termination status:  OK
   Termination:Backup OK

10-Sep 23:09 backup0-dir: Begin pruning Jobs.
10-Sep 23:09 backup0-dir: No Jobs found to prune.
10-Sep 23:09 backup0-dir: Begin pruning Files


-- 
Jo Rhett
senior geek
Silicon Valley Colocation


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Purge Oldest Volume fails on 1.36?

2006-09-12 Thread Jo Rhett
On Sep 12, 2006, at 11:16 AM, Ryan Novosielski wrote:
 My opinion is that the update is a coincidence. I have had this happen
 from time to time and ordinarily it was a tape failure (either on this

It's a disk system, no tape involved.   But thanks for the note.   
We'll see what happens tomorrow at 11am :-)

-- 
Jo Rhett
senior geek
Silicon Valley Colocation


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can't get DVD writing to work

2006-09-12 Thread Scott Simpson
Forgive my stupidity. It turns out that after sudo'ing that it creates some 
environment variables that are passed to subprocesses. I removed these SUDO 
environment variables and things worked fine. Sorry.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Rescue cd create/make problem

2006-09-12 Thread MacArthur, Don
Title: RE: [Bacula-users] Rescue cd create/make problem






Hi to all!

I took the advice about loading a minimal OS config and then restoring from backup. I have another issue that may or may not be related to the restore...

I used restore all from the console, with files being replaced always and the where set to /. However, after entering the / for the where parm the field appeared blank. No matter, or so I thought. Near the end of the restore process as it is trying to restore the sys/dev folder (some of which can't be restored because it's in use) the server ceases to communicate. No ping, not bacula client response...

I rebooted the server and after loading vmlinuz... I get an error saying that it can't find the root (/) folder, and then the kernel panics.

I'm thinking that there are some folders that I should know to exclude from the restore, but don't have the experience to know about. I'm trying to follow the docs (not a complaint, just want you to know I'm not lazy), but I don't see anything different from what I'm doing.

Links to mail list threads and/or documentation are welcome - I'm willing to do my homework, I just need a nudge or a shove in the right direction - as are outright answers.

Again, I appreciate the features and quality of bacula, you guys are great.

Don.

PS. I'm willing to do some beta testing as Kern requested, but I'm booked through mid-October. If it's still needed at that time I'll be happy to help.

-Original Message-
From: [EMAIL PROTECTED] on behalf of Arno Lehmann
Sent: Tue 9/12/2006 12:54 AM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Rescue cd create/make problem

Hi,

On 9/12/2006 1:39 AM, Don MacArthur wrote:
 Sorry to be so chatty-

 Failure: when I eject the bacula boot cd, restart the server, after
 the POST when (I'm guessing) it tries to read from the drives I'm
 presented with a blank screen and a blinking underscore cursor in the
 upper left corner of the display.

Hmm. Which rscue CD? The one from the Bacula project? That, AFAIK, was
always rather limited.

IIRC, Kern started integrating Bacula into something else which name I
forgot (of course...) but a search in the list archives and possibly
through the ReleaseNotes might find something... ah, not what I was
thinking of, but look here: http://rescuecd.pld-linux.org/

 Going to plan b; load the OS and bacula from scratch, and restore from
 there.

That should work - it's more difficult with windows, but I understand
you've got your windows recovery routine proven already. (BartPE?)

 I've seen no response to my posts, so don't be shy. Or, if you know of
 someone who might have some ideas please ask them to review the posts.

Ideas... you're welcome. By the way, for windows I use BartPE for rescue
purposes, for linux I prefer doing a minimal system install from the
distribution media (which allows me to change the disk /filesystem
layout using a GUI, which is needed from time to time, and once the
machine is down you can as well do some maintenance work :-) , add
bacula-fd + configuration to it and recover from there.

A completely static FD seems to be somewhat difficult, so in case of
problems I even install gcc/g++, the necessary development packages, and
compile Bacula - I found this to be more flexible than fighting with a
pre-compiled binary and its requirements. Usually, though, the
pre-compiled FD works without problems.

I never actually tried to prepare a universal linux Bacula rescue CD
because I found it much too complicated handling all necessary
ATA/SATA/Chipset modules, filesystem types, LVM1 / LVM2 issues, network
setups (rather the simplest part, though) combinations I encounter.

Arno

 Again, TIA.

 On Mon, 2006-09-11 at 15:22 -0600, Don MacArthur wrote:

I just got my second failure to recover. This isn't a production
server, but I need to know this'll work when I need it.

If you have done a bare-metal recovery using the rescue disk, I would
appreciate feedback on how it went, and what challenges were
experienced.

Thanks.

On Mon, 2006-09-11 at 09:52 -0600, Don MacArthur wrote:

Also, I get the following errors during the make all...

~~
Begin making LVM formatting script(s) ...
Done building scripts.
./make_rescue_disk
if test ! x/usr/sbin = x ; then \
 ./copy_static_bacula /usr/sbin/static-bacula-fd /usr/sbin/bacula-
fd.conf ; \
elif test ! -f ../rpm_release ; then \
 ./make_static_bacula /root/bacula-1.38.11 ; \
fi
cp: cannot create regular file `bin/bacula-fd': No such file or
directory
Warning!!! /usr/sbin/static-bacula-fd not found. !!!
cp: cannot stat `/usr/sbin/bacula-fd.conf': No such file or directory
Warning!!! /usr/sbin/bacula-fd.conf not found. !!!
./copy_to_roottree


Again, TIA.

On Mon, 2006-09-11 at 08:27 -0600, Don MacArthur wrote:

First, thanks to so many who have contributed to creating a robust and
elegant backup solution. It is the only one I could find that has
enterprise-class features, 

Re: [Bacula-users] Autoloaders

2006-09-12 Thread Janco van der Merwe
According to the Hardware browser the PV-124T is located on /dev/sg3 but there 
is no sg3 under /dev..well there is no sg and when I try to access 
/dev/sg3 it just says no such device any ideas?

When I ls /proc/scsi I get the following:

aic79xx/ device_info  scsi

Janco v.d Merwe
Network Administrator
Dunns Stores (PTY) Ltd
Switchboard: 011 541 3000
Direct: 011 541 3007
Fax: 086 632 1708

-Original Message-
From: Jaime Ventura [mailto:[EMAIL PROTECTED] 
Sent: 12 September, 2006 16:58
To: Janco van der Merwe;Bacula Users
Subject: Re: [Bacula-users] Autoloaders

weird...:P
do you have graphic interface?
run the harware browser (hwbroswer on the command line)
take a look on a screenshot I send as attachment.
You should see you tape loader under the system devices. As you ca 
seen in the picture mine is on /dev/sg5.
If doesn't work or if you don't have access to the harware browser let 
me see what you have on /proc/scsi (ls /proc/scsi )




 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Janco van der Merwe wrote:
 When I run the script the following error occurs:

 /dev/sg*
 cannot open SCSI device '/dev/sg*' - No such file or directory
 --

 In the /proc/scsi/scsi :

 Host: scsi0 Channel: 00 Id: 08 Lun: 00
   Vendor: DP   Model: BACKPLANERev: 1.00
   Type:   EnclosureANSI SCSI revision: 05
 Host: scsi0 Channel: 02 Id: 00 Lun: 00
   Vendor: DELL Model: PERC 5/i Rev: 1.00
   Type:   Direct-AccessANSI SCSI revision: 05
 Host: scsi1 Channel: 00 Id: 05 Lun: 00
   Vendor: IBM  Model: ULTRIUM-TD3  Rev: 5BG2
   Type:   Sequential-AccessANSI SCSI revision: 03
 Host: scsi1 Channel: 00 Id: 05 Lun: 01
   Vendor: DELL Model: PV-124T  Rev: 0031
   Type:   Medium Changer   ANSI SCSI revision: 02

 The board is a Adaptec 39160

 Janco v.d Merwe
 Network Administrator
 Dunns Stores (PTY) Ltd
 Switchboard: 011 541 3000
 Direct: 011 541 3007
 Fax: 086 632 1708

 -Original Message-
 From: Jaime Ventura [mailto:[EMAIL PROTECTED] 
 Sent: 12 September, 2006 15:26
 To: Janco van der Merwe;Bacula Users
 Subject: Re: [Bacula-users] Autoloaders

 First you need to be sure that you have the PV-124T correctly connected.
 I bought my PV-124T with a adaptec board scsi with it.
 First be sure that the board is recognized by linux.

 I didn't understand you message quite well. Does your cat 
 /proc/scsi/scsi is something like this?
 Attached devices:
 Host: scsi0 Channel: 00 Id: 06 Lun: 00
   Vendor: PE/PVModel: 1x2 SCSI BP  Rev: 1.0
   Type:   ProcessorANSI SCSI revision: 02
 Host: scsi0 Channel: 01 Id: 06 Lun: 00
   Vendor: PE/PVModel: 1x4 SCSI BP  Rev: 1.0
   Type:   ProcessorANSI SCSI revision: 02
 Host: scsi0 Channel: 02 Id: 00 Lun: 00
   Vendor: MegaRAID Model: LD 0 RAID1   69G Rev: 521S
   Type:   Direct-AccessANSI SCSI revision: 02
 Host: scsi0 Channel: 02 Id: 01 Lun: 00
   Vendor: MegaRAID Model: LD 1 RAID1  286G Rev: 521S
   Type:   Direct-AccessANSI SCSI revision: 02
 Host: scsi2 Channel: 00 Id: 15 Lun: 00
   Vendor: IBM  Model: ULTRIUM-TD3  Rev: 5BG2
   Type:   Sequential-AccessANSI SCSI revision: 03
 Host: scsi2 Channel: 00 Id: 15 Lun: 01
   Vendor: DELL Model: PV-124T  Rev: 0031
   Type:   Medium Changer   ANSI SCSI revision: 02


 Notice the 2 last scsi hosts.
 If you can get this, then your loader is correctly recognized. And If 
 so, you can run the code i sent you on my previous message, in a bash 
 console.

 If not, then  probably the tapeloader isn't  correctly recognized.
 What scsi board is your tapeloader connected to?

 Tell me what you got.





  


 Jaime Ventura
 [Infra-estruturas e Comunicações]

 Rua Dr. António Bernardino de Almeida, 431
 4200 - 072 Porto
 Telef: +351 22 834 05 00 (04) - ext. 1641
 Fax: +351 22 832 11 59

 e-mail:   [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 url:  www.isep.ipp.pt http://www.isep.ipp.pt 

   





 Janco van der Merwe wrote:
   
 If I cat /proc/scsi/scsi the dell has an entry for the PV-124T but there is 
 no /dev/sg*

 Janco v.d Merwe
 Network Administrator
 Dunns Stores (PTY) Ltd
 Switchboard: 011 541 3000
 Direct: 011 541 3007
 Fax: 086 632 1708

 -Original Message-
 From: Jaime Ventura [mailto:[EMAIL PROTECTED] 
 Sent: 12 September, 2006 14:36
 To: Janco van der Merwe
 Cc: Bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] Autoloaders

 Hi, Janco
 Try this:

 #!/bin/sh
 (for i in /dev/sg*; do 
echo $i; 
mtx -f $i inquiry 21;
echo --;