Piecemigrate:chore couldn't migrate

I migrated a storagenode to hashtable and it finished apart from 1 piece. There seems to be a bad sector on this disk as I get an input/output error when I try to copy this piece somewhere else.

Now the node keeps trying to migrate this piece again and again every 10 minutes.

2025-02-19T10:11:13Z    INFO    piecemigrate:chore      couldn't migrate        {"Process": "storagenode", "error": "while copying the piece: pieces error: read config/storage/blobs/ukfu6bhbboxilvt7jrwlqk7y2tapb5d2r2tsmj2sjxvw5qaaaaaa/cu/7l36frf6lc37dbvozudjyqpzxxrwgwkylt5kaea3fbfzk6a4jq.sj1: input/output error", "errorVerbose": "while copying the piece: pieces error: read config/storage/blobs/ukfu6bhbboxilvt7jrwlqk7y2tapb5d2r2tsmj2sjxvw5qaaaaaa/cu/7l36frf6lc37dbvozudjyqpzxxrwgwkylt5kaea3fbfzk6a4jq.sj1: input/output error\n\tstorj.io/storj/storagenode/piecemigrate.(*Chore).copyPiece:379\n\tstorj.io/storj/storagenode/piecemigrate.(*Chore).migrateOne:342\n\tstorj.io/storj/storagenode/piecemigrate.(*Chore).processQueue:260\n\tstorj.io/storj/storagenode/piecemigrate.(*Chore).Run.func2:167\n\tstorj.io/common/errs2.(*Group).Go.func1:23", "sat": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S", "id": "CU7L36FRF6LC37DBVOZUDJYQPZXXRWGWKYLT5KAEA3FBFZK6A4JQ"}

Should I try to write zeroes to this sector to stop the migration attempts? The pieces seems to be lost anyway.

I’d ‘fsck -y’ the disk first and see what it can take care of.

1 Like

hm… is this something we’re supposed to be doing? :scream_cat:

I forced a fsck but it doesn’t fix this piece.

Not yet. You can read about it here.

1 Like

Just delete the file.