Hi Bacula-Users,
i use a setup with two disks based on autochanger to save my backups -
see configuration below. The changing between the two disks for
different jobs works fine, but in the case during a backup one disk gets
full, the backup fails because it does not change the disk in this case.
So in my case, backup61which points on FileStorageRAID-Dev0 fills the
disk up. Then bacula mounts a new volume (backup62), but instead of
using FileStorageRAID-Dev1 is still uses (the full) FileStorageRAID-Dev0
which then fails because of disk full:
13-Jan 20:19 NASBox-dir JobId 153: Volume used once. Marking Volume
"backup0061" as Used.
13-Jan 20:25 NASBox-dir JobId 153: Volume used once. Marking Volume
"backup0061" as Used.
13-Jan 20:25 NASBox-sd JobId 153:*End of Volume "backup0061" at 3222547279824 on device
"FileStorageRAID-Dev0" (/RAID/BACKUP_RAID). Write of 64512 bytes got -1.*
13-Jan 20:25 NASBox-sd JobId 153: End of medium on Volume "backup0061"
Bytes=3,222,547,279,824 Blocks=49,952,680 at 13-Jan-2020 20:25.
13-Jan 20:25 NASBox-dir JobId 153: Created new Volume="backup0062", Pool="FileRAID",
MediaType="FileRAID" in catalog.
13-Jan 20:25 NASBox-sd JobId 153: Labeled new Volume "backup0062" on File device
"*FileStorageRAID-Dev0*" (/RAID/BACKUP_RAID).
13-Jan 20:25 NASBox-sd JobId 153: Wrote label to prelabeled Volume "backup0062" on File
device "FileStorageRAID-Dev0" (/RAID/BACKUP_RAID)
13-Jan 20:25 NASBox-dir JobId 153: Volume used once. Marking Volume
"backup0062" as Used.
13-Jan 20:25 NASBox-sd JobId 153: New volume "backup0062" mounted on device
"FileStorageRAID-Dev0" (/RAID/BACKUP_RAID) at 13-Jan-2020 20:25.
13-Jan 20:27 NASBox-sd JobId 153: Fatal error: Out of freespace caused End of Volume
"backup0062" at 774595809 on device "FileStorageRAID-Dev0" (/RAID/BACKUP_RAID).
Write of 64512 bytes got -1.
13-Jan 20:27 bsastf670-fd JobId 153: Error: bsock.c:646 Write error sending
65540 bytes to Storage daemon:NASBox:9103: ERR=Connection reset by peer
13-Jan 20:27 NASBox-sd JobId 153: Elapsed time=13:41:01, Transfer rate=65.38 M
Bytes/second
13-Jan 20:27 bsastf670-fd JobId 153: Fatal error: backup.c:842 Network send
error to SD. ERR=Connection reset by peer
13-Jan 20:27 bsastf670-fd JobId 153: Error: bsock.c:536 Socket has errors=1 on
call to Storage daemon:NASBox:9103
13-Jan 20:28 NASBox-dir JobId 153: Error: Bacula NASBox-dir 9.0.6 (20Nov17):
How can i prevent this and give bacula a hint to change to the free disk?
Best regards,
Stefan
Autochanger {
Name = FileStorageRAID
Device = FileStorageRAID-Dev0, FileStorageRAID-Dev1
Changer Command = /dev/null
Changer Device = /dev/null
}
Device {
Name = FileStorageRAID-Dev0
Media Type = FileRAID
Archive Device = /RAID/BACKUP_RAID
LabelMedia = yes
Random Access = yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
Maximum Concurrent Jobs = 5
Autochanger = yes
Drive Index = 0
}
Device {
Name = FileStorageRAID-Dev1
Media Type = FileRAID
Archive Device = /RAID3/BACKUP_RAID
LabelMedia = yes
Random Access = yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
Maximum Concurrent Jobs = 5
Autochanger = yes
Drive Index = 1
}
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users