Live data from Hacker News

Building a Budget Homelab NAS Server

mtlynch.io

11–20 of 316 posts

Re: Building a Budget Homelab NAS Server

#11

> I see people talking about snapshotting, but I haven’t found a need for it. I already have snapshots in my restic backup solution. They’re not especially convenient, but I’ve been using restic for two years, and I only recall needing to recover data from a snapshot once. The ease at which you can revert mistakes using ZFS snapshots is much better compared to restic. You can pretty much navigate to the correct snaps…

I have personally been saved by ZFS snapshots (multiple times!) because sometimes I do dumb things, like running:

    rm -rf tmp *
Instead of:

    rm -rf tmp*

Re: Building a Budget Homelab NAS Server

#12

> I see people talking about snapshotting, but I haven’t found a need for it. I already have snapshots in my restic backup solution. They’re not especially convenient, but I’ve been using restic for two years, and I only recall needing to recover data from a snapshot once. The ease at which you can revert mistakes using ZFS snapshots is much better compared to restic. You can pretty much navigate to the correct snaps…

This. I'm always going into my backup server and looking in the ".zfs/snapshots" directory to look at the history of how files have changed over the backups. Love restic, but the ZFS snapshots are fantastic.

Re: Building a Budget Homelab NAS Server

#16
post #4
post #3

As far as I can tell, building a similar system using NVMe is vastly more complicated. If you can fit everything into M.2 slots, it’s easy. Otherwise you need barely-standardized PCIe cards, backplanes, connectors ordered off a menu of enterprise things with bizarre model numbers, and possibly “RAID” cards even though you don’t actually want hardware RAID.

You can use pcie switches on pcie x4 to 4xM.2x4 drives.

If your motherboard is new enough. I run my home NAS+server on 2013-era enterprise hardware and use a Supermicro AOC-SHG3-4M2P to make it work.

Re: Building a Budget Homelab NAS Server

#17

> I see people talking about snapshotting, but I haven’t found a need for it. I already have snapshots in my restic backup solution. They’re not especially convenient, but I’ve been using restic for two years, and I only recall needing to recover data from a snapshot once. The ease at which you can revert mistakes using ZFS snapshots is much better compared to restic. You can pretty much navigate to the correct snaps…

If you setup SMB right (TrueNAS configures this out of the box, SCALE is great if you need a Linux NAS), you can use Windows Shadow Copies to access ZFS snapshots and browse or restore file contents from them.
Post reply on HN