In the documentation, it's advised to use different Media Type values for each 
device
(File1, File2, ...). From what I understand, if you don't, you might meet some 
problems
where the Director will try to access, for example, to Device SD_FULL to write 
your
incremental volumes.

This will lead to some errors. I got one this week actually, doing the same as 
you,
migrating from one disk device, to two disk devices, forgetting to set the 
correct spool
in one of the Job resource definitions.

The errors was the following (it took me some time to figure out what was 
wrong):

05-Jun 03:26 backup-dir: Start Backup JobId 2964, 
Job=catalog.2006-06-05_01.15.01
05-Jun 03:26 backup-sd: Volume "FILE_DAY_0004" previously written, moving to 
end of data.
05-Jun 03:30 backup-dir: catalog.2006-06-05_01.15.01 Fatal error: Volume Files 
at 1 being set to 0 for Volume "FILE_DAY_0004". This is incorrect.
05-Jun 03:30 backup-sd: catalog.2006-06-05_01.15.01 Fatal error: Error getting 
Volume info: 1992 Update Media error. VolFiles=0, CatFiles=1
05-Jun 03:30 prophecy-fd: catalog.2006-06-05_01.15.01 Fatal error: Bad status 
102 returned from Storage Daemon.
05-Jun 03:30 backup-dir: catalog.2006-06-05_01.15.01 Error: Bacula 1.38.3 
(04Jan06): 05-Jun-2006 03:30:26

Volume file FILE_DAY_0004 was and had to be in one spool, but the above job 
tried to
access it in the other pool, which lead to this error. However FILE_DAY_0004 
was created
and filed in the bad spool directory, and I had to remove and hope nothing is 
wrong in the
database.

Scott Ruckh wrote:
> Device {
> Name = SD_FULL
> Media Type = File
> Archive Device = /BACKUPS/Full
> LabelMedia = yes;                   # lets Bacula label unlabeled media
> Random Access = Yes;
> AutomaticMount = yes;               # when device opened, read it
> RemovableMedia = no;
> AlwaysOpen = no;
> }
>
> Device {
> Name = SD_INCR
> Media Type = File
> Archive Device = /BACKUPS/Incremental
> LabelMedia = yes;                   # lets Bacula label unlabeled media
> Random Access = Yes;
> AutomaticMount = yes;               # when device opened, read it
> RemovableMedia = no;
> AlwaysOpen = no;
> }



-- 
Baptiste MALGUY - IT Engineer                               SOLSOFT
PGP Fingerprint: 2A90 B6D1 855F 1584 FE68  94AC CCD6 36D0 3DC7 DCB8
www.solsoft.com - phone: +33 1 47 15 04 00 - fax: +33 1 47 15 55 09
                 How secure networks are managed.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to