4 ms·
I'd be a bit wary of something as important as invoices on the Rpi storage though. Hopefully there's some automatic backup.
by tyingq 6y ago
I'd be a bit wary of something as important as invoices on the Rpi storage though. Hopefully there's some automatic backup.
- javajosh 6y agoOr buy two or more put them on the same subnet and let them replicate. More money!
- bigiain 6y agoI thin I'd prefer a cold spare to a hot spare. There's probably more change of failure happening at around the same time if a pair have been running as replicas or one as a hot spare. A 15 min invoicing downtime while you unbox and boot the cold spare and restore from the usb stick from the failed one - is probably not as big a deal as the risk of one of your replication pair going bad and possibly corrupting the other, or having the similar runtime secondary fail around the same time as the primary.
- gen220 6y agoYou can boot the RPI off of an SSD nowadays, or boot off an SD card with the root file system on an SSD. I also used to be concerned about persisting data on a RPIs because of the SD card problem. But this setup is quite comparable to a standard Linux box with no replication. From there you can setup ZFS if you care to, or be satisfied with daily backups to the cloud.
- tyingq 6y agoI poked around and found her product page for the Rpi device, and she does couple it with a 120GB SSD and two USB sticks for backup. https://www.open3a.de/page-open3ABox https://www.open3a.de/page-open3ABox
- gen220 6y agoOh, nice! I've never thought about using flash for backups, that's a very nice trade-off of for form factor and cost efficiency.
- imhoguy 6y agoAlso as this is managed solution, I would offer encrypted offsite "cloud" storage. Any part of the box fails? Send over a new one the next day which will automatically pull all saved data once the login/password is typed on the setup page.
- bigiain 6y agoI'd probably lean the other way. I'd build that so that you could say "Any part of the box fails? Send over a new one then next day then plug one of the USB sticks in and it'll automatically pull the encrypted saved data from itonce the login/password is entered." If people are choosing a local box instead of her hosted offering, cloud backup might be a deterrent rather than a feature. For the ultra paranoid you could even sell them a spare which they can keep on-hand to swap in and get back invoicing immediately.
- bityard 6y agoEvery single time the RPi comes up in an HN thread, someone mentions the reliability of SD cards. The truth is: 1) Regular SD cards were never designed to be OS volumes, of course they're going to fail when used for that. Buy better SD cards, like ones with high write endurance. 2) RPi 4 does not need to boot off SD card. It can boot from any USB drive of your choosing, or over Ethernet.
- tyingq 6y agoI brought it up because it was being sold as an appliance type device with invoice data on it, to be sold to probably non-technical customers. Not just as a random gripe. I did reply, after finding that specific product page, with an update that she is shipping it with a real drive.
- skrtskrt 6y agoCan a RPi4 bought before the USB boot was added have it enabled?
- GordonS 6y agoAs this point, it's practically a meme. I don't know if I've mentioned this on HN before, but my brother works for an oil services company, and they have deployed hundreds of RPis across sea and land rigs, mostly in the middle east. The land rigs are mobile, and as you can imagine, the middle of a desert in Oman is a pretty hostile environment. Despite this, they haven't had even a single failure across all these devices in over 5 years. Not one - and they boot from SD cards! The stuff running on the RPis isn't very write heavy, and the cases are only lightly ruggedised (I forget the brand, but they are consumer gear, nothing fancy), and I forget what brand the SD cards are - but this is why I roll my eyes every time this is mentioned on HN (which is every time RPi is mentioned on HN). I really wonder what fraction of people repeating this reliability claim even have an RPi.
- thunfischbrot 6y agoWhile I am not one of those commenting on such issues except for your prompt–my experience with RPi 1 & 2 has been that they tended to eat sd cards for breakfast. Either needed reimaging or broke the sd cards for good. Had this at happen in at least eight instances. Especially, but not exclusively during unexpected power loss. Which tends to happen in both experimental and production environments, unless you take great care. Younger generations have not had these issues for me. While I assigned that to my experience, usually reducing logging to sd card, booting off of USB and fewer unexpected power losses, it may simply not be an issue any more.