On Tue, 2007-06-12 at 14:14 -0700, Ross Boylan wrote: > The Berkeley Database apparently requires that hot backups read disk > pages atomically. They note that most system cp commands do so; I've > searched the manual, FAQ, and newsgroups, but can't find how bacula > operates when reading a file. > > Does anyone know if I can count on the reads taking whole pages? > > More generally, any tips on bdb backups with bacula would be great. > > I'm on Linux with a 2.6 kernel. > > Thanks. The bacula manual, under the discussion of FileSet | Sparse says "Bacula reads files in 32k buffers." I suppose this is not quite definitive about how the data are actually pulled off the disk.
I don't know what the page size is for Linux (I suppose it might vary by filesystem), and the page size that individual bdb apps use is determined by the app (the recommendation is that the app page size equal the disk page size). Ross ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users