Do NOT use a USB flash stick in normal production running. Period.
In an emergency, for a short period, a USB Flash stick can be used but it could fail pretty quickly due to the number of writes.
However you can get a genuine SSD in a USB Stick format (e.g. SKK - which I use) - and these have much much much higher TBW for used as a boot drive. There are other potential issues with using USB for a boot drive, but at least you have avoided the TBW drive dying issue.
A RAIDZ1 pool shouldn’t have any problems coming back after a system crash (for whatever reason - failed USB stick, power outage whatever) but:
That is only true if you have set up your hardware correctly; and
“Shouldn’t have problems” is not the same as “never have problems”.
Implement @joeschmuck’s Multi-Report script to (amongst many other benefits) have your system configuration file mailed to you once per week as a backup.
I wouldn’t encourage the idea, but (as long as you aren’t using encryption) there shouldn’t be any risk to your data. I don’t know that I’d trust a clone of the boot device, but “boot a fresh install and upload the saved config” would get you back up and running in a hurry.
What I’ve done instead in the Microserver I handle is use an internal USB-NVMe adapter with a 2242 (I think) SSD. There’s an internal USB port on the motherboard for just this purpose.
Im using a small 60gb SSD attached to an USB SATA adapter for boot, without issue. Total cost from AliExpress 7€ for both (5€ SSD and 2€ the adapter).
Don’t wanna say that Is the best choice, but imo risks are less than benefit, so its worth (1 SATA port free, as 1 power connector from PSU… So i could build a 6 disk raidz2 pool without HBA).
A good MLC USB stick (for me) cost 3 times more, and probably Is less reliable; the pci-ex/NVME adapter Is a very better choice, just a bit more expensive but way more reliable.
My mainboard have an internal dedicated USB port, so i could secure the device to the case avoiding accidentally “impacts”
guys, thanks for all that feedback!
I’m also thinking about an eSATA-to-SATA Adapter for 10 Bucks, since the Micorserver offers such a port on the back… power is coming via USB, so I could easily run any 2,5" SSD… or spinning drive… since I have such an old baby lying around…
Depending on the hardware, the power supply might also become an issue.
For example, the internal USB port of the HP ProLiant Gen8 with Intel CPUs, is only a USB 2.0 port, thus supplying 2,5W max. *
Kingston lists the max draw of a SSD at 3,2W while writing. Add to that an USB to SATA converter and TN writing a lot of logs, I would be worried hat in the long run, this might damage the USB port.
*Maype HP has beefed this up so any device connected can draw more power, I have read in the past that some mainboards manufacturers have done this, but who who knows.