Hello,
I have one Node that keeps struggling with Correct Disk space used after migrating to hashstore. It constantly shows 500Gb overused despide it haven 58% Disk usage.
So i decided that i want to recreate the usage Databases but not the other ones, so i can keep my stats. Now my Node is in a crashing loop, because the Database is missing. I thougt it will recreate itif missing?
025-03-29T15:26:38Z INFO db.migration.29 Migrate piece_space_used to add total column {"Process": "storagenode"}
2025-03-29T15:26:38Z ERROR failure during run {"Process": "storagenode", "error": "Error migrating tables for database on storagenode: migrate: v29: no such table: piece_space_used\n\tstorj.io/storj/private/migrate.(*Migration).Run:221\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).MigrateToLatest:415\n\tmain.cmdRun:100\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:392\n\tstorj.io/common/process.cleanup.func1:410\n\tgithub.com/spf13/cobra.(*Command).execute:985\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1117\n\tgithub.com/spf13/cobra.(*Command).Execute:1041\n\tstorj.io/common/process.ExecWithCustomOptions:112\n\tmain.main:34\n\truntime.main:272", "errorVerbose": "Error migrating tables for database on storagenode: migrate: v29: no such table: piece_space_used\n\tstorj.io/storj/private/migrate.(*Migration).Run:221\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).MigrateToLatest:415\n\tmain.cmdRun:100\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:392\n\tstorj.io/common/process.cleanup.func1:410\n\tgithub.com/spf13/cobra.(*Command).execute:985\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1117\n\tgithub.com/spf13/cobra.(*Command).Execute:1041\n\tstorj.io/common/process.ExecWithCustomOptions:112\n\tmain.main:34\n\truntime.main:272\n\tmain.cmdRun:102\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:392\n\tstorj.io/common/process.cleanup.func1:410\n\tgithub.com/spf13/cobra.(*Command).execute:985\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1117\n\tgithub.com/spf13/cobra.(*Command).Execute:1041\n\tstorj.io/common/process.ExecWithCustomOptions:112\n\tmain.main:34\n\truntime.main:272"}
Error: Error migrating tables for database on storagenode: migrate: v29: no such table: piece_space_used
storj.io/storj/private/migrate.(*Migration).Run:221
storj.io/storj/storagenode/storagenodedb.(*DB).MigrateToLatest:415
main.cmdRun:100
main.newRunCmd.func1:33
storj.io/common/process.cleanup.func1.4:392
storj.io/common/process.cleanup.func1:410
github.com/spf13/cobra.(*Command).execute:985
github.com/spf13/cobra.(*Command).ExecuteC:1117
github.com/spf13/cobra.(*Command).Execute:1041
storj.io/common/process.ExecWithCustomOptions:112
main.main:34
runtime.main:272
I have a copy of this DB but i dont want to use it, because my node thinks its full and Average Disk space is dropping fast.
How can i get the node to recreate the DB and to keep my Monthly Stats and Bandwith Data?
Thank you in advance
Marvi
Ps: Cause i forgot, those are my current files