[Bacula-users] Problem with bscan: bscan JobId 0: Invalid slot=0

2011-11-03 Thread Mauro Colorio
I'm trying to bscan an old volume:

bscan  -n  bacula -c /etc/bacula/bacula-sd.conf -v -V MNT002L4  -s -m /dev/nst0

03-nov 09:47 bscan JobId 0: Invalid slot=0 defined in catalog for
Volume MNT002L4 on HP-ULTRIUM (/dev/nst0). Manual load may be
required.
Mount Volume MNT002L4 on device HP-ULTRIUM (/dev/nst0) and press
return when ready:

then on bconsole I do:
update slots
Automatically selected Storage: HP1-8G2
Connecting to Storage daemon HP1-8G2 at 192.168.64.244:9103 ...
3306 Issuing autochanger slots command.
Device HP-AUTOLDR has 8 slots.
Connecting to Storage daemon HP1-8G2 at 192.168.64.244:9103 ...
3306 Issuing autochanger list command.
Catalog record for Volume MNT002L4 updated to reference slot 1.
Catalog record for Volume WEK001L4 updated to reference slot 2.
Catalog record for Volume WEK002L4 updated to reference slot 3.
Catalog record for Volume DAY001L4 updated to reference slot 4.
Catalog record for Volume DAY002L4 updated to reference slot 5.
Catalog record for Volume DAY003L4 updated to reference slot 6.
Catalog record for Volume DAY004L4 updated to reference slot 7.
Catalog record for Volume DAY005L4 updated to reference slot 8.

then

mount storage=HP1-8G2 slot=1

I hit enter on the bscan command, but still:
03-nov 10:09 bscan JobId 0: Invalid slot=0 defined in catalog for
Volume MNT002L4 on HP-ULTRIUM (/dev/nst0). Manual load may be
required.


any hint?

I found this
http://sourceforge.net/mailarchive/forum.php?thread_name=87ae555fbf21d326e77ff343fee11464%40bugs.bacula.orgforum_name=bacula-bugs

it's my case?
Best Regards

Mauro

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] recycled volume will not mount

2011-11-03 Thread Ken Barclay
Could it be that the volume is not in the AutoChanger?

 

InChanger = 0

 

BR/Ken

 

From: Christopher Geegan [mailto:cgee...@infosecur.biz] 
Sent: Thursday, 3 November 2011 10:38 AM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] recycled volume will not mount

 

I am receiving a message from Bacula Please mount Volume michael0008 or 
label a new one for  The volume is currently in the Recycle status. If I 
understand correctly, this means the volume has been recycled and is ready to 
be reused. If so why can't bacula auto mount it? This is likely a simple 
problem but the solution is escaping me.

 

list volumes

+-+-+---+-++--+--+-+--+---+---+-+
| MediaId | VolumeName  | VolStatus | Enabled | VolBytes   | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+-+-+---+-++--+--+-+--+---+---+-+
|   8 | michael0008 | Recycle   |   1 |  1 |0 |
5,184,000 |   1 |0 | 0 | File  | 2011-06-16 00:07:13 |

 

OS: Debian Squeeze

Bacula version: 5.0.2

 

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] recycled volume will not mount

2011-11-03 Thread Martin Simmons
 On Wed, 02 Nov 2011 21:37:58 -0600 (CST), Christopher Geegan said:
 
 I am receiving a message from Bacula Please mount Volume michael0008 or
 label a new one for  The volume is currently in the Recycle status. If
 I understand correctly, this means the volume has been recycled and is ready
 to be reused. If so why can't bacula auto mount it? This is likely a simple
 problem but the solution is escaping me. 

You could try the bconsole commands unmount and then mount to see if that
fixes it.

__Martin

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with bscan: bscan JobId 0: Invalid slot=0

2011-11-03 Thread Mauro Colorio
I solved in this way..

run bscan with the params, then it asks me for the manual mount of the
volume, I stopped all bacula services,and then
I run:

/etc/bacula/scripts/mtx-changer /dev/sg3 load 1 /dev/nst0 0

where 1 is the number of the slot where the tape is located,
I dunno why the mount command in bacula wasn't enough, i suppose couse
mount command update something in the db?
btw now bscan is running, hope this helps someone else :)


ciao
Mauro

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] File retention, Job Retention and Volume retention

2011-11-03 Thread Martin Simmons
 On Wed, 2 Nov 2011 18:40:27 +0100, Mauro Colorio said:
 
 Suppose I've this bacula-dir.conf snapshot:
 
 
 Client {
   Name = foo-fd
   Catalog = MyCatalog
   File Retention = 12 months
   Job Retention = 12 months
   AutoPrune = yes # Prune expired Jobs/Files
 }
 
 Pool {
   Name = Daily
   Pool Type = Backup
   Recycle = yes
   AutoPrune = yes
   Volume Retention = 5 days
   Maximum Volume Bytes = 800G
   Volume Use Duration = 23h
   Maximum Volumes = 5
 }
 
 Pool {
   Name = Monthly
   Pool Type = Backup
   Recycle = yes
   AutoPrune = yes
   Volume Retention = 1 year
   Maximum Volume Bytes = 800G
   Volume Use Duration = 23h
   Maximum Volumes = 1
 }
 
 
 It's correct to say that:
 the jobs done in the pool daily will stay in the catalog for 5 days,
 then purged. ( Even if in the fd definition I've 12 month, the Volume
 retention when is passed
 all jobs that are on the retented volume will be purged)
 the monthly one to stay for one year and then purged is it correct?,
 is that correct? (otherwhise my catalog will be vry big)

Yes, that's roughly correct.  Bacula will prune the jobs in the daily pool
when it needs a new volume, so that will happen when you do a daily backup.

__Martin

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Win32 Client 5.2.1 TrayMonitor doesn't start because QTCored4.dll not found.

2011-11-03 Thread Francisco Javier Funes Nieto
Hi, I'm testing the new 5.2.1 Win32 FD in a new machine and the
TryMonitor doesn't start because It doesn't found the QTCored4.dll
library.

Someones had this problem ? Did I need another files to complete the
Client Install ?

Thank you
Javier.

-- 
_

Francisco Javier Funes Nieto [esen...@gmail.com]
CANONIGOS
Servicios Informáticos para PYMES.
Cl. Cruz 2, 1º Oficina 7
Tlf: 958.536759 / 661134556
Fax: 958.521354
GRANADA - 18002

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win32 Client 5.2.1 TrayMonitor doesn't start because QTCored4.dll not found.

2011-11-03 Thread John Drescher
On Thu, Nov 3, 2011 at 8:56 AM, Francisco Javier Funes Nieto
esen...@gmail.com wrote:
 Hi, I'm testing the new 5.2.1 Win32 FD in a new machine and the
 TryMonitor doesn't start because It doesn't found the QTCored4.dll
 library.

 Someones had this problem ? Did I need another files to complete the
 Client Install ?


That is one of the main libraries in Qt. I use this dll every day on
my own code but I build using Visual Studio 2008 and 2010 instead of
mingw (versions from different compilers are incompatible). Is there a
place to download a binary for the windows client or is it only linux
crosscompile?


John

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Virtual Changer / Marking Volume xxxxx in Error in Catalog

2011-11-03 Thread Josh Fisher

On 11/2/2011 3:57 PM, Bob Hetzel wrote:
 On 10/29/2011 10:06 AM, S?bastien WENSKE wrote:
 Hi List !

 Does someone knows why sometimes Bacula marks Volumes in Error when it
 can't load a Virtual Tape (a file) because it's already use by another
 Virtual Device in the Virtual AutoChanger ? I specified  Prefer Mounted
 Volumes = no in the JobDefs
 The programmers have added a different option for trying to use multiple
 drives in the same pool.  Instead of using Prefer mounted volumes = no
 you should Maximum Concurrent Jobs  per device a try

 http://www.bacula.org/5.0.x-manuals/en/main/main/New_Features_in_5_0_0.html#SECTION0051

 I've been running with this newer config for more than a year now with much
 improved results.  I used to get race conditions that would cause bacula to
 crash using prefer mounted volumes=no and concurrently running 10-15 jobs
 concurrently on two drives.  Also, I believe Kern said that was an
 unsupported configuration a while back, but they do intend to fix any
 bugs found in the Maximum Concurrent Jobs  per device code.

Thanks, Bob. That is a sensible approach, come to think of it. 
Previously, Maximum Concurrent Jobs could only be set for the Storage in 
the Director's config. Placing a concurrent job restriction at the 
Device level in SD is a more practical solution. I was under the 
impression that without Prefer Mounted Volumes = no, Bacula would not 
select more than one tape from the same pool for concurrent jobs writing 
to the same pool. If that is not the case, then it seems to me that 
Prefer Mounted Volumes is likely deprecated.

--- Josh Fisher

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win32 Client 5.2.1 TrayMonitor doesn't start because QTCored4.dll not found.

2011-11-03 Thread Francisco Javier Funes Nieto
Oh sorry, I forget to say that the Client Machine runs Windows XP Pro.
The TryMonitor fail to start with this error.. maybe a bad package or
need another libraries to complete installation.

J.

2011/11/3 Francisco Javier Funes Nieto esen...@gmail.com:
 Hi, I'm testing the new 5.2.1 Win32 FD in a new machine and the
 TryMonitor doesn't start because It doesn't found the QTCored4.dll
 library.

 Someones had this problem ? Did I need another files to complete the
 Client Install ?

 Thank you
 Javier.

 --
 _

 Francisco Javier Funes Nieto [esen...@gmail.com]
 CANONIGOS
 Servicios Informáticos para PYMES.
 Cl. Cruz 2, 1º Oficina 7
 Tlf: 958.536759 / 661134556
 Fax: 958.521354
 GRANADA - 18002




-- 
_

Francisco Javier Funes Nieto [esen...@gmail.com]
CANONIGOS
Servicios Informáticos para PYMES.
Cl. Cruz 2, 1º Oficina 7
Tlf: 958.536759 / 661134556
Fax: 958.521354
GRANADA - 18002

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win32 Client 5.2.1 TrayMonitor doesn't start because QTCored4.dll not found.

2011-11-03 Thread John Drescher
On Thu, Nov 3, 2011 at 11:46 AM, Francisco Javier Funes Nieto
esen...@gmail.com wrote:
 Oh sorry, I forget to say that the Client Machine runs Windows XP Pro.
 The TryMonitor fail to start with this error.. maybe a bad package or
 need another libraries to complete installation.


I did not notice that the download existed for this because the
CurrentFiles link does not contain this. Anyways I just tested this on
my windows 7 box at work and I know the problem. It is a bad build.
And what I mean by that for some reason the bacula-tray-monitor.exe is
a debug build when it should be a release build. The project supplies
the dlls for the release build but not for the debug build.

John

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] 5.2.1 bat missing Browse Cataloged Files?

2011-11-03 Thread Stephen Thompson


Hey all,

Recently upgraded to 5.2.1, things mostly running well.
I notice in BAT that the Browse Cataloged Files icon in the toolbar is 
greyed out and there is now a bRestore Page.  Has the Browse Cataloged 
Files feature been depreciated (I use it a lot), and if so, why is the 
icon not entirely absent.  If not, is there something that I could have 
down in my build to accidentally excluded that feature?

thanks!
Stephen
-- 
Stephen Thompson   Berkeley Seismological Laboratory
step...@seismo.berkeley.edu215 McCone Hall # 4760
404.538.7077 (phone)   University of California, Berkeley
510.643.5811 (fax) Berkeley, CA 94720-4760

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Version 5.2.1 released

2011-11-03 Thread Mauro Colorio
please update download page on website

http://www.bacula.org/en/?page=downloads

still points to 5.0.3

tank you
Mauro

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] 5.2.1 bat missing Browse Cataloged Files?

2011-11-03 Thread John Drescher
On Thu, Nov 3, 2011 at 12:59 PM, Stephen Thompson
step...@seismo.berkeley.edu wrote:


 Hey all,

 Recently upgraded to 5.2.1, things mostly running well.
 I notice in BAT that the Browse Cataloged Files icon in the toolbar is
 greyed out and there is now a bRestore Page.  Has the Browse Cataloged
 Files feature been depreciated (I use it a lot), and if so, why is the
 icon not entirely absent.  If not, is there something that I could have
 down in my build to accidentally excluded that feature?


I found this in the release notes - The old bat version browser has
been turned off since it does not
  work correctly and the brestore panel provides the same functionality

http://voxel.dl.sourceforge.net/project/bacula/Win32_64/5.2.1/ReleaseNotes

John

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users