Bacula-users

Re: [Bacula-users] Bacula stops writing to disk volume after 2GB

2012-12-06 12:17:47
Subject: Re: [Bacula-users] Bacula stops writing to disk volume after 2GB
From: "Melissari, Ryan" <rmelissari AT tamu DOT edu>
To: "m.list" <mail.lister2 AT googlemail DOT com>
Date: Thu, 6 Dec 2012 11:10:36 -0600 (CST)
> 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
> 
> 
> 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.
> 
> 
> llist media pool=Full-Monthly
> 
>           MediaId: 72
>        VolumeName: Full-Monthly-0005
>              Slot: 0
>            PoolId: 5
>         MediaType: File
>      FirstWritten: 2012-12-06 16:25:09
>       LastWritten: 2012-12-06 17:22:21
>         LabelDate: 2012-12-06 16:25:03
>           VolJobs: 1
>          VolFiles: 0
>         VolBlocks: 33,288
>         VolMounts: 3
>          VolBytes: 2,147,475,578
>         VolErrors: 0
>         VolWrites: 99,870
>  VolCapacityBytes: 0
>         VolStatus: Full
>           Enabled: 1
>           Recycle: 1
>      VolRetention: 12,960,000
>    VolUseDuration: 86,400
>        MaxVolJobs: 0
>       MaxVolFiles: 0
>       MaxVolBytes: 12,000,000,000
>         InChanger: 0
>           EndFile: 0
>          EndBlock: 2,147,475,577
>          VolParts: 0
>         LabelType: 0
>         StorageId: 1
>          DeviceId: 0
>        LocationId: 0
>      RecycleCount: 2
>      InitialWrite: 0000-00-00 00:00:00
>     ScratchPoolId: 0
>     RecyclePoolId: 0
>           Comment: NULL
> 
> 

If the volume was created before you made the changes to the pool resource, you 
will need to run the update volume command from the console for the volumes to 
refresh their values.  Just to double-check, what is the file system for 
/nfs/backup-pool/ ?

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users