Re: [Bacula-users] Can not update slots

2012-01-02 Thread ninyo
>> Placing your reply AFTER the question enables reading of the thread without scrolling up and down and up and down… Thanks Dan, i will keep that in mind. Sorry for the inconvenience. :) >> Given that your tapes do not have barcodes, this output is expected. There is no way for >>Bacula to kno

Re: [Bacula-users] Can not update slots

2012-01-01 Thread Jim Creason
Yeah, I've been using 5.0.2 without barcodes on one of my installs without problems. Do you get the same output if you run 'update slots scan' from bconsole? What happens if you try and manually update the slot from bconsole - 'update' then choose Volume Parameters and then Slot?

Re: [Bacula-users] Can not update slots

2011-12-30 Thread Dan Langille
Placing your reply AFTER the question enables reading of the thread without scrolling up and down and up and down… On Dec 30, 2011, at 3:14 AM, ninyo wrote: > 2011/12/30 Dietz Pröpper > Dan Langille: > > On Dec 29, 2011, at 7:55 AM, ninyo wrote: > > > No. Im not working with barcodes > > >

Re: [Bacula-users] Can not update slots

2011-12-30 Thread Dan Langille
On Dec 29, 2011, at 9:48 PM, Dietz Pröpper wrote: > Dan Langille: >> On Dec 29, 2011, at 7:55 AM, ninyo wrote: >>> No. Im not working with barcodes >>> o_0' >> >> Is this because there is no barcode reader or because you don't want to >> use the one that is there? > > He mailed the output o

Re: [Bacula-users] Can not update slots

2011-12-30 Thread ninyo
mtx.log output: 20111229-20:14:56 Parms: /dev/sg4 loaded 0 /dev/nst0 0 20111229-20:14:56 Doing mtx -f /dev/sg4 0 -- to find what is loaded 20111229-20:17:17 Parms: /dev/sg4 loaded 1 /dev/nst0 0 20111229-20:17:17 Doing mtx -f /dev/sg4 0 -- to find what is loaded 20111229-20:17:17 Parms: /dev/sg4 un

Re: [Bacula-users] Can not update slots

2011-12-30 Thread ninyo
Mtx status output again :) root@WILLY-FOG:/etc/bacula# mtx status Storage Changer /dev/changer:1 Drives, 24 Slots ( 1 Import/Export ) Data Transfer Element 0:Full (Storage Element 1 Loaded) Storage Element 1:Empty Storage Element 2:Full Storage Element 3:Full Storage Elem

Re: [Bacula-users] Can not update slots

2011-12-30 Thread ninyo
I look at the msl 2024 admin web and looks like it has barcode. No reason for not using it. I will try to obtain a barcode sticker to make some tests. o_0' On Thu, Dec 29, 2011 at 11:21 PM, Dan Langille wrote: > > On Dec 29, 2011, at 7:55 AM, ninyo wrote: > > No. Im not working with barcodes..

Re: [Bacula-users] Can not update slots

2011-12-30 Thread ninyo
Yes. It works correctly on the old server with 5.0.2 version. o_0' On Thu, Dec 29, 2011 at 11:25 PM, Dan Langille wrote: > > On Dec 29, 2011, at 2:48 PM, John Drescher wrote: > > > On Thu, Dec 29, 2011 at 2:42 PM, ninyo wrote: > >> Hello > >> > >> Fresh Bacula 5.0.2 install from apt = same er

Re: [Bacula-users] Can not update slots

2011-12-29 Thread Dietz Pröpper
Dan Langille: > On Dec 29, 2011, at 7:55 AM, ninyo wrote: > > No. Im not working with barcodes > > o_0' > > Is this because there is no barcode reader or because you don't want to > use the one that is there? He mailed the output of mtx status way up the thread, and it seems to me, that he d

Re: [Bacula-users] Can not update slots

2011-12-29 Thread Dan Langille
On Dec 29, 2011, at 5:25 PM, Dan Langille wrote: > > On Dec 29, 2011, at 2:48 PM, John Drescher wrote: > >> On Thu, Dec 29, 2011 at 2:42 PM, ninyo wrote: >>> Hello >>> >>> Fresh Bacula 5.0.2 install from apt = same error >>> Fresh Bacula 5.2.3 compiled from sources, with default conf files =

Re: [Bacula-users] Can not update slots

2011-12-29 Thread Dan Langille
On Dec 29, 2011, at 2:48 PM, John Drescher wrote: > On Thu, Dec 29, 2011 at 2:42 PM, ninyo wrote: >> Hello >> >> Fresh Bacula 5.0.2 install from apt = same error >> Fresh Bacula 5.2.3 compiled from sources, with default conf files = same >> error >> >> Maybe i have to start thinking on library

Re: [Bacula-users] Can not update slots

2011-12-29 Thread Dan Langille
On Dec 29, 2011, at 7:55 AM, ninyo wrote: > No. Im not working with barcodes > o_0' Is this because there is no barcode reader or because you don't want to use the one that is there? > > > On Thu, Dec 29, 2011 at 1:54 PM, John Drescher wrote: > Wait a minute. incremental-03 does not se

Re: [Bacula-users] Can not update slots

2011-12-29 Thread John Drescher
On Thu, Dec 29, 2011 at 2:42 PM, ninyo wrote: > Hello > > Fresh Bacula 5.0.2 install from apt = same error > Fresh Bacula 5.2.3 compiled from sources, with default conf files = same > error > > Maybe i have to start thinking on library error? Anyone have an idea about > how to test this? > It is

Re: [Bacula-users] Can not update slots

2011-12-29 Thread ninyo
Hello Fresh Bacula 5.0.2 install from apt = same error Fresh Bacula 5.2.3 compiled from sources, with default conf files = same error Maybe i have to start thinking on library error? Anyone have an idea about how to test this? Thx o_0' On Thu, Dec 29, 2011 at 5:17 PM, ninyo wrote: > Some n

Re: [Bacula-users] Can not update slots

2011-12-29 Thread ninyo
Some news new clean database for bacula. Label one tape and add to a pool: **label* *Seleccionado automáticamente Catalogo: MyCatalog* *Usando Catalogo "MyCatalog"* *Los recursos Storage definidos son:* * 1: disco* * 2: cinta* *Seleccione recurso Storage (1-2): 2* *Conectando al demonio

Re: [Bacula-users] Can not update slots

2011-12-29 Thread ninyo
... is this a problem? I was working without problems on bacula 5.0 o_0' On Thu, Dec 29, 2011 at 1:55 PM, ninyo wrote: > No. Im not working with barcodes > o_0' > > > On Thu, Dec 29, 2011 at 1:54 PM, John Drescher wrote: > >> Wait a minute. incremental-03 does not seem possible as a barc

Re: [Bacula-users] Can not update slots

2011-12-29 Thread ninyo
No. Im not working with barcodes o_0' On Thu, Dec 29, 2011 at 1:54 PM, John Drescher wrote: > Wait a minute. incremental-03 does not seem possible as a barcode > label since there are way too many characters. You do not have a > barcode reader on your autochanger? > > John > ---

Re: [Bacula-users] Can not update slots

2011-12-29 Thread John Drescher
Wait a minute. incremental-03 does not seem possible as a barcode label since there are way too many characters. You do not have a barcode reader on your autochanger? John -- Ridiculously easy VDI. With Citrix VDI-in-a-Bo

Re: [Bacula-users] Can not update slots

2011-12-29 Thread John Drescher
On Thu, Dec 29, 2011 at 7:27 AM, ninyo wrote: > No one has any idea? Not pretending a solution but a ideas to make test or > see where it can be failing. I do not see the problem. I have just updated to 5.2.3 myself from 5.0.3 last week. However the update slots command worked fine. *st Status a

Re: [Bacula-users] Can not update slots

2011-12-29 Thread ninyo
No one has any idea? Not pretending a solution but a ideas to make test or see where it can be failing. Rgds. o_0' On Wed, Dec 28, 2011 at 4:29 PM, ninyo wrote: > Here he go: > > bacula-sd.conf: > > * > * > *Storage { # definition of myself* > * Name = SERVER-sd*

Re: [Bacula-users] Can not update slots

2011-12-28 Thread ninyo
Here he go: bacula-sd.conf: * * *Storage { # definition of myself* * Name = SERVER-sd* * SDPort = 9103 # Director's port* * WorkingDirectory = "/var/bacula/working"* *# WorkingDirectory = "/var/lib/bacula"* * Pid Directory = "/var/run"* * Maximum

Re: [Bacula-users] Can not update slots

2011-12-28 Thread John Drescher
On Wed, Dec 28, 2011 at 10:17 AM, ninyo wrote: > Gotcha > > *query > Seleccionado automáticamente Catalogo: MyCatalog > Usando Catalogo "MyCatalog" > Consultas disponibles: >      1: List up to 20 places where a File is saved regardless of the > directory >      2: List where the most recent copi

Re: [Bacula-users] Can not update slots

2011-12-28 Thread ninyo
Gotcha **query* *Seleccionado automáticamente Catalogo: MyCatalog* *Usando Catalogo "MyCatalog"* *Consultas disponibles:* * 1: List up to 20 places where a File is saved regardless of the directory* * 2: List where the most recent copies of a file are saved* * 3: List last 20 Full Bac

Re: [Bacula-users] Can not update slots

2011-12-28 Thread ninyo
That is correct! (maybe my poor english do not help) Where i can get the querys? How can i install them? o_0' On Wed, Dec 28, 2011 at 3:57 PM, John Drescher wrote: > 2011/12/28 ninyo : > > More info in debug mode: > > > > server-dir: ua_label.c:794-0 Sent: readlabel MSL-2024 Slot=2 drive=0 >

Re: [Bacula-users] Can not update slots

2011-12-28 Thread John Drescher
2011/12/28 ninyo : > More info in debug mode: > > server-dir: ua_label.c:794-0 Sent: readlabel MSL-2024 Slot=2 drive=0 > server-dir: ua_label.c:799-0 Got: 3001 Volumen=archivado-02 Ranura=2 > server-dir: ua_label.c:810-0 get_vol_name=*Ninguno* > server-dir: ua_label.c:243-0 Got Vol= from SD for Slo

Re: [Bacula-users] Can not update slots

2011-12-28 Thread ninyo
More info in debug mode: server-dir: ua_label.c:794-0 Sent: readlabel MSL-2024 Slot=2 drive=0 server-dir: ua_label.c:799-0 Got: 3001 Volumen=archivado-02 Ranura=2 server-dir: ua_label.c:810-0 get_vol_name=*Ninguno* server-dir: ua_label.c:243-0 Got Vol= from SD for Slot=2 server-dir: sql_update.c:5

Re: [Bacula-users] Can not update slots

2011-12-28 Thread ninyo
Hello this is the output from bacula when i run updateslots with the drive empty: *shell command: ejecutar BeforeJob "/etc/bacula/updateslots.sh"* *BeforeJob: Conectando al Director x* *BeforeJob: 1000 OK: server-dir Versión: 5.2.3(16 December 2011)* *BeforeJob: Introduzca un período para canc

Re: [Bacula-users] Can not update slots

2011-12-27 Thread ninyo
Hello, Drive unloaded before update slots. No changes. Tomorrow will post the logs. o_0' On Tue, Dec 27, 2011 at 6:20 PM, Simone Caronni wrote: > Hello, > > before issuing "update slots" you should do "mtx unload 0 1" on the > console to park the tape in the first slot. According to your outpu

Re: [Bacula-users] Can not update slots

2011-12-27 Thread Simone Caronni
Hello, before issuing "update slots" you should do "mtx unload 0 1" on the console to park the tape in the first slot. According to your output the drive is loaded from a tape that was before in one of your empty slots. --Simone On Dec 27, 2011 6:12 PM, "ninyo" wrote: > Hi simone > > */etc/bacu

Re: [Bacula-users] Can not update slots

2011-12-27 Thread ninyo
Hi simone */etc/bacula# mtx status* * Storage Changer /dev/changer:1 Drives, 24 Slots ( 1 Import/Export )* *Data Transfer Element 0:Full (Storage Element 1 Loaded)* * Storage Element 1:Empty* * Storage Element 2:Full* * Storage Element 3:Full* * Storage Element 4:Full* *

Re: [Bacula-users] Can not update slots

2011-12-27 Thread Simone Caronni
It happened to me quite a few time because of a power problem in one datacenter which was cutting power to our tape library. I just updated the slot status with the mtx command outside of bconsole to make sure that the status matches what bacula thinks. I think unloading the tape in the slot with

[Bacula-users] Can not update slots

2011-12-27 Thread ninyo
Hello recently migrated from bacula 5.0.3 (from apt) to 5.2.3 (from sources) on different hosts. Export the database, import and upgrade from script. All goes fine, but when i try to update slots from console, i get this for all the slots: * 3305 Auto-cambiador "carga ranura 23, unidad 0", estado