# Suspended node and damaged file / folder problem

**URL:** <https://forum.storj.io/t/suspended-node-and-damaged-file-folder-problem/17383>\
**Category:** troubleshooting\
**Tags:** audits, suspension, windows, hardware\
**Created:** [February 22, 2022, 11:59am UTC](https://forum.storj.io/t/suspended-node-and-damaged-file-folder-problem/17383 "2022-02-22T11:59:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![patryk006](https://storj.bcdn.literatehosting.com/letter_avatar/patryk006/32/5_5575768a8748004e209b776fc1b2916d.png) [@patryk006](https://forum.storj.io/u/patryk006)\
**Post date:** [February 22, 2022, 11:59am UTC](https://forum.storj.io/t/suspended-node-and-damaged-file-folder-problem/17383/1 "2022-02-22T11:59:25Z")

</div>

My service in windows 10 is getting shutdown because of broken file / folder

```auto
2022-02-21T23:50:15.198+0100	ERROR	piecestore:cache	error getting current used space: {"error": "CreateFile I:\\Storj\\Shared\\blobs\\pmw6tvzmf2jv6giyybmmvl4o2ahqlaldsaeha4yx74n5aaaaaaaa\\7f/dcb6nelqogqoxlrvwictbbsiwkjxzq5ecx26bhr7qww4sdq6wa.sj1: The file or folder is damaged and cannot be read", "errorVerbose": "CreateFile I:\\Storj\\Shared\\blobs\\pmw6tvzmf2jv6giyybmmvl4o2ahqlaldsaeha4yx74n5aaaaaaaa\\7f/dcb6nelqogqoxlrvwictbbsiwkjxzq5ecx26bhr7qww4sdq6wa.sj1: The file or folder is damaged and cannot be read\n\tstorj.io/storj/storage/filestore.walkNamespaceWithPrefix:788\n\tstorj.io/storj/storage/filestore.(*Dir).walkNamespaceInPath:725\n\tstorj.io/storj/storage/filestore.(*Dir).WalkNamespace:685\n\tstorj.io/storj/storage/filestore.(*blobStore).WalkNamespace:284\n\tstorj.io/storj/storagenode/pieces.(*Store).WalkSatellitePieces:497\n\tstorj.io/storj/storagenode/pieces.(*Store).SpaceUsedTotalAndBySatellite:662\n\tstorj.io/storj/storagenode/pieces.(*CacheService).Run:54\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func2.1:87\n\truntime/pprof.Do:40\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func2:86\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
2022-02-21T23:50:15.206+0100	ERROR	services	unexpected shutdown of a runner	{"name": "piecestore:cache", "error": "CreateFile I:\\Storj\\Shared\\blobs\\pmw6tvzmf2jv6giyybmmvl4o2ahqlaldsaeha4yx74n5aaaaaaaa\\7f/dcb6nelqogqoxlrvwictbbsiwkjxzq5ecx26bhr7qww4sdq6wa.sj1: The file or folder is damaged and cannot be read", "errorVerbose": "CreateFile I:\\Storj\\Shared\\blobs\\pmw6tvzmf2jv6giyybmmvl4o2ahqlaldsaeha4yx74n5aaaaaaaa\\7f/dcb6nelqogqoxlrvwictbbsiwkjxzq5ecx26bhr7qww4sdq6wa.sj1: The file or folder is damaged and cannot be read\n\tstorj.io/storj/storage/filestore.walkNamespaceWithPrefix:788\n\tstorj.io/storj/storage/filestore.(*Dir).walkNamespaceInPath:725\n\tstorj.io/storj/storage/filestore.(*Dir).WalkNamespace:685\n\tstorj.io/storj/storage/filestore.(*blobStore).WalkNamespace:284\n\tstorj.io/storj/storagenode/pieces.(*Store).WalkSatellitePieces:497\n\tstorj.io/storj/storagenode/pieces.(*Store).SpaceUsedTotalAndBySatellite:662\n\tstorj.io/storj/storagenode/pieces.(*CacheService).Run:54\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func2.1:87\n\truntime/pprof.Do:40\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func2:86\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
2022-02-21T23:50:15.296+0100	FATAL	Unrecoverable error	{"error": "CreateFile I:\\Storj\\Shared\\blobs\\pmw6tvzmf2jv6giyybmmvl4o2ahqlaldsaeha4yx74n5aaaaaaaa\\7f/dcb6nelqogqoxlrvwictbbsiwkjxzq5ecx26bhr7qww4sdq6wa.sj1: The file or folder is damaged and cannot be read", "errorVerbose": "CreateFile I:\\Storj\\Shared\\blobs\\pmw6tvzmf2jv6giyybmmvl4o2ahqlaldsaeha4yx74n5aaaaaaaa\\7f/dcb6nelqogqoxlrvwictbbsiwkjxzq5ecx26bhr7qww4sdq6wa.sj1: The file or folder is damaged and cannot be read\n\tstorj.io/storj/storage/filestore.walkNamespaceWithPrefix:788\n\tstorj.io/storj/storage/filestore.(*Dir).walkNamespaceInPath:725\n\tstorj.io/storj/storage/filestore.(*Dir).WalkNamespace:685\n\tstorj.io/storj/storage/filestore.(*blobStore).WalkNamespace:284\n\tstorj.io/storj/storagenode/pieces.(*Store).WalkSatellitePieces:497\n\tstorj.io/storj/storagenode/pieces.(*Store).SpaceUsedTotalAndBySatellite:662\n\tstorj.io/storj/storagenode/pieces.(*CacheService).Run:54\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func2.1:87\n\truntime/pprof.Do:40\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func2:86\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}

```

is there any chance to recover node with 20% uptime now ? And how to try resolve the problem.  
Hdd seems to be good.

 ![HDD#1](https://storj-s3.bcdn.literatehosting.net/original/2X/9/918b21af7447b0c68d62a00c3632761cb1df2075.png)

Any advice what to do now ? Thanks

---

<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:** [February 22, 2022, 5:49pm UTC](https://forum.storj.io/t/suspended-node-and-damaged-file-folder-problem/17383/2 "2022-02-22T17:49:31Z")

</div>

Hi @patryk006

Is it a 20% Online score? That isn’t good but we can try to keep the node online and fix the problems.

If the S.M.A.R.T reading on the drive looks good then you should run “chkdsk /f /r” on it, usually with the node service stopped.

---

<div class="post-metadata">

**Author:** ![patryk006](https://storj.bcdn.literatehosting.com/letter_avatar/patryk006/32/5_5575768a8748004e209b776fc1b2916d.png) [@patryk006](https://forum.storj.io/u/patryk006)\
**Post date:** [February 22, 2022, 5:50pm UTC](https://forum.storj.io/t/suspended-node-and-damaged-file-folder-problem/17383/3 "2022-02-22T17:50:14Z")

</div>

![HDD#4](https://storj-s3.bcdn.literatehosting.net/original/2X/b/b37f22b5941348da8e30a0032fd7383e894cb2f5.png)

Ye, I know thats terrible online time, any good monitoring for nodes ? I cannot look on it every day.

Ok, small update.

1. Full sector scan = 100% good
2. Chkdsk found around 30 broken file indexes, I hope that’s it cause this error.

---

<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:** [February 22, 2022, 5:55pm UTC](https://forum.storj.io/t/suspended-node-and-damaged-file-folder-problem/17383/4 "2022-02-22T17:55:12Z")

</div>

Yeah, so the physical drive seems fine. It’s just the structure on top which chkdsk had to fix, you should run it again until no errors are found.

Then the node should run reliably and you should keep it online as much as possible before it gets suspended or disqualified. I’m not sure if uptime disqualification is even active at the moment.

Some people use uptimerobot to email them if the node port is down. If you search the forums there are some other tools SNO’s recommend.

---

<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:** [February 24, 2022, 5:06am UTC](https://forum.storj.io/t/suspended-node-and-damaged-file-folder-problem/17383/5 "2022-02-24T05:06:03Z")

</div>

> [@Mail today: You were suspended on 2021-11-23 at 12:20 UTC](https://forum.storj.io/t/mail-today-you-were-suspended-on-2021-11-23-at-12-20-utc/17395/2):
>
> Looks like you should be ok here forward. For monitoring, many people like UptimeRobot Some use a phone alert system Or scripts

I would also like to suggest taking a look at

> [@\[Tech Preview\] Email alerts with Grafana and Prometheus](https://forum.storj.io/t/topic/16156/1):
>
> I would like to setup email alerts for my storage nodes. It turns out the storage node already has a Prometheus endpoint. It is running on the debug endpoint /metrics. If you haven’t set the debug endpoint please visit [Guide to debug my storage node, uplink, s3 gateway, satellite](https://forum.storj.io/t/guide-to-debug-my-storage-node-uplink-s3-gateway-satellite/1372) I have already a Prometheus instance running and Grafana inclusive email alerts. Here are my configs: docker-compose.yaml version: "3.3" services: prometheus: restart: unless-stopped user: 993:991 ports…

---

<div class="post-metadata">

**Author:** ![patryk006](https://storj.bcdn.literatehosting.com/letter_avatar/patryk006/32/5_5575768a8748004e209b776fc1b2916d.png) [@patryk006](https://forum.storj.io/u/patryk006)\
**Post date:** [March 16, 2022, 3:46pm UTC](https://forum.storj.io/t/suspended-node-and-damaged-file-folder-problem/17383/6 "2022-03-16T15:46:56Z")

</div>

Slowly recovering and getting new data.  
Thanks 🙂

 ![HDD_update](https://storj-s3.bcdn.literatehosting.net/original/2X/3/3630f91149a83bd499c90d16c48142dc6eb3667e.png)
