Posts by kamil.krasnik

    Quote from marcelvanherk

    ...
    A temporary patch: just return a large number in CheckFreeStoreOnCACHEDevice in device.cpp (line 706) like "return 5000000".
    ...


    I modified CheckFreeStoreOnCACHEDevice function as follows:



    Thanks for your support, Marcel.

    Essential lines from my config file:


    Code
    CACHEDevices = 1CACHEDevice0 = ./cache/cd%02d_%04d/JUKEBOXDevices = 1JUKEBOXDevice0 = ./jukebox/cd00_%04d/


    1) I run 'dgate -v' then 'dgate -v --selectlruforarchival:15000,MAG0'. Output was as follows:

    Code
    ...Total Size = 12581 KBArchival: 12581 KB will be written for patient: 19288_06Query Tables: DICOMImagesColumns : DicomImages.DeviceName, DicomImages.ObjectFileWhere : DICOMImages.ImagePat = '0009703828' and DICOMImages.DeviceName = 'MAG0.Archiving'Order : (null)./data/HEAD_EXP_00097038/0001_002000_892665661.v2 = 204 KB./data/HEAD_EXP_00097038/0001_003000_892665662.v2 = 204 KBTotal Size = 409 KBArchival: 409 KB will be written for patient: 0009703828Archival: total archive amount: 12990 KB


    2) I run 'dgate -v --preparebunchforburning' and got:

    Code
    ...
    Total Size = 12581 KB
    ***Error getting free store for device ./cache/cd-1075671448_779314537/
    Archival: *** could not find cache drive with enough space (22990 KB)