post icon indicating copy to clipboard operation
post copied to clipboard

Smeshing state doesn't complete correctly

Open hairtail opened this issue 2 years ago • 5 comments

node version: go-spacemesh v1.0.6+e4b88b8ae8b8c634b05c6cc5786ae4fa5cec4d46 err log image

hairtail avatar Jul 27 '23 07:07 hairtail

We try to check whether the initialization finished or not with file size, https://github.com/spacemeshos/post/blob/develop/initialization/diskstate.go. So when we use soft-link to redirect files, this error happens.

hairtail avatar Jul 27 '23 09:07 hairtail

@hairtail we do not support linking your files from a different location into the PoST directory at the moment. Would it be possible for you to move the data directory instead of the files inside?

fasmat avatar Jul 28 '23 09:07 fasmat

@hairtail we do not support linking your files from a different location into the PoST directory at the moment. Would it be possible for you to move the data directory instead of the files inside?

I have too large POS data so i have to use softlink here. And i have solved this via remove the filesize verify here.

hairtail avatar Jul 28 '23 09:07 hairtail

The file size verification is used to detect if files are missing or incomplete. It might cause unexpected problems at some point.

You can try using https://github.com/trapexit/mergerfs It has worked for other users that have a similar need to distribute their files across multiple hard drives.

fasmat avatar Jul 28 '23 09:07 fasmat

The file size verification is used to detect if files are missing or incomplete. It might cause unexpected problems at some point.

You can try using https://github.com/trapexit/mergerfs It has worked for other users that have a similar need to distribute their files across multiple hard drives.

ty, i will have a try

hairtail avatar Jul 28 '23 09:07 hairtail