Bacula-users

Re: [Bacula-users] Can not update slots

2011-12-29 14:44:26
Subject: Re: [Bacula-users] Can not update slots
From: ninyo <ninyodios AT gmail DOT com>
To: John Drescher <drescherjm AT gmail DOT com>
Date: Thu, 29 Dec 2011 20:42:19 +0100
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 DOT com> 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@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 DOT com> 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 DOT com> wrote:
No. Im not working with barcodes....
o_0'


On Thu, Dec 29, 2011 at 1:54 PM, John Drescher <drescherjm AT gmail DOT com> 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




------------------------------------------------------------------------------
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 DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users