SearchFAQMemberlist Log in
Reply to topic Page 2 of 2
Goto page Previous  1, 2
Can not update slots
Author Message
Post Can not update slots 
No. Im not working with barcodes....o_0'


On Thu, Dec 29, 2011 at 1:54 PM, John Drescher <drescherjm < at > gmail.com ([email]drescherjm < at > gmail.com[/email])> 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


Post Can not update slots 
... 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 <ninyodios < at > gmail.com ([email]ninyodios < at > gmail.com[/email])> wrote:
No. Im not working with barcodes....o_0'


On Thu, Dec 29, 2011 at 1:54 PM, John Drescher <drescherjm < at > gmail.com ([email]drescherjm < at > gmail.com[/email])> 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






Post Can not update slots 
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 Storage cinta en ip:9103 ...
Introduzca el nuevo nombre de Volumen: incremental_PRUEBAS_01
Introduzca ranura (0 o Enter para ninguno):
Pools definidos:
     1: Incremental-disco
     2: Incremental
     3: Semanal
     4: Mensual
     5: Archivado
     6: Default
Seleccione el Pool (1-6): 2
Conectando al demonio Storage cinta en ip:9103 ...
Enviando comando relabel para Volumen "incremental_PRUEBAS_01" Ranura 0 ...
No slot defined in catalog (slot=0) for Volume "" on "drive" (/dev/nst0).
Cartridge change or "update slots" may be required.
3000 OK label. VolBytes=64512 DVD=0 Volume="incremental_PRUEBAS_01" Device="drive" (/dev/nst0)
Registro Catalogo para Volumen "incremental_PRUEBAS_01", Ranura 0 creado correctamente.
Solicitando para montar MSL-2024 ...
3001 Device ""drive" (/dev/nst0)" is mounted with Volume "incremental_PRUEBAS_01"



List volumes


*list volumes
Pool: Incremental-disco
No hay resultados para listar.
Pool: Incremental
+---------+------------------------+-----------+---------+----------+----------+--------------+---------+------+-----------+- ----------+---------------------+
| MediaId | VolumeName             | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger |  MediaType | LastWritten         |
+---------+------------------------+-----------+---------+----------+----------+--------------+---------+------+-----------+- ----------+---------------------+
|       1 | incremental_PRUEBAS_01 | Append    |       1 |   64,512 |        0 |      518,400 |       1 |    0 |         0 |  LTO2      | 0000-00-00 00:00:00 |
+---------+------------------------+-----------+---------+----------+----------+--------------+---------+------+-----------+- ----------+---------------------+



root < at > WILLY-FOG:/etc/bacula# echo 'update slots=20 storage=cinta scan' | /sbin/bconsole -c /etc/bacula/bconsole.conf
Conectando al Director 172.16.9.20:9101
1000 OK: WILLY-FOG-dir Versión: 5.2.3(16 December 2011)
Introduzca un período para cancelar un comando.
update slots=20 storage=cinta scan
Seleccionado automáticamente Catalogo: MyCatalog
Usando Catalogo "MyCatalog"
Conectando al demonio Storage cinta en 172.16.9.20:9103 ...
3306 Emitiendo comando "slots" al auto-cambiador.
Dispositivo "MSL-2024" tiene 24 ranuras.
Conectando al demonio Storage cinta en 172.16.9.20:9103 ...
3306 Emitiendo comando "list" al auto-cambiador.
Conectando al demonio Storage cinta en 172.16.9.20:9103 ...
3301 Emitiendo comando auto-cambiador "¿cargado? unidad 0".
3302 Auto-cambiador "¿cargado? unidad 0", resultado: nada cargado.
3304 Emitiendo comando auto-cambiador "cargar ranura 20, unidad 0".
3305 Auto-cambiador "carga ranura 20, unidad 0", estado es OK.
3001 Volumen=incremental_PRUEBAS_01 Ranura=20
Ninguno VolName para Ranura=20 InChanger establecido en cero.



I suspected about BD fail, but now im working with a clean database. Im totally lost....


o_0'


On Thu, Dec 29, 2011 at 2:17 PM, ninyo <ninyodios < at > gmail.com ([email]ninyodios < at > gmail.com[/email])> wrote:
... 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 <ninyodios < at > gmail.com ([email]ninyodios < at > gmail.com[/email])> wrote:
No. Im not working with barcodes....o_0'


On Thu, Dec 29, 2011 at 1:54 PM, John Drescher <drescherjm < at > gmail.com ([email]drescherjm < at > gmail.com[/email])> 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











Post Can not update slots 
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 <ninyodios < at > gmail.com ([email]ninyodios < at > gmail.com[/email])> wrote:
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 Storage cinta en ip:9103 ...
Introduzca el nuevo nombre de Volumen: incremental_PRUEBAS_01
Introduzca ranura (0 o Enter para ninguno):
Pools definidos:
     1: Incremental-disco
     2: Incremental
     3: Semanal
     4: Mensual
     5: Archivado
     6: Default
Seleccione el Pool (1-6): 2
Conectando al demonio Storage cinta en ip:9103 ...
Enviando comando relabel para Volumen "incremental_PRUEBAS_01" Ranura 0 ...
No slot defined in catalog (slot=0) for Volume "" on "drive" (/dev/nst0).
Cartridge change or "update slots" may be required.
3000 OK label. VolBytes=64512 DVD=0 Volume="incremental_PRUEBAS_01" Device="drive" (/dev/nst0)
Registro Catalogo para Volumen "incremental_PRUEBAS_01", Ranura 0 creado correctamente.
Solicitando para montar MSL-2024 ...
3001 Device ""drive" (/dev/nst0)" is mounted with Volume "incremental_PRUEBAS_01"



List volumes


*list volumes
Pool: Incremental-disco
No hay resultados para listar.

Pool: Incremental
+---------+------------------------+-----------+---------+----------+----------+--------------+---------+------+-----------+- ----------+---------------------+
| MediaId | VolumeName             | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger |  MediaType | LastWritten         |
+---------+------------------------+-----------+---------+----------+----------+--------------+---------+------+-----------+- ----------+---------------------+
|       1 | incremental_PRUEBAS_01 | Append    |       1 |   64,512 |        0 |      518,400 |       1 |    0 |         0 |  LTO2      | 0000-00-00 00:00:00 |
+---------+------------------------+-----------+---------+----------+----------+--------------+---------+------+-----------+- ----------+---------------------+



root < at > WILLY-FOG:/etc/bacula# echo 'update slots=20 storage=cinta scan' | /sbin/bconsole -c /etc/bacula/bconsole.conf
Conectando al Director 172.16.9.20:9101
1000 OK: WILLY-FOG-dir Versión: 5.2.3(16 December 2011)
Introduzca un período para cancelar un comando.

update slots=20 storage=cinta scan
Seleccionado automáticamente Catalogo: MyCatalog
Usando Catalogo "MyCatalog"

Conectando al demonio Storage cinta en 172.16.9.20:9103 ...
3306 Emitiendo comando "slots" al auto-cambiador.

Dispositivo "MSL-2024" tiene 24 ranuras.

Conectando al demonio Storage cinta en 172.16.9.20:9103 ...
3306 Emitiendo comando "list" al auto-cambiador.

Conectando al demonio Storage cinta en 172.16.9.20:9103 ...
3301 Emitiendo comando auto-cambiador "¿cargado? unidad 0".

3302 Auto-cambiador "¿cargado? unidad 0", resultado: nada cargado.

3304 Emitiendo comando auto-cambiador "cargar ranura 20, unidad 0".
3305 Auto-cambiador "carga ranura 20, unidad 0", estado es OK.
3001 Volumen=incremental_PRUEBAS_01 Ranura=20
Ninguno VolName para Ranura=20 InChanger establecido en cero.



I suspected about BD fail, but now im working with a clean database. Im totally lost....


o_0'


On Thu, Dec 29, 2011 at 2:17 PM, ninyo <ninyodios < at > gmail.com ([email]ninyodios < at > gmail.com[/email])> wrote:
... 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 <ninyodios < at > gmail.com ([email]ninyodios < at > gmail.com[/email])> wrote:
No. Im not working with barcodes....o_0'


On Thu, Dec 29, 2011 at 1:54 PM, John Drescher <drescherjm < at > gmail.com ([email]drescherjm < at > gmail.com[/email])> 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
















Post Can not update slots 
On Thu, Dec 29, 2011 at 2:42 PM, ninyo <ninyodios < at > gmail.com> 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 recommended that you use bar code labels on your autochanger if
you have a changer with a barcode reader. I have seen reports of users
working without barcodes in the past however I can not help with that.
I have no experience with that type of setup.

John

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

View user's profile Send private message
Post Can not update slots 
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 <drescherjm < at > gmail.com ([email]drescherjm < at > gmail.com[/email])> 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



--
Dan Langille - http://langille.org

Post Can not update slots 
On Dec 29, 2011, at 2:48 PM, John Drescher wrote:

On Thu, Dec 29, 2011 at 2:42 PM, ninyo <ninyodios < at > gmail.com> 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 recommended that you use bar code labels on your autochanger if
you have a changer with a barcode reader. I have seen reports of users
working without barcodes in the past however I can not help with that.
I have no experience with that type of setup.

I am using a tape library with FreeBSD and Bacula 5.0.3

Getting the library working can be tricky with respect to permissions.

If I recall correctly, if you do not have a barcode reader, you must supply the
list of volume names in a file, which is then used instead of the barcode reader.

The details do not come to mind immediately.

Has this ever worked for you before?

I'll wait your answers before proceeding.

--
Dan Langille - http://langille.org


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Can not update slots 
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 <ninyodios < at > gmail.com> 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 recommended that you use bar code labels on your autochanger if
you have a changer with a barcode reader. I have seen reports of users
working without barcodes in the past however I can not help with that.
I have no experience with that type of setup.

I am using a tape library with FreeBSD and Bacula 5.0.3

Getting the library working can be tricky with respect to permissions.

If I recall correctly, if you do not have a barcode reader, you must supply the
list of volume names in a file, which is then used instead of the barcode reader.

The details do not come to mind immediately.

I use mtx-changer and in there you will find the list command (around line 171).

This uses the mtx status command to get the list of tapes.

Try that command manually. f that doesn't work for you from the command line, you've got to find another way to get the list of volumes from the tape library.

--
Dan Langille - http://langille.org


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Can not update slots 
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 does not use barcodes.
Is mtx-changer supposed to work w/o barcodes anyway?

regards,
Dietz

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Can not update slots 
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 of mtx status way up the thread, and it seems to me,
that he does not use barcodes.
Is mtx-changer supposed to work w/o barcodes anyway?


It can, if you provide the labels via a file… I've read about it in the script, if I recall correctly.

--
Dan Langille - http://langille.org


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Can not update slots 
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 <dietz < at > rotfl.franken.de>
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 does not use barcodes.
Is mtx-changer supposed to work w/o barcodes anyway?

On Dec 30, 2011, at 3:14 AM, ninyo wrote:

Mtx status output again Smile

root < at > 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 Element 4:Full
Storage Element 5:Full
Storage Element 6:Full
Storage Element 7:Full
Storage Element 8:Full
Storage Element 9:Full
Storage Element 10:Full
Storage Element 11:Full
Storage Element 12:Full
Storage Element 13:Full
Storage Element 14:Full
Storage Element 15:Full
Storage Element 16:Full
Storage Element 17:Empty
Storage Element 18:Full
Storage Element 19:Full
Storage Element 20:Full
Storage Element 21:Full
Storage Element 22:Full
Storage Element 23:Full
Storage Element 24 IMPORT/EXPORT:Empty

Given that your tapes do not have barcodes, this output is expected. There is no way for
Bacula to know the labels without barcodes.

That said, I do recall some mechanism for manually creating a file which contains the labels…

I do not recall where I saw that reference..
--
Dan Langille - http://langille.org


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Can not update slots 
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?

--jim


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 <dan < at > langille.org> wrote:


On Dec 29, 2011, at 2:48 PM, John Drescher wrote:

On Thu, Dec 29, 2011 at 2:42 PM, ninyo <ninyodios < at > gmail.com> 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 recommended that you use bar code labels on your autochanger if
you have a changer with a barcode reader. I have seen reports of users
working without barcodes in the past however I can not help with that.
I have no experience with that type of setup.


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Can not update slots 
  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. Smile


 Given that your tapes do not have barcodes, this output is expected.  There is no way for
Bacula to know the labels without barcodes.>>>>That said, I do recall some mechanism for manually creating a file which contains the labels… >>>> do not recall where I saw that reference..

This is my updateslots.sh script:


echo 'update slots=1-24 storage=cinta scan' | /sbin/bconsole -c /etc/bacula/bconsole.conf


This script works without problems in previous versión. 


Anyway, for reasons unknown (i suspect machine reboot) now it works. Updteslots job is placed to work on friday and when i see it was working and updating the slots i cant belive it. Im repeating the tests now, launching again the script and trying to understand why is working now. 


Im totally confused.... 

Display posts from previous:
Reply to topic Page 2 of 2
Goto page Previous  1, 2
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB