# Drive space reset?

**URL:** <https://forum.storj.io/t/drive-space-reset/26631>\
**Category:** troubleshooting\
**Tags:** docker, multiple-nodes, database\
**Created:** [June 14, 2024, 4:45am UTC](https://forum.storj.io/t/drive-space-reset/26631 "2024-06-14T04:45:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eleos](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/eleos/32/1122_2.png) [@Eleos](https://forum.storj.io/u/Eleos)\
**Post date:** [June 14, 2024, 4:45am UTC](https://forum.storj.io/t/drive-space-reset/26631/1 "2024-06-14T04:45:08Z")

</div>

So my free space went from 40GB to 1.97TB and the trash went from 550GB to 910GB. All I did was add an additional port to the router (for a second node) for the pc the node is running on (Linux). Note that this has also happened before for the exact same values it reset to.

Why did this happen? Twice!

---

<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:** [June 14, 2024, 4:49am UTC](https://forum.storj.io/t/drive-space-reset/26631/2 "2024-06-14T04:49:24Z")

</div>

Perhaps the trash filewalker removed the expired data from the trash and the used-space-filewalker finally updated databases to reflect the actual used space, and the TTL based data has been removed (it is deleted by nodes without using GC or the trash), also the garbage collector finally moved detected garbage to the trash.  
You may check all of that:

> [@Filewalker status](https://forum.storj.io/t/topic/25325/5):
>
> Logs should be at least info level Used space filewalker Task: Calculates disk usage by scanning all pieces and updates the local node databases afterwards with these values docker logs storagenode -f 2\>&1 | grep "used-space-filewalker" | grep -E "started|finished" GC filewalker Task: Based on a [Bloom filter](https://forum.storj.io/t/how-bloom-filters-work/12104/2) it marks pieces as expired for removal by the retain process docker logs storagenode -f 2\>&1 | grep "gc-filewalker" | grep -E "started|finished" Trash-cleanup filewalker Task: Deletes p…

or for Windows:

> [@Storagenode.exe stopping for too long, for 10h+](https://forum.storj.io/t/topic/25316/12):
>
> Windows/PowerShell Logs should be at least info level Used space filewalker Regulated by the parameter in the config.yaml file or as a command line argument (add -- before the parameter, remove :, place it after the image name in your docker run command): # if set to true, all pieces disk usage is recalculated on startup (default true) storage2.piece-scan-on-startup: true to watch for a progress: cat "C:\Program Files\Storj\Storage Node\*.log" -Wait | sls "used-space-filewalker" | sls "sta…

Your change in the router is not related to this, unless you also unblocked connections from the satellites and customers to your node.  
If you have some “smart” protection feature or “DDoS protection” on your router - I would recommend to disable these features.

The only coincidence here is a timing in my opinion, because almost all filewalkers are time based.

---

<div class="post-metadata">

**Author:** ![Eleos](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/eleos/32/1122_2.png) [@Eleos](https://forum.storj.io/u/Eleos)\
**Post date:** [June 14, 2024, 5:19am UTC](https://forum.storj.io/t/drive-space-reset/26631/3 "2024-06-14T05:19:26Z")

</div>

So for the “smart” protection, I did have that turned on since I got a new ISP and it was on by default but I just turned it off, called (advanced security).

as for the docker logs command, I get the following:

```auto
2024-05-05T19:08:14Z INFO lazyfilewalker.used-space-filewalker.subprocess Database started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "Process": "storagenode"}
2024-05-05T19:08:14Z INFO lazyfilewalker.used-space-filewalker.subprocess used-space-filewalker started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "Process": "storagenode"}
2024-05-05T19:09:58Z INFO lazyfilewalker.used-space-filewalker subprocess started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs"}
2024-05-05T19:09:58Z INFO lazyfilewalker.used-space-filewalker.subprocess Database started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "Process": "storagenode"}
2024-05-05T19:09:58Z INFO lazyfilewalker.used-space-filewalker.subprocess used-space-filewalker started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "Process": "storagenode"}
2024-05-05T23:16:58Z INFO lazyfilewalker.used-space-filewalker subprocess finished successfully {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs"}
2024-05-05T23:16:58Z INFO lazyfilewalker.used-space-filewalker subprocess started {"Process": "storagenode", "satelliteID": "1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE"}
2024-05-05T23:16:58Z INFO lazyfilewalker.used-space-filewalker.subprocess Database started {"Process": "storagenode", "satelliteID": "1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE", "Process": "storagenode"}
2024-05-05T23:16:58Z INFO lazyfilewalker.used-space-filewalker.subprocess used-space-filewalker started {"Process": "storagenode", "satelliteID": "1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE", "Process": "storagenode"}
2024-05-05T23:56:29Z INFO lazyfilewalker.used-space-filewalker subprocess finished successfully {"Process": "storagenode", "satelliteID": "1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE"}
2024-05-05T23:56:29Z INFO lazyfilewalker.used-space-filewalker subprocess started {"Process": "storagenode", "satelliteID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S"}
2024-05-05T23:56:29Z INFO lazyfilewalker.used-space-filewalker.subprocess Database started {"Process": "storagenode", "satelliteID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S", "Process": "storagenode"}

```

**Edit:** I’d like to also add that this isn’t new trash. The same exact thing happened about a week ago, reverting back to the same exact free and trash values.

---

<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:** [June 14, 2024, 7:22am UTC](https://forum.storj.io/t/drive-space-reset/26631/4 "2024-06-14T07:22:36Z")

</div>

If do not see all “finished” yet.

> [@Eleos](#):
>
> reverting back to the same exact free and trash values.

this is usually mean that you have problems with a database (`database is locked` or `malformed` or any other error, related to a database in your logs).  
I would also recommend to check databases:

> **[How to fix a "database disk image is malformed"](https://support.storj.io/hc/en-us/articles/360029309111-How-to-fix-a-database-disk-image-is-malformed)**
>
> Problem
> Sometimes a Storage Node Operator may encounter the "database disk image is malformed" error in their log. This could happen during unplanned shutdown or reboot. The error indicates that on...

---

<div class="post-metadata">

**Author:** ![Eleos](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/eleos/32/1122_2.png) [@Eleos](https://forum.storj.io/u/Eleos)\
**Post date:** [June 14, 2024, 7:23am UTC](https://forum.storj.io/t/drive-space-reset/26631/5 "2024-06-14T07:23:30Z")

</div>

There’s “finished successfully” in there

---

<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:** [June 14, 2024, 7:30am UTC](https://forum.storj.io/t/drive-space-reset/26631/6 "2024-06-14T07:30:13Z")

</div>

> [@Eleos](#):
>
> `12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs`

and

> [@Eleos](#):
>
> `1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE`

but not other two, please wait until they are finished too.

---

<div class="post-metadata">

**Author:** ![Eleos](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/eleos/32/1122_2.png) [@Eleos](https://forum.storj.io/u/Eleos)\
**Post date:** [June 14, 2024, 5:44pm UTC](https://forum.storj.io/t/drive-space-reset/26631/7 "2024-06-14T17:44:09Z")

</div>

Right, I just stopped watching so I stopped monitoring it after I sent that reply and went to bed so I don’t know if they got completed.

It still doesn’t explain why I lost nearly 2TB of data (that didn’t go to the trash) out of nowhere twice in a month with the exact same values as last time. That’s super frustrating

---

<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:** [June 15, 2024, 4:32am UTC](https://forum.storj.io/t/drive-space-reset/26631/8 "2024-06-15T04:32:35Z")

</div>

> [@Eleos](#):
>
> It still doesn’t explain why I lost nearly 2TB of data (that didn’t go to the trash) out of nowhere twice in a month with the exact same values as last time. That’s super frustrating

This is usually mean that your databases doesn’t have the current collected usage.  
Please search for “database is locked” errors, also any other errors related to “database” in your logs.  
Please also check the databases integrity and fix them if needed:

> **[How to fix a "database disk image is malformed"](https://support.storj.io/hc/en-us/articles/360029309111-How-to-fix-a-database-disk-image-is-malformed)**
>
> Problem
> Sometimes a Storage Node Operator may encounter the "database disk image is malformed" error in their log. This could happen during unplanned shutdown or reboot. The error indicates that on...

---

<div class="post-metadata">

**Author:** ![Eleos](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/eleos/32/1122_2.png) [@Eleos](https://forum.storj.io/u/Eleos)\
**Post date:** [June 15, 2024, 5:43am UTC](https://forum.storj.io/t/drive-space-reset/26631/9 "2024-06-15T05:43:12Z")

</div>

Could have the wrong command format but using `sudo docker logs storagenode 2>&1 | grep "database is locked"` doesn’t return anything, doesn’t even finish the command execution. I also tried using the `-f` flag.

For the integrity check for each DB, the following did not return `ok`, did not finish running either so no error was returned:

```auto
piece_expiration.db
piece_expiration.db-shm - returned: Error: in prepare, file is not a database (26)

```

Everything else returned `ok`

**Edit:** Also, values were reset again after I started the node back up. I’m back to 1.97TB free and 910GB trash (was at 1.65TB free and 550GB trash before doing all this).

---

<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:** [June 15, 2024, 8:56am UTC](https://forum.storj.io/t/drive-space-reset/26631/10 "2024-06-15T08:56:01Z")

</div>

> [@Eleos](#):
>
> doesn’t even finish the command execution.

This is mean that it’s doing something. It should either return an output or finish the command.

> [@Eleos](#):
>
> For the integrity check for each DB, the following did not return `ok`, did not finish running either so no error was returned:
> 
> ```auto
> piece_expiration.db
> piece_expiration.db-shm - returned: Error: in prepare, file is not a database (26)
> 
> ```

You should run the test only when the node is stopped. This file is exist if the node is not stopped or if it was stopped unclean.

> [@Eleos](#):
>
> **Edit:** Also, values were reset again after I started the node back up.

Of course. Now you need to check for `database is locked` errors in your logs.

---

<div class="post-metadata">

**Author:** ![Eleos](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/eleos/32/1122_2.png) [@Eleos](https://forum.storj.io/u/Eleos)\
**Post date:** [June 16, 2024, 3:23am UTC](https://forum.storj.io/t/drive-space-reset/26631/11 "2024-06-16T03:23:45Z")

</div>

**Note:** Sorry, I don’t know how to directly reply to certain parts of a reply like you did.

So checking the integrity of that DB file took a little over an hour but it returned ok so everything is good there.

I stopped the node properly with the following so I believe I have stopped it cleanly:

```auto
sudo docker stop -t 300 storagenode

```

What would be the proper command for searching for `database is locked`?

---

<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:** [June 16, 2024, 4:54am UTC](https://forum.storj.io/t/drive-space-reset/26631/12 "2024-06-16T04:54:05Z")

</div>

> [@Eleos](#):
>
> **Note:** Sorry, I don’t know how to directly reply to certain parts of a reply like you did.

Select the line, there would be a menu, where you can click **Quote** :

 ![image](https://storj-s3.bcdn.literatehosting.net/original/3X/f/7/f7a6585395730af974fa69e92a456c408957a1b2.png)

> [@Eleos](#):
>
> What would be the proper command for searching for `database is locked`?

```auto
docker logs storagenode 2>&1 | grep -i error | grep database | tail

```

---

<div class="post-metadata">

**Author:** ![Eleos](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/eleos/32/1122_2.png) [@Eleos](https://forum.storj.io/u/Eleos)\
**Post date:** [June 16, 2024, 5:17am UTC](https://forum.storj.io/t/drive-space-reset/26631/13 "2024-06-16T05:17:23Z")

</div>

> [@Alexey](#):
>
> `docker logs storagenode 2>&1 | grep -i error | grep database | tail`

This command returned nothing after a while. Node was running when I ran it.

---

<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:** [June 16, 2024, 5:25am UTC](https://forum.storj.io/t/drive-space-reset/26631/14 "2024-06-16T05:25:17Z")

</div>

This is mean that the node do not have errors related to databases since the last creation of the container.  
Because when you remove the container, all logs will be removed with it.  
Now you need to wait until the `used-space-filewalker` would be finished successfully for all trusted satellites. You may search for `used-space-filewalker` and `finished`.  
See also for a more detailed progress: [Filewalker status - #5 by Alexey](https://forum.storj.io/t/filewalker-status/25325/5#how-to-check-progress-more-granularly-7)  
Please also make sure that there would not be errors related to the databases when the used-space-filewalker is finished.

---

<div class="post-metadata">

**Author:** ![Eleos](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/eleos/32/1122_2.png) [@Eleos](https://forum.storj.io/u/Eleos)\
**Post date:** [June 16, 2024, 7:29am UTC](https://forum.storj.io/t/drive-space-reset/26631/15 "2024-06-16T07:29:01Z")

</div>

> [@Alexey](#):
>
> but not other two, please wait until they are finished too.

I ran the following command again as you advised to wait and all 4 satellites finished successfully (output below command):

```auto
docker logs storagenode -f 2>&1 | grep "used-space-filewalker" | grep -E "started|finished"

```

```auto
2024-05-05T19:08:14Z INFO lazyfilewalker.used-space-filewalker subprocess started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs"}
2024-05-05T19:08:14Z INFO lazyfilewalker.used-space-filewalker.subprocess Database started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "Process": "storagenode"}
2024-05-05T19:08:14Z INFO lazyfilewalker.used-space-filewalker.subprocess used-space-filewalker started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "Process": "storagenode"}
2024-05-05T19:09:58Z INFO lazyfilewalker.used-space-filewalker subprocess started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs"}
2024-05-05T19:09:58Z INFO lazyfilewalker.used-space-filewalker.subprocess Database started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "Process": "storagenode"}
2024-05-05T19:09:58Z INFO lazyfilewalker.used-space-filewalker.subprocess used-space-filewalker started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "Process": "storagenode"}
2024-05-05T23:16:58Z INFO lazyfilewalker.used-space-filewalker subprocess finished successfully {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs"}
2024-05-05T23:16:58Z INFO lazyfilewalker.used-space-filewalker subprocess started {"Process": "storagenode", "satelliteID": "1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE"}
2024-05-05T23:16:58Z INFO lazyfilewalker.used-space-filewalker.subprocess Database started {"Process": "storagenode", "satelliteID": "1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE", "Process": "storagenode"}
2024-05-05T23:16:58Z INFO lazyfilewalker.used-space-filewalker.subprocess used-space-filewalker started {"Process": "storagenode", "satelliteID": "1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE", "Process": "storagenode"}
2024-05-05T23:56:29Z INFO lazyfilewalker.used-space-filewalker subprocess finished successfully {"Process": "storagenode", "satelliteID": "1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE"}
2024-05-05T23:56:29Z INFO lazyfilewalker.used-space-filewalker subprocess started {"Process": "storagenode", "satelliteID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S"}
2024-05-05T23:56:29Z INFO lazyfilewalker.used-space-filewalker.subprocess Database started {"Process": "storagenode", "satelliteID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S", "Process": "storagenode"}
2024-05-05T23:56:29Z INFO lazyfilewalker.used-space-filewalker.subprocess used-space-filewalker started {"Process": "storagenode", "satelliteID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S", "Process": "storagenode"}
2024-05-07T06:08:36Z INFO lazyfilewalker.used-space-filewalker subprocess started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs"}
2024-05-07T06:08:36Z INFO lazyfilewalker.used-space-filewalker.subprocess Database started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "Process": "storagenode"}
2024-05-07T06:08:36Z INFO lazyfilewalker.used-space-filewalker.subprocess used-space-filewalker started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "Process": "storagenode"}
2024-05-07T09:31:50Z INFO lazyfilewalker.used-space-filewalker subprocess finished successfully {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs"}
2024-05-07T09:31:50Z INFO lazyfilewalker.used-space-filewalker subprocess started {"Process": "storagenode", "satelliteID": "1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE"}
2024-05-07T09:31:50Z INFO lazyfilewalker.used-space-filewalker.subprocess Database started {"Process": "storagenode", "satelliteID": "1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE", "Process": "storagenode"}
2024-05-07T09:31:50Z INFO lazyfilewalker.used-space-filewalker.subprocess used-space-filewalker started {"Process": "storagenode", "satelliteID": "1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE", "Process": "storagenode"}
2024-05-07T09:50:07Z INFO lazyfilewalker.used-space-filewalker subprocess finished successfully {"Process": "storagenode", "satelliteID": "1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE"}
2024-05-07T09:50:07Z INFO lazyfilewalker.used-space-filewalker subprocess started {"Process": "storagenode", "satelliteID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S"}
2024-05-07T09:50:07Z INFO lazyfilewalker.used-space-filewalker.subprocess Database started {"Process": "storagenode", "satelliteID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S", "Process": "storagenode"}
2024-05-07T09:50:07Z INFO lazyfilewalker.used-space-filewalker.subprocess used-space-filewalker started {"Process": "storagenode", "satelliteID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S", "Process": "storagenode"}
2024-05-09T04:39:36Z INFO lazyfilewalker.used-space-filewalker subprocess finished successfully {"Process": "storagenode", "satelliteID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S"}
2024-05-09T04:39:36Z INFO lazyfilewalker.used-space-filewalker subprocess started {"Process": "storagenode", "satelliteID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6"}
2024-05-09T04:39:36Z INFO lazyfilewalker.used-space-filewalker.subprocess Database started {"Process": "storagenode", "satelliteID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Process": "storagenode"}
2024-05-09T04:39:36Z INFO lazyfilewalker.used-space-filewalker.subprocess used-space-filewalker started {"Process": "storagenode", "satelliteID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Process": "storagenode"}
2024-05-09T05:28:44Z INFO lazyfilewalker.used-space-filewalker subprocess finished successfully {"Process": "storagenode", "satelliteID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6"}
2024-05-19T14:38:44Z INFO lazyfilewalker.used-space-filewalker subprocess started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs"}
2024-05-19T14:38:44Z INFO lazyfilewalker.used-space-filewalker.subprocess Database started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "Process": "storagenode"}
2024-05-19T14:38:44Z INFO lazyfilewalker.used-space-filewalker.subprocess used-space-filewalker started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "Process": "storagenode"}
2024-05-19T14:38:58Z INFO lazyfilewalker.used-space-filewalker subprocess started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs"}
2024-05-19T14:38:58Z INFO lazyfilewalker.used-space-filewalker.subprocess Database started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "Process": "storagenode"}
2024-05-19T14:38:58Z INFO lazyfilewalker.used-space-filewalker.subprocess used-space-filewalker started {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "Process": "storagenode"}
2024-05-19T16:47:51Z INFO lazyfilewalker.used-space-filewalker subprocess finished successfully {"Process": "storagenode", "satelliteID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs"}
2024-05-19T16:47:51Z INFO lazyfilewalker.used-space-filewalker subprocess started {"Process": "storagenode", "satelliteID": "1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE"}
2024-05-19T16:47:51Z INFO lazyfilewalker.used-space-filewalker.subprocess Database started {"Process": "storagenode", "satelliteID": "1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE", "Process": "storagenode"}
2024-05-19T16:47:51Z INFO lazyfilewalker.used-space-filewalker.subprocess used-space-filewalker started {"Process": "storagenode", "satelliteID": "1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE", "Process": "storagenode"}
2024-05-19T16:51:44Z INFO lazyfilewalker.used-space-filewalker subprocess finished successfully {"Process": "storagenode", "satelliteID": "1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE"}
2024-05-19T16:51:44Z INFO lazyfilewalker.used-space-filewalker subprocess started {"Process": "storagenode", "satelliteID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S"}
2024-05-19T16:51:44Z INFO lazyfilewalker.used-space-filewalker.subprocess Database started {"Process": "storagenode", "satelliteID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S", "Process": "storagenode"}
2024-05-19T16:51:44Z INFO lazyfilewalker.used-space-filewalker.subprocess used-space-filewalker started {"Process": "storagenode", "satelliteID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S", "Process": "storagenode"}
2024-05-21T11:22:15Z INFO lazyfilewalker.used-space-filewalker subprocess finished successfully {"Process": "storagenode", "satelliteID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S"}
2024-05-21T11:22:15Z INFO lazyfilewalker.used-space-filewalker subprocess started {"Process": "storagenode", "satelliteID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6"}
2024-05-21T11:22:15Z INFO lazyfilewalker.used-space-filewalker.subprocess Database started {"Process": "storagenode", "satelliteID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Process": "storagenode"}
2024-05-21T11:22:15Z INFO lazyfilewalker.used-space-filewalker.subprocess used-space-filewalker started {"Process": "storagenode", "satelliteID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Process": "storagenode"}
2024-05-21T11:59:46Z INFO lazyfilewalker.used-space-filewalker subprocess finished successfully {"Process": "storagenode", "satelliteID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6"}

```

As for checking for errors regarding the DB after used-space-filewalker:

```auto
sudo docker logs storagenode 2>&1 | grep -i error | grep database | tail

```

Still no output so all still seems good there.

---

<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:** [June 16, 2024, 7:32am UTC](https://forum.storj.io/t/drive-space-reset/26631/16 "2024-06-16T07:32:39Z")

</div>

yes, the used-space-filewalker is finished successfully in May.  
But not in June.  
Do the usage on the dashboard matches what’s OS reported?

```auto
du --si -d 1 /mnt/storj/storagenode/storage/

```

---

<div class="post-metadata">

**Author:** ![Eleos](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/eleos/32/1122_2.png) [@Eleos](https://forum.storj.io/u/Eleos)\
**Post date:** [June 16, 2024, 7:49am UTC](https://forum.storj.io/t/drive-space-reset/26631/17 "2024-06-16T07:49:42Z")

</div>

my node is defined in the run command as such:

```auto
--mount type=bind,source="/home/pi/identity/drive1/",destination=/app/identity \
--mount type=bind,source="/mnt/drive1/data",destination=/app/config \
--mount type=bind,source="/home/pi/database/drive1/",destination=/app/dbs \

```

> [@Alexey](#):
>
> `du --si -d 1 /mnt/storj/storagenode/storage/`

Would the command for me be?

```auto
du --si -d 1 /mnt/drive1/data/storage/

```

Just want to make sure I understand that I am running it correctly before doing so.

---

<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:** [June 16, 2024, 7:51am UTC](https://forum.storj.io/t/drive-space-reset/26631/18 "2024-06-16T07:51:03Z")

</div>

> [@Eleos](#):
>
> Would the command for me be?
> 
> ```auto
> du --si -d 1 /mnt/drive1/data/storage/
> 
> ```

yes. It should calculate the size for each subfolder in SI units, like the dashboard do.

---

<div class="post-metadata">

**Author:** ![Eleos](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/eleos/32/1122_2.png) [@Eleos](https://forum.storj.io/u/Eleos)\
**Post date:** [June 16, 2024, 8:09am UTC](https://forum.storj.io/t/drive-space-reset/26631/19 "2024-06-16T08:09:19Z")

</div>

Alright, I have it running now and it’s showing the garbage dir so far. The node is still running so is that ok and proper? Also, is this a long running command because it has to calculate all the used space in each category?

---

<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:** [June 16, 2024, 8:10am UTC](https://forum.storj.io/t/drive-space-reset/26631/20 "2024-06-16T08:10:25Z")

</div>

It’s ok

> [@Eleos](#):
>
> Also, is this a long running command because it has to calculate all the used space in each category?

Yes. It’s exactly what filewalkers usually doing. But since you run it with a normal priority it shouldn’t take days to complete. I hope.

[Next page](https://forum.storj.io/t/drive-space-reset/26631.md?page=2)
