3 ms·
I'd again recommend a Raspberry Pi (ideally 4 with 4GB+ RAM), but with some modifications. - You can choose an high endurance MicroSD card to maximize its life
by bayindirh 6y ago
I'd again recommend a Raspberry Pi (ideally 4 with 4GB+ RAM), but with some modifications.
- You can choose an high endurance MicroSD card to maximize its life.
- You can delegate big file storage to something external (a HDD or SSD w/USB 3.0 connection). If you want something small, SanDisk Extreme Pro USB stick is a real SSD with USB-SATA bridge inside and 400MB/sec throughput.
- Armbian writes logs and swap to RAM in a compressed manner and will only commit logs back to disk during restart/shutdown. You can modify Raspbian to do the same I think. Armbian is not present for Raspberry Pi, my bad, sorry.
I'm using Armbian on a OrangePi Zero to run dnsmasq, qbittorrent (humble bundle downloads and ISOs), syncthing and other couple of services. I've delegated storage to an external USB 256GB drive and it's doing fine for now.
It's not as powerful to run Kodi and other multimedia stuff, but it's a plug and forget matchstick box which makes my life way easier.
- viraptor 6y ago> You can choose an high endurance MicroSD card to maximize its life. You can also use whatever cheap card just for bootup, then immediately change root to a `/` mounted from an SSD.
- bayindirh 6y agoThat's another choice, of course. I'm in my lazy era. I don't tune/fix anything up unless it's broken :) Since Armbian doesn't write to the SD card too much anyway, keeping the box compact is the more attractive option for me, for now. High Endurance SD cards are not exactly expensive anyway. With the rise of dash cams and Go Pros, every major manufacturer has clearly labeled HE SD cards.
- tails4e 6y agoThis sounds interesting. Any guides for how to use as for boot only and how to attach an SSD to a pi? What powers the ssd etc? The last pi I tried was a 3b
- viraptor 6y agohttps://duckduckgo.com/?q=raspberrypi+boot+root+ssd https://duckduckgo.com/?q=raspberrypi+boot+root+ssd Rpi can power many SSDs without issues. If not, just grab a powered USB hub.
- justin66 6y agoBooting from USB with the 3b should be pretty easy, and you probably won't need any sort of USB hub. A name brand portable SSD with a USB interface (not an adapter on a SATA drive or something) should serve you well here. One thing: the errors you were getting with storage might have been because of an inadequate power supply. Make sure you're using the official Raspberry Pi PS for the 3b.
- jsilence 6y agoThere is Armbian for the RaspberryPi now? Last time I checked RasPi was explicitly excluded because of non free Broadcom binary blob.
- bayindirh 6y agoOh, my mind is playing games to me. You're right. I misremember it. Sorry. Will update my comment.
- bayindirh 6y agoTo put the money where my mouth is: 1. A little how-to for storing your logs in RAM, a la Armbian style: - https://github.com/azlux/log2ram https://github.com/azlux/log2ram (It's still updated) 2. Move your SWAP to ZRAM, again Armbian style: - https://github.com/foundObjects/zram-swap https://github.com/foundObjects/zram-swap This two will improve your SD card life considerably.
- occz 6y agoI'm guessing that kind of setup won't be powerful enough for something like hosting a Plex Server to stream x265-content to a chromecast, right?
- oarsinsync 6y agoStream? Yes Transcode to a different video codec? No