# Delta between used space on disk and used space on dashboard

**URL:** <https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784>\
**Category:** troubleshooting\
**Tags:** storage, docker, exfat, raspberry, web-dashboard\
**Created:** [May 23, 2023, 8:43pm UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784 "2023-05-23T20:43:01Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alfred](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alfred/32/1131_2.png) [@Alfred](https://forum.storj.io/u/Alfred)\
**Post date:** [May 23, 2023, 8:43pm UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/1 "2023-05-23T20:43:01Z")

</div>

Hi mates,

why does my 5,1 TB disk say it’s full but my storage node has only 4,1 max space configured? Can I equalize this gap? Seems like I have a lot of unused stuff lying in my storj folder.

Please help!  
Alfred

 ![Screenshot_2023-05-23-22-43-39-637_com.brave.browser](https://storj-s3.bcdn.literatehosting.net/original/2X/3/3909df69235f33fb70dd3cead3c63426410a607a.jpeg)

---

<div class="post-metadata">

**Author:** ![JWvdV](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jwvdv/32/7814_2.png) [@JWvdV](https://forum.storj.io/u/JWvdV)\
**Post date:** [May 23, 2023, 8:49pm UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/2 "2023-05-23T20:49:49Z")

</div>

On what OS are you?  
And what do you mean by disk saying it’s full?  
This disk space refers to your configured disk space and not to the real disk-space on the hard drive.

---

<div class="post-metadata">

**Author:** ![Alfred](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alfred/32/1131_2.png) [@Alfred](https://forum.storj.io/u/Alfred)\
**Post date:** [May 23, 2023, 10:46pm UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/3 "2023-05-23T22:46:54Z")

</div>

It’s on a raspberry pi with external hard drive:

dev/sda2 5,1T 5,0T 67G 99% /media/pi/LaCie

Is there a way to clean up my whole drive or storj folders?

I am also asking, cause I fell like this is the reason why the node is crashing from time to time.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [May 24, 2023, 3:42am UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/5 "2023-05-24T03:42:12Z")

</div>

There is no way to clean up this disk from Storj’s data without disqualification.  
The only exception is `temp` folder, see

> [@Large temporary folder](https://forum.storj.io/t/large-temporary-folder/8687/42):
>
> find temp/ -mtime +3 -type f -delete Make sure you’re in the right folder. This will delete all files in temp/ older than 3 days.

What’s your allocated space in the `STORAGE` option of your `docker run` command?  
You should have a reserve of 10% when you configured an allocation, for the 5.1 TiB disk it should not be more than 5TB.

From the dashboard it looks like your `STORAGE=4.07TB`, and 4.06TB is used, so no discrepancy here.

Please show result of this command:

```auto
df -T --si

```

---

<div class="post-metadata">

**Author:** ![Alfred](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alfred/32/1131_2.png) [@Alfred](https://forum.storj.io/u/Alfred)\
**Post date:** [May 24, 2023, 4:54am UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/6 "2023-05-24T04:54:32Z")

</div>

Hi Alfred,  
I allocated only 4.1 gb for the reason you mentioned. I want to increase, but it’s already full.

Here my drive spaces and my LS of mounted drive:

df -T --si  
Dateisystem Typ Größe Benutzt Verf. Verw% Eingehängt auf  
/dev/root ext4 16G 11G 4,7G 69% /  
devtmpfs devtmpfs 450M 0 450M 0% /dev  
tmpfs tmpfs 485M 0 485M 0% /dev/shm  
tmpfs tmpfs 485M 38M 448M 8% /run  
tmpfs tmpfs 5,3M 4,1k 5,3M 1% /run/lock  
tmpfs tmpfs 485M 0 485M 0% /sys/fs/cgroup  
/dev/mmcblk0p1 vfat 265M 51M 214M 20% /boot  
tmpfs tmpfs 97M 4,1k 97M 1% /run/user/1000  
/dev/sda2 exfat 5,1T 5,0T 54G 99% /media/pi/LaCie

CD /media/pi/LaCie  
ls -laSh  
insgesamt 484K  
drwxr-xr-x 11 pi pi 256K Mai 24 03:09 .  
drwxr-xr-x 2 pi pi 256K Mär 28 2021 ‘$RECYCLE.BIN’  
drwxr-xr-x 2 pi pi 256K Mär 28 2021 FOUND.000  
drwxr-xr-x 2 pi pi 256K Okt 3 2020 .fseventsd  
drwxr-xr-x 3 pi pi 256K Mär 28 2021 identity  
drwxr-xr-x 4 pi pi 256K Okt 7 2020 orders  
drwxr-xr-x 3 pi pi 256K Okt 3 2020 .Spotlight-V100  
drwxr-xr-x 6 pi pi 256K Mai 24 06:55 storage  
drwxr-xr-x 2 pi pi 256K Mär 28 2021 ‘System Volume Information’  
drwxr-xr-x 4 pi pi 256K Mär 28 2021 .Trash-1000  
-rwxr-xr-x 1 pi pi 32K Mai 23 20:35 revocations.db  
-rwxr-xr-x 1 pi pi 8,4K Okt 7 2020 config.yaml  
drwxr-x—+ 3 root root 4,0K Mai 23 19:57 …  
-rwxr-xr-x 1 pi pi 1,4K Mär 3 10:00 trust-cache1.json  
-rwxr-xr-x 1 pi pi 1,4K Mai 24 03:09 trust-cache.json  
-rwxr-xr-x 1 pi pi 253 Mär 28 2021 docker.txt

---

<div class="post-metadata">

**Author:** ![andrew2.hart](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/andrew2.hart/32/6415_2.png) [@andrew2.hart](https://forum.storj.io/u/andrew2.hart)\
**Post date:** [May 24, 2023, 5:11am UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/7 "2023-05-24T05:11:45Z")

</div>

> [@Alfred](#):
>
> insgesamt

In total? That does not look related to storagenode. Are there files in found.000 from crashes?

---

<div class="post-metadata">

**Author:** ![jammerdan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jammerdan/32/1121_2.png) [@jammerdan](https://forum.storj.io/u/jammerdan)\
**Post date:** [May 24, 2023, 5:14am UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/8 "2023-05-24T05:14:50Z")

</div>

I am having an even more drastic example like yours.  
I am currently investigating, so I can’t tell yet why I am seeing this:

A 16TB partition says it is 100% full on Linux df -H. But the node dashboard says it has only around 8TB of node data on it.

As said, I am currently trying to figure out where does that discrepancy come from.  
You could do a `du -sh` to have the folder sizes on disk calculated but it might take some time.

Ncdu might also give some insights: [NCurses Disk Usage](https://dev.yorhel.nl/ncdu)

---

<div class="post-metadata">

**Author:** ![andrew2.hart](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/andrew2.hart/32/6415_2.png) [@andrew2.hart](https://forum.storj.io/u/andrew2.hart)\
**Post date:** [May 24, 2023, 5:21am UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/9 "2023-05-24T05:21:07Z")

</div>

> [@jammerdan](#):
>
> partition says it is 100% full on Linux df -H. But th

Possibly inodes? df -i

---

<div class="post-metadata">

**Author:** ![jammerdan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jammerdan/32/1121_2.png) [@jammerdan](https://forum.storj.io/u/jammerdan)\
**Post date:** [May 24, 2023, 5:28am UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/10 "2023-05-24T05:28:23Z")

</div>

> [@andrew2.hart](#):
>
> Possibly inodes?

Unfortunately not. Inodes are fine: `IUse 9%`  
Also fsck could not find any issues.  
It is really weird.  
I am currently trying to get the real folder sizes to see if the node dashboard may be wrong.  
But with that few INodes occupied I don’t believe it is.

---

<div class="post-metadata">

**Author:** ![Alfred](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alfred/32/1131_2.png) [@Alfred](https://forum.storj.io/u/Alfred)\
**Post date:** [May 24, 2023, 5:57am UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/11 "2023-05-24T05:57:36Z")

</div>

I am just scanning this found.000 folder, already 300 gb found. Maybe it’s it! Can I just delete it?  
Why is this not automatically deleted?

In the end I deleted it, but the disk has still same load.  
Weird. Am I idiot?

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [May 24, 2023, 7:30am UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/12 "2023-05-24T07:30:09Z")

</div>

> [@Alfred](#):
>
> exfat

This is the reason. exFAT uses big cluster size, thus space wasted on it. It also not reliable and can be corrupted any time. I would suggest to backup all data from it and reformat it to ext4, then restore data.

---

<div class="post-metadata">

**Author:** ![Stob](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/stob/32/1137_2.png) [@Stob](https://forum.storj.io/u/Stob)\
**Post date:** [May 24, 2023, 8:57am UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/13 "2023-05-24T08:57:30Z")

</div>

> [@Alfred](#):
>
> drwxr-xr-x 2 pi pi 256K Mär 28 2021 FOUND.000

> [@Alfred](#):
>
> Can I just delete it?

Yes, you can delete. This folder means the drive was previously used on a Windows machine and chkdsk recovered orphaned data.

---

<div class="post-metadata">

**Author:** ![donald.m.motsinger](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/donald.m.motsinger/32/71_2.png) [@donald.m.motsinger](https://forum.storj.io/u/donald.m.motsinger)\
**Post date:** [May 24, 2023, 10:39am UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/14 "2023-05-24T10:39:03Z")

</div>

Also, the mountpoint /media/pi suggests that the disk is not mounted in /etc/fstab. But I’m not sure as I don’t know how raspbian does things.

---

<div class="post-metadata">

**Author:** ![arrogantrabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/arrogantrabbit/32/11200_2.png) [@arrogantrabbit](https://forum.storj.io/u/arrogantrabbit)\
**Post date:** [May 24, 2023, 3:43pm UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/15 "2023-05-24T15:43:17Z")

</div>

> [@Alfred](#):
>
> cd /media/pi/LaCie

and then

```
sudo rm -rf '$RECYCLE.BIN' 'FOUND.000' '.fseventsd' '.Spotlight-V100' 'System Volume Information' '.Trash-1000'

```

also check filesystem if you haven’t yet.

---

<div class="post-metadata">

**Author:** ![Alfred](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alfred/32/1131_2.png) [@Alfred](https://forum.storj.io/u/Alfred)\
**Post date:** [May 24, 2023, 4:46pm UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/16 "2023-05-24T16:46:46Z")

</div>

Already done this, no change in the end…

---

<div class="post-metadata">

**Author:** ![Alfred](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alfred/32/1131_2.png) [@Alfred](https://forum.storj.io/u/Alfred)\
**Post date:** [May 24, 2023, 4:49pm UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/17 "2023-05-24T16:49:43Z")

</div>

Hi mates, hi alexey,  
Is there a way to reformat my disc per remote? Node is located 700 km away, And I don’t have any other disc over there…  
I think it’s time for a graceful exit unfortunately…  
Br  
Alfred

---

<div class="post-metadata">

**Author:** ![JWvdV](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jwvdv/32/7814_2.png) [@JWvdV](https://forum.storj.io/u/JWvdV)\
**Post date:** [May 24, 2023, 5:09pm UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/18 "2023-05-24T17:09:32Z")

</div>

> [@Alfred](#):
>
> Is there a way to reformat my disc per remote? Node is located 700 km away, And I don’t have any other disc over there…  
> I think it’s time for a graceful exit unfortunately…

For sure, but graceful exit is only possible after 6 months and might fail. If you’re not dealing with audit fails and much down time, you can also opt for accepting the situation for a while till you’re around.

How big is your database folder btw?

This is also the reason I quit on btrfs and xfs, and stick to ext4 (mkfs.ext4 -f /dev/XdX does the trick). The first because it gave me too often errors in the log, although the fact you can only duplicate the system extents and also can kind of create a backup of the structure of the filesystem using snapshots made it very appealing at first sight. The latter because xfs\_repair takes too long and once even deleted my full blobs folder.

Besides I also make sure that the dbs reside on another filesystem than the data, because otherwise the disks got quite fragmented and the database went corrupted more than once.

As an ultimate measurement, you could consider to remove the thrash folder in order to get some space for the time being. Also lowering the space attributed to STORJ might help.

Already rebooted in the time between, to make sure you’re not looking at cached free space?

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [May 25, 2023, 2:28am UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/19 "2023-05-25T02:28:25Z")

</div>

> [@JWvdV](#):
>
> you could consider to remove the thrash folder in order to get some space for the time being.

Don’t do this, the node could be disqualified for losing data.

> [@JWvdV](#):
>
> Already rebooted in the time between, to make sure you’re not looking at cached free space?

this is not needed, you may also call it like this:

```auto
df --si --sync

```

@Alfred Right now without a reformat the only way is to reduce an allocation to what’s used or even below that. If the customers decide to remove their data, it may reduce used space on your node.

> [@Alfred](#):
>
> Is there a way to reformat my disc per remote? Node is located 700 km away, And I don’t have any other disc over there…

You could try to go with `gparted` or LVM, but you will lose data and/or node in case of any issue with hardware, power supply or on user error, see my adventure on such case: [Moving from Windows to Ubuntu and back](https://forum.storj.io/t/moving-from-windows-to-ubuntu-and-back/15526)

---

<div class="post-metadata">

**Author:** ![JWvdV](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jwvdv/32/7814_2.png) [@JWvdV](https://forum.storj.io/u/JWvdV)\
**Post date:** [May 25, 2023, 11:56am UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/20 "2023-05-25T11:56:44Z")

</div>

> [@Alexey](#):
>
> Don’t do this, the node could be disqualified for losing data.

For sure, it might. But shouldn’t happen ever since trash contains deleted pieces that shouldn’t be audited unless a satellite recovery took place just after removal of trash. And if you’re such with your filesystem because it’s full, it might be an ultimate measurement in my opinion, posing only a very low risk on DQ.

> [@Deleted pieces will be sent to trash by default](https://forum.storj.io/t/deleted-pieces-will-be-sent-to-trash-by-default/12931):
>
> Hi SNOs, The next software upgrade includes a change that will by default send piece deletions to the trash rather than immediately removing them from disk. This is a temporary precaution to avoid failing audits for pieces that were deleted between satellite database backups if we have to restore from a previous backup. Each node still has the option to turn this configuration off, but we highly recommend you keep it on. It is very unlikely that we will have to restore from a satellite database…

> [@Alexey](#):
>
> You could try to go with `gparted` or LVM, but you will lose data and/or node in case of any issue with hardware, power supply or on user error, see my adventure on such case: [Moving from Windows to Ubuntu and back](https://forum.storj.io/t/moving-from-windows-to-ubuntu-and-back/15526)

Essentially, the TS wants a inplace conversion from exFAT to ext4 or something. Since the disk is nearly full, I don’t see any visit options to do so. By if you see one using gparted (which -as fast as my knowledge stretches- means data loss by default, if you haven’t shrunken the underlying file system; which is not possible with exFAT and a full drive) or LVM, enlighten us!

My advice would be to carry on for a while, till you’re around to fix it at location. Or just accept the situation of being unable to use the full size, may be partially due to the cluster size (at least 4KiB by default) of exFAT as Alexey already suggested. Which means an average loss of 1-2KiB per file. Although, taking one node here if currently about 400GB in 2000000 files, it would waste not much more than 40GiB (calculation:

```
2E6 / 400E6 * 4E9 * 2048/10243
```
). So there must be another explanation.

Dit you already run fsck.exfat / exfatfsck from the exfat-utils package?

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [May 26, 2023, 3:36am UTC](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784/21 "2023-05-26T03:36:34Z")

</div>

You are right, exFAT is impossible to shrink, I forgot.  
So no options to convert in place.

> [@JWvdV](#):
>
> Which means an average loss of 1-2KiB per file.

The default cluster size on exFAT is 128KiB: [Default cluster size for NTFS, FAT, and exFAT - Microsoft Support](https://support.microsoft.com/en-us/topic/default-cluster-size-for-ntfs-fat-and-exfat-9772e6f1-e31a-00d7-e18f-73169155af95#:~:text=32%20KB-,32%20GB%E2%80%93256%20TB,-128%20KB)  
So, it will waste a lot of space, you may check,  
size of the content:

```auto
du -s --si --apparent-size /mnt/storj/storagenode/storage

```

and compare with the real usage:

```auto
du -s --si /mnt/storj/storagenode/storage

```

[Next page](https://forum.storj.io/t/delta-between-used-space-on-disk-and-used-space-on-dashboard/22784.md?page=2)
