Bacula-users

[Bacula-users] cyclic dvd backup error (this time with log)

2010-04-01 09:03:19
Subject: [Bacula-users] cyclic dvd backup error (this time with log)
From: "Mads Rasmussen" <mads AT octotelematics DOT com>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 1 Apr 2010 09:59:53 -0300

 

I forgot to send the log – here it is

 

When trying to backup to DVD I’m getting cyclic errors.

 

I’m starting me a new job, change settings to use DVD media and the DVD pool.

Then I mount the DVD and create a new label.

After that I get a message that I have to mount the media.

After mounting again I get a message that I have to create a new label.

Then I have to mount again and so forth in cycles.

 

All files in the dvd spool are created with size 204 bytes.

 

Could someone cast some light on this? I have no problem with backup up to files.

 

Would it be possible to tell Bacula just to create the DVD files at the right size and then write them myself to the DVD writer?

 

Regards,

 

Mads

 

un

A job name must be specified.

The defined Job resources are:

     1: Octo

     2: BackupCatalog

     3: RestoreFiles

Select Job resource (1-3): 1

Run Backup job

JobName:  Octo

Level:    Incremental

Client:   GWTOCTOBrazil-fd

FileSet:  Full Set

Pool:     Default (From Job resource)

Storage:  File (From Job resource)

When:     2010-04-01 09:42:19

Priority: 10

OK to run? (yes/mod/no): mod

Parameters to modify:

     1: Level

     2: Storage

     3: Job

     4: FileSet

     5: Client

     6: When

     7: Priority

     8: Pool

Select parameter to modify (1-8): 2

The defined Storage resources are:

     1: File

     2: DVD

Select Storage resource (1-2): 2

Run Backup job

JobName:  Octo

Level:    Incremental

Client:   GWTOCTOBrazil-fd

FileSet:  Full Set

Pool:     Default (From Job resource)

Storage:  DVD (From user selection)

When:     2010-04-01 09:42:19

Priority: 10

OK to run? (yes/mod/no): mod

Parameters to modify:

     1: Level

     2: Storage

     3: Job

     4: FileSet

     5: Client

     6: When

     7: Priority

     8: Pool

Select parameter to modify (1-8): 8

The defined Pool resources are:

     1: Default

     2: Scratch

     3: DVDPool

Select Pool resource (1-3): 3

Run Backup job

JobName:  Octo

Level:    Incremental

Client:   GWTOCTOBrazil-fd

FileSet:  Full Set

Pool:     DVDPool (From User input)

Storage:  DVD (From user selection)

When:     2010-04-01 09:42:19

Priority: 10

OK to run? (yes/mod/no): yes

Job queued. JobId=9

*mount

The defined Storage resources are:

     1: File

     2: DVD

Select Storage resource (1-2): 2

3001 OK mount. Device="DVD Writer" (/dev/scd0)

*status jobs

The defined Storage resources are:

     1: File

     2: DVD

Select Storage resource (1-2): 2

Connecting to Storage daemon DVD at 192.168.0.141:9103

 

GWTOCTOBrazil-sd Version: 2.4.4 (28 December 2008) i486-pc-linux-gnu debian 5.0

Daemon started 01-Apr-10 09:30, 1 Job run since started.

 Heap: heap=348,160 smbytes=159,108 max_bytes=261,682 bufs=115 max_bufs=128

Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8

 

Running Jobs:

Writing: Incremental Backup job Octo.2010-04-01_09 JobId=8 Volume=""

    pool="Default" device="DVD Writer" (/dev/scd0)

    spooling=0 despooling=0 despool_wait=0

    Files=0 Bytes=0 Bytes/sec=0

    FDReadSeqNo=6 in_msg=6 out_msg=4 fd=5

====

 

Jobs waiting to reserve a drive:

====

 

Terminated Jobs:

 JobId  Level    Files      Bytes   Status   Finished        Name

===================================================================

     2  Full        515    838.2 M  Error    01-Apr-10 09:06 Octo.2010-03-31_19

     3  Full      2,401    8.630 G  OK       01-Apr-10 09:12 Octo.2010-03-31_19

     4  Full      2,401    8.630 G  OK       01-Apr-10 09:17 Octo.2010-03-31_23

     5  Full          1    871.0 K  OK       01-Apr-10 09:17 BackupCatalog.2010

03-31_23

     6  Incr          0         0   Error    01-Apr-10 09:22 Octo.2010-04-01_09

     7  Incr          0         0   Error    01-Apr-10 09:33 Octo.2010-04-01_09

====

 

Device status:

Device "FileStorage" (/export/bacula-file) is not open.

Device "DVD Writer" (/dev/scd0) is mounted with:

    Volume:

    Pool:        Default

    Media type:  DVD

    Device is BLOCKED waiting to create a volume for:

       Pool:        Default

       Media type:  DVD

    Total Bytes Read=0 Blocks Read=0 Bytes/block=0

    Positioned at File=0 Block=203

====

 

Used Volume status:

====

 

====

You have messages.

*messages

01-Apr 09:42 GWTOCTOBrazil-sd JobId 8: Job Octo.2010-04-01_09.36.03.04 waiting.

Cannot find any appendable volumes.

Please use the "label"  command to create a new Volume for:

    Storage:      "DVD Writer" (/dev/scd0)

    Pool:         Default

    Media type:   DVD

*label

The defined Storage resources are:

     1: File

     2: DVD

Select Storage resource (1-2): 2

Enter new Volume name: BaculaDVD0001

Defined Pools:

     1: Default

     2: Scratch

     3: DVDPool

Select the Pool (1-3): 3

Connecting to Storage daemon DVD at 192.168.0.141:9103 ...

Sending label command for Volume "BaculaDVD0001" Slot 0 ...

dvd.c:263 Error writing part 1 to the DVD: ERR=Error while writing part file:  C

annot get media info from /usr/bin/dvd+rw-mediainfo || errno = 0 (Success)

 

Marking Volume "BaculaDVD0001" in Error in Catalog.

3912 Failed to label Volume: ERR=dvd.c:265 Error while writing current part to t

he DVD: Error while writing part file:  Cannot get media info from /usr/bin/dvd+

rw-mediainfo || errno = 0 (Success)

 

Label command failed for Volume BaculaDVD0001.

Do not forget to mount the drive!!!

*mount

The defined Storage resources are:

     1: File

     2: DVD

Select Storage resource (1-2):

Select Storage resource (1-2): 2

Enter new Volume name: BaculaDVD0001

Defined Pools:

     1: Default

     2: Scratch

     3: DVDPool

Select the Pool (1-3): 3

Connecting to Storage daemon DVD at 192.168.0.141:9103 ...

Sending label command for Volume "BaculaDVD0001" Slot 0 ...

dvd.c:263 Error writing part 1 to the DVD: ERR=Error while writing part file:  C

annot get media info from /usr/bin/dvd+rw-mediainfo || errno = 0 (Success)

 

Marking Volume "BaculaDVD0001" in Error in Catalog.

3912 Failed to label Volume: ERR=dvd.c:265 Error while writing current part to t

he DVD: Error while writing part file:  Cannot get media info from /usr/bin/dvd+

rw-mediainfo || errno = 0 (Success)

 

Label command failed for Volume BaculaDVD0001.

Do not forget to mount the drive!!!

*mount

The defined Storage resources are:

     1: File

     2: DVD

Select Storage resource (1-2): 2

3001 OK mount. Device="DVD Writer" (/dev/scd0)

*messages

01-Apr 09:44 GWTOCTOBrazil-sd JobId 8: Job Octo.2010-04-01_09.36.03.04 waiting.

Cannot find any appendable volumes.

Please use the "label"  command to create a new Volume for:

    Storage:      "DVD Writer" (/dev/scd0)

    Pool:         Default

    Media type:   DVD

*

 

 

 

 

 

 

 

 

 

 

 

Mads Rasmussen
TI

Octo Telematics
mads AT octotelematics DOT com


Rua Leopoldo Couto de Magalhães Júnior, 110 | 8 andar
Itaim Bibi | São Paulo | SP | 04.542-000
+55 11 3074 0313 | 7533 6292

 

AVISO LEGAL

 

Esta mensagem, incluindo seus anexos, é destinada exclusivamente ao seu destinatário, podendo conter informação confidencial, privilegiada e/ou legalmente protegida. Se você não for o destinatário desta mensagem, fica ciente sobre a proibição de divulgar, copiar, distribuir, examinar ou, de qualquer forma, utilizar a informação contida nesta mensagem. Caso tenha recebido esta mensagem por engano, solicitamos sua devolução imediata ao remetente e a respectiva destruição do seu conteúdo em sua base de dados, registros ou sistema de controle.

 

LEGAL ADVICE

 

This message, including its attachments, is exclusively destined to the designated addressee(s), and it can contain private, privileged and/or legally protected information. If you are not the addressee of this message, do not release, copy, distribute, check or, otherwise, use the information contained in this message. If you received this message by mistake, please immediately forward the message back to the sender and eliminate its contents of your database, registrations or controls system.

 

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] cyclic dvd backup error (this time with log), Mads Rasmussen <=