127
submitted 11 months ago by [email protected] to c/[email protected]
top 41 comments
sorted by: hot top controversial new old
[-] [email protected] 20 points 11 months ago

I know that making networks out of duct tape and bubblegum is a point of pride in the Linux community, but if you have to store vital data, wouldn't a nice hardware NAS and a RAID array be a better solution?

[-] [email protected] 2 points 11 months ago

Funny. My WD nas runs linux and the support ended so i've had to upgrade myself with entware... and it's old, so the fan was sized for cooler hard drives, so I cut a hole in the top and screwed on another fan... and WD removed NFS support years ago, so I just mount my shares oversshfs... and i'm currently upping my local security so it's only accessible over wireguard... honestly, I have no idea what it's doing with the hardware raid and the way it mounts drives so i'm tempted to switch over to mergerfs and snapraid...

Basically my legit consumer hardware raid nas is more duct tape and bubblegum than my home built linux nas. Then again, it's easily a decade past its anticipated useful life too.

I guess it is a point of pride.

[-] [email protected] 14 points 11 months ago

Backups people backups. You don't realize how much you want them until it's too late to make them.

[-] [email protected] 8 points 11 months ago

don't worry I have raid, that's a backup right?

[-] [email protected] 10 points 11 months ago

Raid 0 right? I heard the number stands for how much risk there is of losing data.

[-] [email protected] 9 points 11 months ago

Add more disks for more reliability

[-] [email protected] 4 points 11 months ago

Due to the green economy I only buy second or third hand disks for my RAID0 setup

[-] [email protected] 2 points 11 months ago

Also remember to backup before things break. I once diligently backed up a system image before an upgrade. But I backed up a already failed SD card.

[-] [email protected] 1 points 11 months ago

and if possible, keep some backups in a separate physical location. House fires or break-ins aren't all that uncommon.

[-] [email protected] 2 points 11 months ago

A good advice, but most regular people don't seem to bother with rotating physical off-site storage mediums so I advocate automated (and encrypted) backups to a cloud or something as well.

[-] [email protected] 11 points 11 months ago

LPT: pies since at least the 3b can boot from USB.

[-] [email protected] 8 points 11 months ago

If you must use an SD card: use log2ram. Greatly reduces the number of IO operations to the card and prolongs its life.

[-] [email protected] 4 points 11 months ago

I’ve never relayed to a meme more. I moved my UPS to my work computer after that one failed and three days later, I lost power. Spent five hours fixing a corrupted SD card then reconfiguring my Pi-Hole and HomeBridge.

[-] [email protected] 4 points 11 months ago

Pfft, mine boots from a USB SSD, and since my services are all containerized I just gzip the directory with all my docker-compose files and volumes and chuck it into B2 every 6 hours

[-] [email protected] 3 points 11 months ago
[-] [email protected] -1 points 11 months ago

I just bought this, we'll see how easy it is to setup. Do you still run raspian on it, or something else?

[-] [email protected] 2 points 11 months ago
[-] [email protected] -1 points 11 months ago

do you use a separate power for the sad? or just leave it plugged into the raspi?

[-] [email protected] 2 points 11 months ago

No, it's a NVMe to USB-C enclosure, with a USB-A to C cable connecting it to the Pi. No external power.

[-] [email protected] 0 points 11 months ago

I run ubuntu server on my RPi 4 with USB3 SSD. No issues so far, but needs a good PSU. Survived a blackout without an issue.

[-] [email protected] -2 points 11 months ago

do you use a separate power for the sad? or just leave it plugged into the raspi?

[-] [email protected] 3 points 11 months ago

This has happened several times to my Pi-Hole. Even with backups, trying to get my network back online still takes too long. I haven't found a good solution for resilience yet.

[-] [email protected] 3 points 11 months ago

Try to use overlayfs under raspi-config, I've been running some raspberry pis for years with that (mostly on offsite locations where fixing dead sd cards is not possible)

Updating the pis is a little more work but in some use cases it's worth it

[-] [email protected] 2 points 11 months ago

Honestly something that critical probably shouldn't run on a rpi. There are plenty of cheap used thin clients you can buy on eBay that have better performance and reliability. I probably like the thinkcentre micros, but feel and hp have good options too

[-] [email protected] 2 points 11 months ago

Pis can be supremely reliable when used correctly for the purpose. E.g. use high quality SD cards and don't write to them much, or a good quality SSD if you have to do significant writes, etc. My oldest 4 is from 2019 and it's been in continuous use since then. It used to be a NAS running a 2-disk mirror exported over NFS. These days it's a gigabit OpenWrt router with SQM. It's still in the original SD card.

[-] [email protected] 2 points 11 months ago

Full redundant JBOD backup. It's unfancy and safe.

[-] [email protected] 1 points 11 months ago

My phones sd card died this weekend. Fuuck. Still trying to recover the data somehow. Can relate..

[-] [email protected] 1 points 11 months ago

SD card clone taped on the box, USB disks and ZFS. Mirror works well. You could try a 3-4 disk RAIDz1 through a USzb hub if you're feeling ambitious.

[-] [email protected] 1 points 11 months ago

Why are 5v ups's not a common thing?

[-] [email protected] 1 points 11 months ago

They are, kinda. You can buy a power bank that can be charged and still output energy

[-] [email protected] 1 points 11 months ago* (last edited 11 months ago)

They are? ~~Hours~~how do I look for one? Never seen one that could do that, mine certainly doesn't.

[-] [email protected] 1 points 11 months ago

Some models support it. I had one from PowerAdd

[-] [email protected] 1 points 11 months ago
[-] [email protected] 1 points 11 months ago* (last edited 11 months ago)

I saw it in a review, so idk

[-] [email protected] 0 points 11 months ago

Not quite the same, but I made the mistake of using my RPi to run my home server and NAS off of an external USB non-NAS (i.e., not intended to be running 24/7) drive...with no backup or redundancy. The drive actually lasted a good long while, but it did die, and very suddenly, a couple of months ago. And now I've lost all my stuff that was on it. Still holding out hope I can figure out a way to recover the drive, but yeah.

Back up your shit, yo.

[-] [email protected] 1 points 11 months ago

Is it an HDD? Those are quite easy to recover, just put the disk into a working HDD

[-] [email protected] 1 points 11 months ago

Sorry I'm not sure what you mean. Yes it's an HDD. A USB plug-in one in a non-user-serviceable enclosure. I can't (without completely destroying it) get the HDD itself out. And I'm not sure what it would even mean to put it into a working HDD. The broken HDD itself is the problem, I think.

[-] [email protected] 2 points 11 months ago
[-] [email protected] 1 points 11 months ago

I can't recall the exact model, but it's some form of Seagate Expansion Desktop, sort of like the ones shown here. Mine was 1.5 TB, IIRC.

Thanks for that link. Wish there was a bot to translate links back into normal YouTube videos like there's one to send you off to that other site, but it's easy enough to manually change the URL I suppose. Anyway, doing that is way beyond my skills, and I'm not sure the data would be worth paying a professional to do that either. I can't imagine that comes cheap.

[-] [email protected] 2 points 11 months ago

Opening a HDD on your own is usually a terrible idea.

HDDs need a completely dust free environment so that no dust enter the harddrive.

[-] [email protected] 1 points 11 months ago

I would recomend something more repairable in future, sorry for your data loss

this post was submitted on 07 Aug 2023
127 points (99.2% liked)

linuxmemes

19849 readers
369 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS