Bacula stops writing to disk volume after 2GB

Posted by m.list on Server Fault See other posts from Server Fault or by m.list
Published on 2012-12-06T16:26:24Z Indexed on 2012/12/06 17:06 UTC
Read the original article Hit count: 183

Filed under:

Bacula Version: 5.2.5

I have configured bacula to write volumes to disk, however bacula stops writing to the volume as soon as it reaches 2gb. The file system is not an issue as I have stored files larger than 2gb.

06-Dec 17:22 backup-sd JobId 8421: End of Volume "Full-Monthly-0005" at 0:2147475577 on device "FileStorage" (/nfs/backup-pool). Write of 64512 bytes got 8069.
06-Dec 17:22 backup-sd JobId 8421: End of medium on Volume "Full-Monthly-0005" Bytes=2,147,475,578 Blocks=33,288 at 06-Dec-2012 17:22.


backup1@backup:/nfs/backup-pool$ ls -alh Full-Monthly-0005 <br>
-rw-r----- 1 bacula tape 2.0G Dec  3 16:14 Full-Monthly-0005

bacula-dir.conf:
Pool {
 Name = Full-Monthly
 Pool Type = Backup
 Recycle = yes
 Volume Retention = 5 months
 Volume Use Duration = 1 day
 Maximum Volumes = 5
 Maximum Volume Bytes = 12gb
}

bacula-sd.conf:
Device {
 Name = FileStorage
 Media Type = File
 Archive Device = /nfs/backup-pool
 LabelMedia = yes                   # lets Bacula label unlabeled media
 Random Access = Yes
 RemovableMedia = no
 AlwaysOpen = no
 Label media = yes
 Maximum Volume Size = 12gb
}

In my original configuration Maximum Volume Bytes and Maximum Volume Size were not set at all and so should have defauted to no maximum but that did not work either.

© Server Fault or respective owner

Related posts about bacula