So as I understand, first of all pieces are sent to trash and only later actually deleted from disk. Which is what I can witness by lines like:
2023-01-01T01:11:44.794Z INFO piecedeleter delete piece sent to trash {"Process": "storagenode", "Satellite ID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S", "Piece ID": "JER35XTPIPLZRSB5RHEBAKQGCY3BL4FUPNFMVLZG6DPOKSQA4ZHQ"}
and those appear very often:
And then I’m seeking to find actual deletion from disk being logged, which is (as I understand) lines like these:
2023-01-01T01:11:45.712Z DEBUG blobscache deleted piece {"Process": "storagenode", "Satellite ID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "disk space freed in bytes": 929536}
2023-01-01T01:11:45.776Z DEBUG pieces deleted piece {"Process": "storagenode", "Satellite ID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Piece ID": "WOBLUMFFKDIYAHI6EFR7637Z45YFKRG5QW6EWQ7MRRNPLRR6JNHQ"}
2023-01-01T01:11:45.776Z INFO collector deleted expired piece {"Process": "storagenode", "Satellite ID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Piece ID": "WOBLUMFFKDIYAHI6EFR7637Z45YFKRG5QW6EWQ7MRRNPLRR6JNHQ"}
However those appear to be relatively rare. What I witnessed tonight, was ~2GB deletion in 1 hour:
But all I see in log around that time regarding deletion is the start of emptying trash:
2023-01-03T01:11:44.101Z DEBUG pieces:trash starting to empty trash {"Process": "storagenode"}
And nothing about actual deletion:
[root@localhost ~]# grep -P "2023-01-03T0(1|2)" /storj/node.log | egrep -v "download started|downloaded|download canceled|download failed|upload started|uploaded|upload|canceled|sent to trash|pinged|orders"
2023-01-03T01:11:44.059Z INFO bandwidth Performing bandwidth usage rollups {"Process": "storagenode"}
2023-01-03T01:11:44.101Z DEBUG pieces:trash starting to empty trash {"Process": "storagenode"}
2023-01-03T01:11:44.689Z DEBUG version Allowed minimum version from control server. {"Process": "storagenode", "Minimum Version": "1.24.0"}
2023-01-03T01:11:44.690Z DEBUG version Running on allowed version. {"Process": "storagenode", "Version": "1.69.2"}
2023-01-03T02:11:44.060Z INFO bandwidth Performing bandwidth usage rollups {"Process": "storagenode"}
[root@localhost ~]#
So my question is - how do I correctly identify actual deletion from disk?