Bugfix Storage Node used space calculation
The used space calculation now takes the trash folder (garbage collection) into account.
there must have been extreme confidence on the fix to push it out on a holiday congrats
The fix was ready a few days ago but we couldn’t push it because the code sign certificate was expired. There is a chance that storage node run out of space and get disqualified because of this bug. Therfore my descision was to push the fix as soon as possible even if that means we have to spend an hour on our holidays.
That’s great work ethic! It’s very much appreciated.
Thx a lot for such dedication
Great job getting this fixed and released so quickly!
Just checked on my StorageNodes, they both updated fine and on my 500GB storage node all looks fine now! Great work guys!
23 posts were split to a new topic: Live connections doesn’t closed for hours
Looks like my node has 492GB in the trash but my storage node thinks I have more space to share. Used space on the drive is 3.1TB but dashboard shows 2.8TB used. sudo du -hs data-dir shows the same as df -h.
3.1T /opt/storj/data/storage
492G /opt/storj/data/storage/trash
Filesystem Size Used Avail Use% Mounted on
udev 12G 0 12G 0% /dev
tmpfs 2.4G 1.4M 2.4G 1% /run
/dev/sda3 71G 38G 30G 57% /
tmpfs 12G 0 12G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 12G 0 12G 0% /sys/fs/cgroup
/dev/sda1 453M 210M 216M 50% /boot
/dev/sdb1 3.4T 3.1T 181G 95% /opt
tmpfs 2.4G 12K 2.4G 1% /run/user/1000
overlay 71G 38G 30G 57% /var/lib/docker/overlay2/214d00113d8b96d83bfc2ce0a5e273a880a665a57ffc3178d3122038b2b847d6/merged
shm 64M 0 64M 0% /var/lib/docker/containers/1f7bacce7c2aea3a0c5d432489156ce5cd2588dfe4f4687c09c3e3d7c114c86f/mounts/shm
overlay 71G 38G 30G 57% /var/lib/docker/overlay2/50a344cccfaa7bc1553fe166dd0fd4595abe1bc7354f788ccb3f17ae2812f62f/merged
shm 64M 0 64M 0% /var/lib/docker/containers/8288c87b40aacb7aae3f2bda9aa0d4017af824dd0f120f0a80fdbdf081925fb5/mounts/shm
Just a heads up, but I don’t think the garbage collection is necessarily fixed.