|
NihilCredo posted:I have recently set up a small personal Pi 4 webserver and I'm looking at storage options. It will run 24/7 but under very little load, so it's gonna be NAS HDDs, but for the moment I won't mind if it goes down for a day or so, so I'll skip RAID and just set up rsync backups. So I ran a similar setup for a couple years, using a pi 3b and a pair of external USB hdds on a powered hub and set up samba for network access. Honestly, the point of failure here is the pi itself, unfortunately. The filesystem is very sensitive to corruption from unscheduled power interruptions. After the first few times my various high-quality SD cards died, I moved to booting off a USB thumb drive and that gave me the longest period of stability, but even it eventually corrupted and died too. With a webserver or any 24/7 program that writes continuously (think logs), you run a real risk of filesystem corruption if the power supply varies even a little. That said, every time the pi died, the data on my HDDs was completely fine, so it really wasn't much impact overall. Get everything set up and then image your SD card so you can just clone it when the install corrupts and get back up and running quickly.
|
# ¿ Jun 21, 2020 16:42 |
|
|
# ¿ May 8, 2024 05:53 |
|
HalloKitty posted:Couldn't you run a usb power bank as a ups to the pi? That would be cheap and easy. That said, I don't know how common it is for power banks to allow constant charging/discharging the problem is the switchover logic/circuit; it's non-existent in the powerbank because that's not what they are designed for, and even a slight undervoltage during a power loss is what causes the problems with corruption. like others have said, you can do it, you just can't assume unattended stability like you would for a dedicated NAS or server, because at some point or another the power will dip or shut off and the pi won't boot back up.
|
# ¿ Jun 22, 2020 16:42 |
|
The Wonder Weapon posted:I've got a question that's tangential to NAS. It's not about it directly, but I have a feeling there's going to be overlap between what I want to know and the people posting here. i have one of these: https://www.amazon.com/gp/product/B07XGKZMKF works decently on a raspberry pi in a similar setup. it's small and thin so i just tuck it away on a shelf when i don't need it.
|
# ¿ Sep 8, 2020 23:47 |
|
ouroboros or watchtower will handle everything for updating containers automatically. just remember to declare specific image tags for containers if you need stability (i.e. not :latest) or ignore if you use ouroboros.
|
# ¿ Dec 4, 2020 23:01 |
|
BlankSystemDaemon posted:Do you just stalk me around every single thread to vaguely insult me? turn on your monitor ?
|
# ¿ Jun 9, 2021 12:57 |
|
Incessant Excess posted:Has anyone tried running a pi-hole docker container on a Synology NAS? That a good experience? i do, and it's very stable. docker-compose and ouroboros/watchtower keep it going. i have it assigned to a macvlan, point the dhcp server to it, and intercept hardcoded dns queries with the firewall. pihole itself is pointed to firewall to use unbound. works great.
|
# ¿ Jun 22, 2021 14:05 |
|
i just plan on being crypto lockered as my data-at-rest solution
|
# ¿ Sep 24, 2021 17:37 |
|
|
# ¿ May 8, 2024 05:53 |
|
tuyop posted:What do I add to my yml file to have that container use the bridge network? the default bridge in docker has some quirks so it is recommended to just define your own: define a bridge network first and verify it exists: YAML code:
YAML code:
YAML code:
|
# ¿ Nov 26, 2021 18:30 |