Bacula-users

Re: [Bacula-users] Unable to open device

2012-06-14 06:12:40
Subject: Re: [Bacula-users] Unable to open device
From: Demeter Tibor <tdemeter AT itsmart DOT hu>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 14 Jun 2012 12:09:38 +0200 (CEST)
Hi,
I found the problem.
It was a bad parameter in bacula-sd.conf, alwaysopen = no instead of yes.


:)

Tibor


Hi Folks,

I have a problem with my library. I always get an error when i make a backup or restore, but the backup and restore successfully completed.

[...]

Tape 
Error: dev.c:506 Unable to open device "DELL-TL4000" (/dev/nst0): ERR=No medium found
Tape Ready to append to end of Volume "000024L3" at file=478.
bacula-dir Start Backup JobId 799, Job=vps-appsys.2012-06-13_03.05.00_15
bacula-dir Using Device "DELL-TL4000"
Tape End of Volume "000024L3" at 495:2311 on device "DELL-TL4000" (/dev/nst0). Write of 131072 bytes got -1.
Tape 3307 Issuing autochanger "unload slot 11, drive 0" command.
 Re-read of last block succeeded.
 End of medium on Volume "000024L3" Bytes=486,472,900,608 Blocks=3,711,500 at 13-Jun-2012 03:10.
Tape 3301 Issuing autochanger "loaded? drive 0" command.
Tape 3302 Autochanger "loaded? drive 0", result: nothing loaded.
 3304 Issuing autochanger "load slot 10, drive 0" command.
Tape 3305 Autochanger "load slot 10, drive 0", status is OK.
Tape 
Error: dev.c:506 Unable to open device "DELL-TL4000" (/dev/nst0): ERR=No medium found
 Recycled volume "000042L3" on device "DELL-TL4000" (/dev/nst0), all previous data lost.
 New volume "000042L3" mounted on device "DELL-TL4000" (/dev/nst0) at 13-Jun-2012 03:12.
bacula-dir Recycled volume "000042L3"
 All records pruned from Volume "000042L3"; marking it "Purged"
 There are no more Jobs associated with Volume "000042L3". Marking it purged.
mydomain.tld shell command: run ClientAfterJob "/etc/bacula/deletesnapshot.sh"
Tape Job write elapsed time = 00:56:11, Transfer rate = 50.24 M Bytes/second
mydomain.tld ClientAfterJob:   Logical volume "vpssnapshot" successfully removed

bacula-dir End auto prune.

 Pruned Files from 1 Jobs for client mydomain.tld from catalog.
 Pruned 1 Job for client mydomain.tld from catalog.
 Begin pruning Files.
 Begin pruning Jobs older than 14 days .
 Bacula bacula-dir 5.2.6 (21Feb12):
  Build OS:               x86_64-redhat-linux-gnu redhat Enterprise release
  JobId:                  799
  Job:                    vps-appsys.2012-06-13_03.05.00_15
  Backup Level:           Full
  Client:                 "mydomain.tld" 5.2.6 (21Feb12) x86_64-redhat-linux-gnu,redhat,Enterprise release
  FileSet:                "vps-snapshot" 2012-03-05 07:47:28
  Pool:                   "Tapepool" (From Job resource)
  Catalog:                "MyCatalog" (From Client resource)
  Storage:                "DELL-TL4000" (From Pool resource)
  Scheduled time:         13-Jun-2012 03:05:00
  Start time:             13-Jun-2012 03:05:06
  End time:               13-Jun-2012 04:05:25
  Elapsed time:           1 hour 19 secs
  Priority:               10
  FD Files Written:       1
  SD Files Written:       1
  FD Bytes Written:       169,372,745,728 (169.3 GB)
  SD Bytes Written:       169,372,745,841 (169.3 GB)
  Rate:                   46801.0 KB/s
  Software Compression:   None
  VSS:                    no
  Encryption:             no
  Accurate:               no
  Volume name(s):         000024L3|000042L3
  Volume Session Id:      35
  Volume Session Time:    1339016400
  Last Volume Bytes:      152,148,271,104 (152.1 GB)
  Non-fatal FD errors:    0
  SD Errors:              2
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK -- with warnings
I tested my device with the dell tape util, but does not found errors. The backup work with tar and mtx commands without problems.

Any idea?

Best regards,

Tibor

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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>