dCache / dcache

dCache - a system for storing and retrieving huge amounts of data, distributed among a large number of heterogenous server nodes, under a single virtual filesystem tree with a variety of standard access methods
https://dcache.org
276 stars 132 forks source link

In some situations pool miscalculates free space #7612

Open kofemann opened 1 week ago

kofemann commented 1 week ago

Observed on a production system with 9.2.20 sometimes pools miscalculate free space and fails, as soon as file system becomes full. The issue is 'fixed' with restart, thus points to runtime miscalculation:

Info before restart:

State : OPEN
Files : 90105
Disk space
    Total    : 568020368964872
    Used     : 566376188506033    [0.9971054198957068]
    Free     : 1644180458839    Gap : 214748364800
    Precious : 0    [0.0]
    Removable: 3812114931421    [0.0067112292792738774]
File system
    Size : 572009121579008
    Free : 1644230131712    [0.0028744823634510746]
Limits for maximum disk space
    File system          : 568020418637745
    Statically configured: -
    Runtime configured   : 571794373214208

Info after reboot:

State : OPEN
Files : 90105
Disk space
    Total    : 545305608M
    Used     : 566376188506033    [0.9905242426963421]
    Free     : 5418184708175    Gap : 214748364800
    Precious : 0    [0.0]
    Removable: 3812114931421    [0.006666933271819535]
File system
    Size : 572009121579008
    Free : 1644205625344    [0.002874439520833579]
Limits for maximum disk space
    File system          : 568020394131377
    Statically configured: -
    Runtime configured   : 571794373214208