Skip to content

DFC: DirectoryUsage issues #2382

@andresailer

Description

@andresailer

Two Issues with the DirectoryUsage for the DFC:

a)
I noticed some errors in the DirectoryUsage overview in the FileCatalogCLI

FC:/> size -l
directory: /
Logical Size: 2,533,639,186,906,667 Files: 11108048 Directories: 213751
    StorageElement                        Size                   Replicas 
=========================================================================
[...]
  8 PNNL-SRM                              -2,474,098,350,160     -118993 
[...]

Notice the negative size and number of replicas. This was probably caused by me unregistering all the replicas on PNNL-SRM, and in some cases unregistering replicas no longer present at PNNL-SRM, but those were still subtracted from the usage.

b)
When I tried to rebuild the directory usage this happened

FC:/> rebuild catalog
Error: Socket read timeout exceeded

At first the DirectyUsage was basically empty, but it has then filled up again.
Is this directoryUsage table slowly being rebuild? I can see some discrepancies between what I can get directly from the FC_Files or FC_Replicas tables (number of replicas per SE, total size) and what the "size -l" shows.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions