Changeset 686


Ignore:
Timestamp:
Jul 6, 2006, 1:19:31 PM (13 years ago)
Author:
andree
Message:

Doubled MAX_TAPECATALOG_ENTRIES to 8192 and increased
bkpinfo->optimal_set_size to 16MB for both streaming and non-streaming
backups to avoid problem where afio says 'No space left on device'
because we've run out of tape catalog entries.

Note that this is a temporary measure which will be replaced by dynamic
memory configuration soon(ish).

This is also the fix for Debian Bug #369321. Further details can be
found there.

Location:
branches/stable/mondo/mondo/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/mondo/common/libmondo-tools.c

    r680 r686  
    586586    malloc_string(iso_path);
    587587    bkpinfo->optimal_set_size =
    588         (IS_THIS_A_STREAMING_BACKUP(bkpinfo->backup_media_type) ? 4 : 8) *
     588        (IS_THIS_A_STREAMING_BACKUP(bkpinfo->backup_media_type) ? 16 : 16) *
    589589        1024;
    590590
  • branches/stable/mondo/mondo/common/my-stuff.h

    r677 r686  
    265265#define NOOF_ERR_LINES 6        ///< The number of lines of log output to keep at the bottom of the screen.
    266266#define ARBITRARY_MAXIMUM 2000  ///< The maximum number of items showing at once in the mountlist or filelist editor.
    267 #define MAX_TAPECATALOG_ENTRIES 4096    ///< The maximum number of entries in the tape catalog.
     267#define MAX_TAPECATALOG_ENTRIES 8192    ///< The maximum number of entries in the tape catalog.
    268268#define MAX_STR_LEN 380         ///< The maximum length of almost all @p char buffers in Mondo.
    269269#define MAXIMUM_RAID_DEVS 32    ///< The maximum number of RAID devices in the raidlist.
Note: See TracChangeset for help on using the changeset viewer.