Hey so I'm really new to all this stuff, I know some basics but not much tbh.
I'm using a Raspberry Pi and an external SSD (connected via USB). Torrenting works fine but every once in a while the torrent fails with the message
or 'Input Output permission, path not found' (Idk the exact error right now). I am able to solve the 'Invalid Argument' error by simply force rechecking the torrent but the I/O error is a bit harder and annoying to fix. I can't mount the SSD to any linux machine, neither my RPI nor my old laptop. To solve the issue I have to mount the SSD to a windows machine and run
. After that it works again (also have to reboot the RPI). It's quite annoying at the moment since the error mostly occurs during the night. Is this common and is there a fix for it?
Thank you in advance
It's the filesystem of the SSD basically. I suppose its NTFS and Linux cannot write NTFS natively.
It means that its using an NTFS driver such as ntfs-3g. In the past it resulted in data corruption for me, fragmented filesystem, etc.
- You can change the filesystem to exFAT, which is natively supported on Linux & Windows both.
- Make sure the external drive never loses power/connection. You can mess with mount options on Linux (changing your fstab). This will result in slower operations / speed, but will ensure data/fs safety.
Ps.: Not every Linux NTFS driver is bad; sometimes it works, sometimes it does not. Sometimes you can use a newer kernel, older kernel, LTS kernel, blah blah blah. Basically you can spend weeks to experiment and you may struck gold. Maybe not.