Bacula-users

Re: [Bacula-users] Cannot find any appendable volumes - Please use the "label" command to create a new Volume for:

2010-01-14 10:13:53
Subject: Re: [Bacula-users] Cannot find any appendable volumes - Please use the "label" command to create a new Volume for:
From: Anton Albajes-Eizagirre <anton.albajes AT starlab DOT es>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 14 Jan 2010 16:11:27 +0100
Juergen,

I'm not really expert on Volume managing (i'm new on bacula's
world :-$), but it might have some relations about the messages you're
getting about volume purging and recycling time. You should check you
retention periods for volumes, for example.

I'm sure it would be very helpful for anyone having exact notions about
all this if you could provide your config files (specially sections
configuring pools).

Hope this gives you some hints,

anton

On Thu, 2010-01-14 at 14:46 +0100, Juergen Mehmke wrote:
> Hi!
> 
> We have a problem with Bacula 3.0.2 (Update from 2.x).
> 
> Some backups starts normally. Bacula purged and recycled the inserted
> tape. Suddenly Bacula says "Can not find any appendable volumes.Please
> use the "label" command to create a new volume for ...".
> Exactly one hour later, then Bacula automatically turns on with the
> backup as if nothing had happened.
> 
> At this point, Bacula has already found the right tape and prepared
> the tape for the next backup. Why then did he suddenly finds no tape
> anymore?
> 
> That makes Bacula since the update to version 3.0.2.
> 
> Here is the excerpt from the log:
> 
> 13-Jan 23:15 xxx-dir JobId 23366: shell command: run BeforeJob 
> "/etc/bacula/scripts/autoupdateslots.sh"
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Director xxx:9101
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 1000 OK: xxx-dir Version: 3.0.2 
> (18 July 2009)
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Enter a period to cancel a 
> command.
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: mount storage=Overland_ArcVault12
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Automatically selected Catalog: 
> XXX
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Using Catalog "XXX"
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Enter autochanger slot: 2
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 3001 Device "HP_Ultrium3_SCSI" 
> (/dev/nst0) is mounted with Volume "002059L3"
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: You have messages.
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Director xxx:9101
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 1000 OK: xxx-dir Version: 3.0.2 
> (18 July 2009)
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Enter a period to cancel a 
> command.
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: update slots
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Automatically selected Catalog: 
> XXX
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Using Catalog "XXX"
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: The defined Storage resources 
> are:
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob:      1: File
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob:      2: Overland_ArcVault12
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob:      3: Dell_PV-122T
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Select Storage resource (1-3): 2
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Storage daemon 
> Overland_ArcVault12 at xxx:9103 ...
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 3306 Issuing autochanger "slots" 
> command.
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Device "Overland_ArcVault12" has 
> 12 slots.
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Storage daemon 
> Overland_ArcVault12 at xxx:9103 ...
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 3306 Issuing autochanger "list" 
> command.
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Catalog record for Volume 
> "002018L3" updated to reference slot 3.
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Catalog record for Volume 
> "002059L3" updated to reference slot 2.
> 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: You have messages.
> 13-Jan 23:15 xxx-dir JobId 23366: Start Backup JobId 23366, 
> Job=backup_xxx.2010-01-13_23.15.00_32
> 13-Jan 23:15 xxx-dir JobId 23366: There are no more Jobs associated with 
> Volume "002018L3". Marking it purged.
> 13-Jan 23:15 xxx-dir JobId 23366: All records pruned from Volume "002018L3"; 
> marking it "Purged"
> 13-Jan 23:15 xxx-dir JobId 23366: Recycled volume "002018L3"
> 13-Jan 23:15 xxx-dir JobId 23366: Using Device "HP_Ultrium3_SCSI"
> 13-Jan 23:15 xxx-sd JobId 23366: Job backup_xxx.2010-01-13_23.15.00_32 
> waiting. Cannot find any appendable volumes.
> Please use the "label"  command to create a new Volume for:
>     Storage:      "HP_Ultrium3_SCSI" (/dev/nst0)
>     Pool:         xxx_daily
>     Media type:   LTO3
> 14-Jan 00:15 xxx-sd JobId 23366: 3307 Issuing autochanger "unload slot 2, 
> drive 0" command.
> 14-Jan 00:16 xxx-sd JobId 23366: 3304 Issuing autochanger "load slot 3, drive 
> 0" command.
> 14-Jan 00:17 xxx-sd JobId 23366: 3305 Autochanger "load slot 3, drive 0", 
> status is OK.
> 14-Jan 00:17 xxx-sd JobId 23366: Recycled volume "002018L3" on device 
> "HP_Ultrium3_SCSI" (/dev/nst0), all previous data lost.
> 14-Jan 00:17 xxx-sd JobId 23366: Spooling data ...
> 14-Jan 00:20 xxx-sd JobId 23366: User specified spool size reached.
> 14-Jan 00:20 xxx-sd JobId 23366: Writing spooled data to Volume. Despooling 
> 10,737,438,769 bytes ...
> 14-Jan 00:25 xxx-sd JobId 23366: Despooling elapsed time = 00:04:31, Transfer 
> rate = 39.62 M bytes/second
> 14-Jan 00:25 xxx-sd JobId 23366: Spooling data again ...
> 
> 
> Thank you!
> 
> 
> Jürgen
> 
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________ Bacula-users mailing list 
> Bacula-users AT lists.sourceforge DOT net 
> https://lists.sourceforge.net/lists/listinfo/bacula-users


-- 

Anton Albajes-Eizagirre
Researcher

Edifici de l'Observatori Fabra, Muntanya del Tibidabo
C. de l’Observatori Fabra s/n - 08035 – Barcelona - Spain
tel. +34 93 254 03 64, +34 93 254 03 66, antonae(Skype)
mob. +34 670 02 14 19
fax. +34 93 212 64 45
e-mail. anton.albajes AT starlab DOT es
PGP public key: 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x676FFE1C363C2AF0
___________________________________________________________
STARLAB, Living Science http://starlab.es

This e-mail and the attached files contain confidential information and
are of exclusive use for the addressee. The disclosure, copy and
distribution of the present message and its attachments are prohibited.
If you are not the intended recipient and you receive this
communication, we inform you that it is forbidden by law to read copy or
use it. Please notify us at info AT starlab DOT es and proceed immediately to
delete it.

Este correo electrónico y los archivos adjuntos al mismo [en su caso]
contienen información confidencial y de uso exclusivo para su
destinatario o destinatarios. Queda prohibida la divulgación, copia o
distribución de la información contenida en el mismo y, en su caso, de
la información contenida en los archivos que pueda llevar adjuntos. Si
usted recibe este correo por error, no siendo el destinatario del mismo,
le indicamos que por ley no le está permitido la lectura, copia y uso
del mismo. Se ruega lo notifique lo antes posible a la dirección
info AT starlab DOT es y proceda a borrar el mensaje inmediatamente después.

Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users