Earlier quoted context omitted.
> Not a great time price-wise to be building a NAS That under-states the matter. It is a terrible time, price-wise, to build a NAS. I'd almost rather have no AI whatsoever and have storage 1/10 the price of pre-AI times. (If there were a magical choice between having AI and significantly more expensive storage, and having no AI and some program to dump that investment money into getting and somehow leveraging signifi…
> I'd almost rather have no AI whatsoever and have storage 1/10 the price of pre-AI times. Almost? ALMOST!?!?! If you handed me a button that would make it like LLMs had never existed I'd be slamming that button so hard Sam Altman's clothes would spin around. Return memory and storage prices to normal, undo the sloppification of ~everything, remove all these annoying "features" that are so useful they have to force t…
How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)
251–260 of 265 posts
Re: How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)
#252Re: How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)
#253Earlier quoted context omitted.
When we allocate space to an LVM snapshot, the COW data is written to that space and then when that space is used up the LVM snapshot must either be given more space or must be deleted. When a ZFS snapshot is marked, then changes to existing blocks in the snapshot as well as new writes all go to free space in the disk. There is no pre-allocated space within which these COW changes are written to. Thus, we could have…
That would be a thinly-provisioned snapshot in LVM.
Re: How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)
#254Earlier quoted context omitted.
> Not a great time price-wise to be building a NAS That under-states the matter. It is a terrible time, price-wise, to build a NAS. I'd almost rather have no AI whatsoever and have storage 1/10 the price of pre-AI times. (If there were a magical choice between having AI and significantly more expensive storage, and having no AI and some program to dump that investment money into getting and somehow leveraging signifi…
I'm doing it anyway and I've found some secondhand deals. Maybe COVID homelabbers are offloading gear? I built a 24 TB HDD NAS in a 36 bay chassis for around $1000 all-in: mb, ram, rails, chassis, rack, disks, hba, nic Awful Watts/TB but the plan is to run it and the GPU rig on solar.
Re: How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)
#255Earlier quoted context omitted.
The risk of z1 is that if you get a read error during resilvering, that data is permanently corrupted. The odds of this happening go way up the larger your individual drives are. This is why I chose RAIDZ2 for my NAS. I've had to resilver 2-3 times over the past 10 years, and never lost a byte of data.
> The odds of this happening go way up the larger your individual drives are. This is a common claim, but honestly, citation needed. We can't just apply bit error rates from the datasheet that haven't been updated in 15 years. I'm sure a 2-day rebuild is a little more risky than a 4-hour rebuild, but I'm not convinced it's by all that much. Especially if you had a monthly scrub going to prevent disk rot and disks sec…
This is based on the data I had available 10 years ago when I set up this array… If you have data that points to drives having fewer read errors per GB in recent years, I'd love to see that citation.
> And how many times did you have a read error on one of your other disks during a resilver?
I don't know, because I have RAIDZ2, so that read error would probably be corrected without it being reported to me.
Re: How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)
#256Earlier quoted context omitted.
The risk of z1 is that if you get a read error during resilvering, that data is permanently corrupted. The odds of this happening go way up the larger your individual drives are. This is why I chose RAIDZ2 for my NAS. I've had to resilver 2-3 times over the past 10 years, and never lost a byte of data.
> The odds of this happening go way up the larger your individual drives are. Technically true. Practically? There are several other major factors - such as the quality of your drives, whether you periodically run zfs scrubs and/or disk read tests, and how long a resilver takes to complete. Behind those are the eternal duo - size of budget and cost of failure.
Re: How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)
#257Earlier quoted context omitted.
> The odds of this happening go way up the larger your individual drives are. This is a common claim, but honestly, citation needed. We can't just apply bit error rates from the datasheet that haven't been updated in 15 years. I'm sure a 2-day rebuild is a little more risky than a 4-hour rebuild, but I'm not convinced it's by all that much. Especially if you had a monthly scrub going to prevent disk rot and disks sec…
> This is a common claim, but honestly, citation needed. This is based on the data I had available 10 years ago when I set up this array… If you have data that points to drives having fewer read errors per GB in recent years, I'd love to see that citation. > And how many times did you have a read error on one of your other disks during a resilver? I don't know, because I have RAIDZ2, so that read error would probably…
Data you collected or data you found? Any idea where it was?
I've only seen oversimplified math, not real data, and different versions of the math make different assumptions.
> I don't know, because I have RAIDZ2, so that read error would probably be corrected without it being reported to me.
Zpool status gives you a per-disk error count. I kind of assumed someone doing a resilver would use that command.
Re: How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)
#258Earlier quoted context omitted.
> This is a common claim, but honestly, citation needed. This is based on the data I had available 10 years ago when I set up this array… If you have data that points to drives having fewer read errors per GB in recent years, I'd love to see that citation. > And how many times did you have a read error on one of your other disks during a resilver? I don't know, because I have RAIDZ2, so that read error would probably…
> This is based on the data I had available 10 years ago when I set up this array Data you collected or data you found? Any idea where it was? I've only seen oversimplified math, not real data, and different versions of the math make different assumptions. > I don't know, because I have RAIDZ2, so that read error would probably be corrected without it being reported to me. Zpool status gives you a per-disk error coun…
I think it was a lengthy blog post citing manufacturer data, found via the FreeNAS forums. The added safety of RAIDZ2 was a good tradeoff. Someone else on this thread reports they lost two SSDs in rapid succession, which I hear happens sometimes with drives from the same batch. In any event, I felt no need to launch an independent investigation of the math and underlying assumptions.
> Zpool status gives you a per-disk error count. I kind of assumed someone doing a resilver would use that command.
Yes, I did indeed use zpool to do the resilver… I don't recall if there were any read errors on other drives at the time of those failures, but probably not, as the scrub probably would have flagged it. They've all been replaced with higher capacity drives, so at the moment I see "No known data errors"
Re: How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)
#259Earlier quoted context omitted.
> This is based on the data I had available 10 years ago when I set up this array Data you collected or data you found? Any idea where it was? I've only seen oversimplified math, not real data, and different versions of the math make different assumptions. > I don't know, because I have RAIDZ2, so that read error would probably be corrected without it being reported to me. Zpool status gives you a per-disk error coun…
> Data you collected or data you found? Any idea where it was? I think it was a lengthy blog post citing manufacturer data, found via the FreeNAS forums. The added safety of RAIDZ2 was a good tradeoff. Someone else on this thread reports they lost two SSDs in rapid succession, which I hear happens sometimes with drives from the same batch. In any event, I felt no need to launch an independent investigation of the mat…
Also to reply to your other comment: Personally one extra drive is a small price to pay for the peace of mind.
I achieve peace of mind via backups. For each copy, once I get the AFR below 2% I'm not too fussed about pushing it lower.
Re: How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)
#260I really, do not want to have a big server rack lying around at my house. I have a couple of SSDs that are not being used and 3 USB HDD drives. I also have a PN50 that I am not using as well. I am thinking of buying a USB bay with 5 SSD slots in it and then 3 HDD drive. My use case is very, very cold. It is mostly just readonly data with some rclone sync every week. Does anyone have a suggestion? I am pretty much rel…
I'd probably just buy a cheap prebuilt PC with a big case, or surplus enterprise tower. You can get cheap LSI PCI cards and do miniSAS to SATA if needed. The biggest concern I'd have with USB is power delivery to the hard drives, but I haven't even done the napkin math so maybe it's fine. The SSDs seem like they might be a waste of money. USB hard drives have a poor reputation, but I don't have a ton of experience to…
People say those generate a ton of heat because they're normally in a rack mounted server with plenty of airflow. Probably a significant drawback for a "cheap prebuilt PC".