OP claimed the picture was wrong and that itvwas much hotter
- 0 Posts
- 13 Comments
Guiorgy@lemmy.mlto
Selfhosted@lemmy.world•Is using zfs really worth the investment vs other filesystems?English
9·5 days agoBoth ZFS and BTRFS require having at least 2 copies for healing, however, unlike a standard RAID1 that is oblivious to which of the 2 copies is healthy, the 2 filesystems use CRC checksums to figure out which is corrupt and recover the good one. As long as you have at least 2 copies, they will check the checksum on every read and heal it if corruption is detected. Besides that, you’d schedule a periodic scrub to also check the data that hasn’t been read in a while.
In ZFS you can tell it to keep 2 copies of everything even if you only have 1 drive, which would give you the healing effect, but this obviously halves the drive capacity, and does not save you if that 1 drive dies, hence spreading it on multiple drives is better.
Personally, I find ZFS easier to use than BTRFS, it’s not that complicated once you get the hang of it, plus LLMs can help anyway. It does have many dials that can be tuned, but unless you are trying to optimize it for a specific usecase, the generally recommend setting are fine for most use cases.
It’s not built into the kernel, but server distros (e.g. Ubuntu) build it as a loadable module, which is kept in step with the kernel, so generally no issues there. On distros like Arch it can be really annoying though.
“Slightly lower” is a bit of an understatement, both for ZFS and BTRFS. Those are CoW (Copy on Write) filesystems, so they are much slower to write, which is a traid off for the benefits of CoW. On the other hand, reads are only slightly slower (since CRC is always checked), and thanks to transparent compression, they can be even faster to read.
One downside of ZFS over BTRFS is fragmentation, all CoW filesystems suffer from it, but BTRFS allows you to defragment in place (takes a while though) unlike ZFS.
If you can’t afford storage, the data you want to store is generally compressible, and speed is not critical/priority, it might be woth using ZFS/BTRFS just for the transparent compression to save on space and get more out of the drives you have. I’m using BTRFS on a Fedora system for this reason alone, helps me avoid buying a new SSD 😬
Guiorgy@lemmy.mlto
Selfhosted@lemmy.world•Is using zfs really worth the investment vs other filesystems?English
5·5 days agoIf you only require mirrors (RAID 1) then BTRFS works fine, but if you need something more and the system has good support for it (e.g. Ubuntu) then ZFS is better IMO. Yes you can use mdraid with BTRFS, but I prefer 1 ZFS over 10 different moving parts.
I use both, choosing which one depending on the conditions.
Guiorgy@lemmy.mlto
Selfhosted@lemmy.world•Is using zfs really worth the investment vs other filesystems?English
4·5 days agoRAID is not a backup, what RAID gives is availability, what you should prioritize depends on the usecase, but generally proper backups are usually the priority
Ensh*tification
There’s always the risk of further damage, though I get you
Every solution has its pros and cons. If you rely on something that requires public access (like randomly sharing access with others) than this is not a solution for you. With that said, you can go hybrid, anything high risk that you will never share with others (or only with a few predefined set of people that you can share a VPN config with) can go behind a VPN, anything you intend to share with others stays public but goes into a VM on a separate VLAN with restricted access to stuff to minimize the blast radius should sh*t go down. Personally this is what I’m trying to do, most things have been moved behind VPNs, only a few things remain public and I’m slowly moving them to separate VMs in a restricted network.
Guiorgy@lemmy.mlto
Selfhosted@lemmy.world•NGINX2Root by Xint — From nginx visitor to root of the server hostEnglish
181·8 days agoOn the bright side, nobody in the company ever took me seriously when I talked about security, but now they seem more willing to hear me out 🤷
Guiorgy@lemmy.mlto
Selfhosted@lemmy.world•NGINX2Root by Xint — From nginx visitor to root of the server hostEnglish
4·8 days agoNah, only Microsoft vulnerabilities can end with 36x (it was only 365 before though)
I’m laughing at it now, but the realization was a hell of a stressful moment 😅
Me who wants to remove a system-wide script:
rm -rf /usr/bin /local/script.sh
Yes, the space was an accident, and yes, this did happen 😋
Guiorgy@lemmy.mlto
Privacy@lemmy.ml•blastQR: send files completely offline over QR codes. Up to 1.4 MB/s
0·14 days agoInteresting, though what if the receiver fails to scan the codes quicly enough?

Interesting idea, might be worth expanding the thought and 3D printing a guide duct to redirect some of the airflow to the SAS card