Hello,
It looks like my storage disk got corrupted. I checked it with disks (gnome-disk) and it reported the disk needs repair. I have then run the repair, but it failed. Googling about it I understand I need to format the disk again. Does any one know if I can try something different at first?
In the case I have to format the disk, what’s the best way to do it in a STORJ friendly manner?
You may also try to repair it from the terminal with fsck command, but to fix errors it requires to unmount disk first.
So, you need to stop and remove the storagenode container, unmount your disk and run sudo fsck /dev/sdX (replace /dev/sdX to your disk).
Perhaps you will need to run it several times until all errors will be fixed.
When all fixes are done you may try to run your node back. However, if the corruption is happened not because of power failure, then your disk possibly dying. In this case it’s better to copy all data from it to another disk.
So sudo fsck /dev/sdN would be similar to the chkdsk in Windows? Do you have any indications at which point it would be wise to run such fsck? Are there some error or warn messages occuring?