I’ve tried to change the storage location of my Kudo node by altering the config file, adding the new location to under Datastore/child/path". It was “path”: “/blocks”, and I simply changed to “path”: “/location/ipfs”`.
"Datastore": {
"StorageMax": "10GB",
"StorageGCWatermark": 90,
"GCPeriod": "1h",
"Spec": {
"mounts": [
{
"child": {
"path": "/media/<user>/<ssddisk>/ipfs", #CHANGES HERE
"shardFunc": "/repo/flatfs/shard/v1/next-to-last/2",
"sync": true,
"type": "flatfs"
After that, when trying to start the daemon, I get an error saying that the datastore configuration of <...> does not match what is on disk <...>
Then I got back to the config file and tried to revert the changes back to "path": "'/blocks"
but I still get the same error, as seen below:
Error: datastore configuration of ‘{“mounts”:[{“mountpoint”:“/blocks”,“path”:“blocks”,“shardFunc”:“/repo/flatfs/shard/v1/next-to-last/2”,“type”:“flatfs”},{“mountpoint”:“/”,“path”:“datastore”,“type”:“levelds”}],“type”:“mount”}’ does not match what is on disk ‘{“mounts”:[{“mountpoint”:“/blocks”,“path”:“/blocks”,“shardFunc”:“/repo/flatfs/shard/v1/next-to-last/2”,“type”:“flatfs”},{“mountpoint”:“/”,“path”:“datastore”,“type”:“levelds”}],“type”:“mount”}’
How could I fix the problem, and how can I set the new storage location?
Thanks in advance!