ColinTaylor
Part of the Furniture
Once you start using something that was originally designed as an appliance as a server these sorts of problems are inevitable to some degree. In practice there's probably very few, if any, applications that can't cope with being unceremoniously killed (i.e. having the power removed).Having read through your recent discussion, it makes me wonder what problems might result when powering down by switching off/unplugging. (I run Diversion, Skynet and Pixelserv, with the associated USB stick in the back of the router.)
Last week I had a glitch which would not clear with reboots from the GUI, but which did clear with a power-down and 20 second wait before powering up again.
With a USB drive plugged in and running such software, should we send a halt command before manually powering down, to prevent problems? (And add a small UPS to the router to prevent problems from short-term mains outages, too, eg https://www.amazon.co.uk/dp/B0187PWCLO/?tag=smallncom-21 after ensuring voltage, current, polarity and connectors all match, of course)
The only problem I'm particularly aware of is the corruption of the filesystem on the USB device. So your biggest protection against that, and to save you having to repair it later, is to use a journaling filesystem.
I can't recommend that highly enough. So that means using something like ext4 instead of ext2. Some people recommend using ext2, or ext4 without its journal, for performance reasons. To that I would say; That's OK provided that there's nothing on your USB drive that you don't mind loosing.
Last edited: