|
From: Jose <j....@gm...> - 2012-01-31 15:15:33
|
Esto que colocas:
Bacula-Pgsql-2-sd Job Bacula-Pgsql-2-Tape-Job.2012-01-30_17.55.12_13
is waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "Drive-1" (/dev/nst1)
Pool: Bacula-Pgsql-2-Full
Media type: LTO-5
2012/1/30, Claudio Ernesto Sottile <cso...@se...>:
Dice que no tienes mas volúmenes para escribir, debes ver como tienes
tu política de reciclado de volúmenes cuando un pool se llena.
> Hola a Todos!!!
>
>
> Tengo el siguiente problema !!
>
> Bacula-Pgsql-2-dir Start Backup JobId 17,
> Job=Bacula-Pgsql-2-Tape-Job.2012-01-30_17.55.12_13
>
> Bacula-Pgsql-2-dir Created new Volume "Bacula-Pgsql-2-Full-0003" in catalog.
>
> Created new Volume "Bacula-Pgsql-2-Full-0004" in catalog.
>
> Pruning oldest volume "Bacula-Pgsql-2-Full-0003"
>
> Using Device "Drive-1"
>
> Pruning oldest volume "Bacula-Pgsql-2-Full-0003"
>
> Bacula-Pgsql-2-sd Job Bacula-Pgsql-2-Tape-Job.2012-01-30_17.55.12_13 is
> waiting. Cannot find any appendable volumes.
>
> Please use the "label" command to create a new Volume for:
>
> Storage: "Drive-1" (/dev/nst1)
>
> Pool: Bacula-Pgsql-2-Full
>
> Media type: LTO-5
>
> Bacula-Pgsql-2-dir Pruning oldest volume "Bacula-Pgsql-2-Full-0003"
>
> Bacula-Pgsql-2-sd 3301 Issuing autochanger "loaded? drive 0" command.
>
> Invalid slot=0 defined in catalog for Volume "Bacula-Pgsql-2-Full-0003" on
> "Drive-1" (/dev/nst1). Manual load may be required.
>
> Bacula-Pgsql-2-sd 3302 Autochanger "loaded? drive 0", result: nothing
> loaded.
>
> Bacula-Pgsql-2-sd 3301 Issuing autochanger "loaded? drive 0" command.
>
> 3302 Autochanger "loaded? drive 0", result: nothing loaded.
>
> Bacula-Pgsql-2-sd 3302 Autochanger "loaded? drive 0", result: nothing
> loaded.
>
> Warning: mount.c:221 Open device "Drive-1" (/dev/nst1) Volume
> "Bacula-Pgsql-2-Full-0003" failed: ERR=dev.c:491 Unable to open device
> "Drive-1" (/dev/nst1): ERR=No se ha encontrado el medio
>
> Invalid slot=0 defined in catalog for Volume "Bacula-Pgsql-2-Full-0003" on
> "Drive-1" (/dev/nst1). Manual load may be required.
>
> 3301 Issuing autochanger "loaded? drive 0" command.
>
> Bacula-Pgsql-2-sd 3301 Issuing autochanger "loaded? drive 0" command.
>
> Bacula-Pgsql-2-sd 3302 Autochanger "loaded? drive 0", result: nothing
> loaded.
>
> Este bacula una virtual montado sobre un BLADE HP, con VMware le presente la
> conexion FC de la libreria y me lo muestra como un hardware como detallo
> aqui abajo:
>
> root@Bacula-Pgsql-2:~# lsscsi -g
> [1:0:0:0] cd/dvd NECVMWar VMware IDE CDR10 1.00 /dev/sr0 /dev/sg0
> *[2:0:0:0] mediumx IBM 3573-TL A.40 /dev/sch0 /dev/sg1
> [2:0:1:0] mediumx IBM 3573-TL A.40 /dev/sch1 /dev/sg2*
> [3:0:0:0] disk VMware Virtual disk 1.0 /dev/sda /dev/sg3
>
> Realmente estoy parado, mire el log del servidor y me daba el siguiente
> error
>
> Bacula-Pgsql-2 mpt-statusd: detected non-optimal RAID status
>
> esto lo solucione con mpt-status --autoload
>
> La configuracion de mi bacula-sd es la siguiente:
>
>
> Autochanger {
> Name = Autochanger
> Device = Drive-1
> Device = Drive-2
> Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
> Changer Device = /dev/sg1
> }
>
>
> Device {
> Name = Drive-1
> Media Type = LTO-5
> Archive Device = /dev/nst1
> AutomaticMount = yes; # when device opened, read it
> AlwaysOpen = yes;
> RemovableMedia = yes;
> RandomAccess = no;
> #Maximum File Size = 5GB
> ## Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
> Changer Device = /dev/sg1
> AutoChanger = yes
> # # Enable the Alert command only if you have the mtx package loaded
> Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
> ## If you have smartctl, enable this, it has more info than tapeinfo
> Alert Command = "sh -c 'smartctl -H -l error %c'"
> }
>
> Device {
> Name = Drive-2
> Media Type = LTO-5
> Archive Device = /dev/nst2
> AutomaticMount = yes; # when device opened, read it
> AlwaysOpen = yes;
> RemovableMedia = yes;
> RandomAccess = no;
> #Maximum File Size = 5GB
> ## Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
> Changer Device = /dev/sg2
> AutoChanger = yes
> # # Enable the Alert command only if you have the mtx package loaded
> Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
> ## If you have smartctl, enable this, it has more info than tapeinfo
> Alert Command = "sh -c 'smartctl -H -l error %c'"
> }
>
> Desde ya les agradezco su ayuda !!
>
--
#############################
# Sistema Operativo: Debian #
# Caracas, Venezuela #
#############################
|