Hello,

We use bacula-sd.exe on a Windows 2003 Server with file storage.
Backups are correct when bacula create a "new volume / new file". Two 
problems appear when bacula want to reuse a purged volume.
The size of our files are < 2 Gb. That doesn't seem the same problem as 
the one described in the thread  
http://thread.gmane.org/gmane.comp.sysutils.backup.bacula.general/34475/focus=34561.
 


The context :
- bacula-dir v2.4.4 on a Linux machine
- bacula-sd v2.4.4 on a Windows machine (Windows server 2003), antivirus 
is stopped during this operation.
- bacula-fd v2.4.4 on a Linux machine
- Device Type = File

----- step 1 -----
When bacula want to reuse a purged volume, I get the following error :

17-mar 10:23 bacula-dir JobId 805: Start Backup JobId 805, 
Job=JOBprojets.2009-03-17_10.23.46.28
17-mar 10:23 bacula-dir JobId 805: Recycled volume "JOBprojets-Incr-0069"
17-mar 10:23 bacula-dir JobId 805: Using Device "DEVaubanceprojets"
17-mar 10:23 nas0-sd JobId 805: Fatal error: ../../stored/label.c:482 
Truncate error on device "DEVaubanceprojets" (d:/svg/aubance/projets): 
ERR=../../stored/dev.c:1971 Unable to stat device "DEVaubanceprojets" 
(d:/svg/aubance/projets). ERR=Descripteur non valide

On the Windows server, Filemon says :

1831    10:23:44 AM     bacula-sd.exe:1812      OPEN    
D:\svg\aubance\projets\JOBprojets-Incr-0069     SUCCESS Options: Open  
Access: 0012019F
1832    10:23:44 AM     bacula-sd.exe:1812      READ    
D:\svg\aubance\projets\JOBprojets-Incr-0069     SUCCESS Offset: 0 
Length: 64512
1833    10:23:44 AM     bacula-sd.exe:1812      READ    
D:\svg\aubance\projets\JOBprojets-Incr-0069     SUCCESS Offset: 0 
Length: 12288
1834    10:23:44 AM     bacula-sd.exe:1812      SET INFORMATION         
D:\svg\aubance\projets\JOBprojets-Incr-0069     SUCCESS Length: 0 
1835    10:23:44 AM     bacula-sd.exe:1812      SET INFORMATION         
D:\svg\aubance\projets\JOBprojets-Incr-0069     SUCCESS Length: 0  

This is the first problem : The file "JOB-Incr-0069" is reinitialized 
with a zero byte size. The volume "JOBprojets-Incr-0069" receives the 
"Error" status . The JOB is cancelled.

----- step 2 -----
I run again the same job. The job seems OK. I get no error on the console :

17-mar 10:33 bacula-dir JobId 806: Start Backup JobId 806, 
Job=JOBprojets.2009-03-17_10.33.04.30
17-mar 10:33 bacula-dir JobId 806: There are no more Jobs associated 
with Volume "JOBprojets-Incr-0079". Marking it purged.
17-mar 10:33 bacula-dir JobId 806: All records pruned from Volume 
"JOBprojets-Incr-0079"; marking it "Purged"
17-mar 10:33 bacula-dir JobId 806: Recycled volume "JOBprojets-Incr-0079"
17-mar 10:33 bacula-dir JobId 806: Using Device "DEVaubanceprojets"
17-mar 10:33 nas0-sd JobId 806: Labeled new Volume 
"JOBprojets-Incr-0079" on device "DEVaubanceprojets" 
(d:/svg/aubance/projets).
17-mar 10:33 nas0-sd JobId 806: Wrote label to prelabeled Volume 
"JOBprojets-Incr-0079" on device "DEVaubanceprojets" 
(d:/svg/aubance/projets)
17-mar 10:33 bacula-dir JobId 806: Max Volume jobs exceeded. Marking 
Volume "JOBprojets-Incr-0079" as Used.
17-mar 10:33 nas0-sd JobId 806: Job write elapsed time = 00:00:01, 
Transfer rate = 0  bytes/second
17-mar 10:33 bacula-dir JobId 806: Bacula bacula-dir 2.4.4 (28Dec08): 
17-mar-2009 10:33:08
 Build OS:               i686-pc-linux-gnu debian 4.0
 JobId:                  806
 Job:                    JOBprojets.2009-03-17_10.33.04.30
 Backup Level:           Incremental, since=2009-03-17 10:22:05
 Client:                 "aubance-fd" 2.4.4 (28Dec08) 
i686-pc-linux-gnu,debian,4.0
 FileSet:                "LOTprojets" 2008-04-30 11:11:21
 Pool:                   "POOL-Incr-projets" (From Job IncPool override)
 Storage:                "FILEprojets" (From Job resource)
 Scheduled time:         17-mar-2009 10:33:00
 Start time:             17-mar-2009 10:33:06
 End time:               17-mar-2009 10:33:08
 Elapsed time:           2 secs
 Priority:               20
 FD Files Written:       0
 SD Files Written:       0
 FD Bytes Written:       0 (0 B)
 SD Bytes Written:       0 (0 B)
 Rate:                   0.0 KB/s
 Software Compression:   None
 VSS:                    no
 Storage Encryption:     no
 Volume name(s):         Volume Session Id:      20
 Volume Session Time:    1236701740
 Last Volume Bytes:      645 (645 B)
 Non-fatal FD errors:    0
 SD Errors:              0
 FD termination status:  OK
 SD termination status:  OK
 Termination:            Backup OK

On the Windows server, Filemon says :

1836    10:33:02 AM     bacula-sd.exe:1812      READ    
D:\svg\aubance\projets\JOBprojets-Incr-0069     END OF FILE     Offset: 
0 Length: 64512
1837    10:33:02 AM     bacula-sd.exe:1812      WRITE   
D:\svg\aubance\projets\JOBprojets-Incr-0069     SUCCESS Offset: 0 
Length: 225
1838    10:33:02 AM     bacula-sd.exe:1812      READ    
D:\svg\aubance\projets\JOBprojets-Incr-0069     SUCCESS Offset: 0 
Length: 64512
1839    10:33:02 AM     bacula-sd.exe:1812      WRITE   
D:\svg\aubance\projets\JOBprojets-Incr-0069     SUCCESS Offset: 0 
Length: 225 
1840    10:33:03 AM     bacula-sd.exe:1812      WRITE   
D:\svg\aubance\projets\JOBprojets-Incr-0069     SUCCESS Offset: 225 
Length: 420
1841    10:33:03 AM     bacula-sd.exe:1812      CLOSE   
D:\svg\aubance\projets\JOBprojets-Incr-0069     SUCCESS

This is the second problem : bacula-sd works with the file 
"JOBprojets-Incr-0069" and bacula-dir works with the volume 
"JOBprojets-Incr-0079". This volume appears in the mysql database but 
the file "JOBprojets-Incr-0079" doesn't exist.

Have you any idea on these problems ?

Thank you for your help,

Michel


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to