Perfect NAS Solution
vermaden.wordpress.com
vermaden.wordpress.com
I mix and match components from various computers and drop debian on them then run docker containers for various purposes. I've given my parents, cousins and friends Frankenstein servers like this.
You'd be amazed at what people throw away, not uncommon to find working laptops with no passwords that log straight into Windows filled with all kinds of family photos.
Sometimes unlocked iPhones from 5 years ago. It's a sick world we live in.
We deserve everything thats coming for us.
It is very cool that nvme drives are now cheap. It looks like pricing is linear up to 4TB now. That probably means the time for 10gb copper at home is finally here. (edit 10gb RJ45 switches also appear to be sufficiently available now)
I believe there would be a 'follow up' to this article when 8 TB (or at least 6 TB) NVMe SSD modules will be available on 2280 and 2242 sizes :)
Then I would make ZFS mirror of them ... and hopefully with ECC RAM.
Synology's SHR and Unraid do it easily.
You can then add 1TB 2nd partition on 6TB and 5TB and 8TB drives and add another ZFS VDEV to the same pool - or create another pool.
... and You can also add 3rd partition.
Also its really easy to get used drives in the same or similar size ... unless you live in some really 'hard to live' part of the world.
As far as I know you can't have mismatching drives as a single contiguous space in ZFS. Maybe it has changed.
And when I want to add a new drive of a random size to extend the size of the same directory it's again a pain of adding and extending stuff.
Yes you can, example below:
vermaden ~ % truncate -s 1G FILE.0
vermaden ~ % truncate -s 2G FILE.1
vermaden ~ % mdconfig.sh -c FILE.0
IN: created vnode at /dev/md0
vermaden ~ % mdconfig.sh -c FILE.1
IN: created vnode at /dev/md1
vermaden ~ % lsblk md0
DEVICE MAJ:MIN SIZE TYPE LABEL MOUNT
md0 2:17 1.0G zfs - -
vermaden ~ % lsblk md1
DEVICE MAJ:MIN SIZE TYPE LABEL MOUNT
md1 2:18 2.0G zfs - -
vermaden ~ % doas zpool create test md0 md1
vermaden ~ % zpool status test
pool: test
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
test ONLINE 0 0 0
md0 ONLINE 0 0 0
md1 ONLINE 0 0 0
errors: No known data errors
I do not know how you buy your disks but when I need to buy storage I know exactly what SIZE I want to buy - I do not just get ANY disk and then think 'how' to utilize it :)But with ZFS you have plenty of options to use disks of different sizes.
Example below, RAIDZ from 4 disks of 2TB and added a mirror of two 5TB disks to the same ZFS pool.
vermaden ~ % doas zpool create test raidz md{0,1,2,3}
vermaden ~ % zpool status test
pool: test
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
test ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
md0 ONLINE 0 0 0
md1 ONLINE 0 0 0
md2 ONLINE 0 0 0
md3 ONLINE 0 0 0
errors: No known data errors
vermaden ~ % doas zpool add test mirror md4 md5
vermaden ~ % zpool status test
pool: test
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
test ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
md0 ONLINE 0 0 0
md1 ONLINE 0 0 0
md2 ONLINE 0 0 0
md3 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
md4 ONLINE 0 0 0
md5 ONLINE 0 0 0
errors: No known data errors
Hope that helps.Regards,
vermaden
Like maybe a rack mounted low power quad core with lots of memory slots, 6 or so 3.5” spinny slots, and some hot swap nvme bays for an affordable price.
I dont need exotic hw, I just want the ability to have some big slow storage mixed with some fast storage.
My current set is a 1U atom setup with an esas card hooked up to a 1U drive shelf. With dual bonded 10gbps uplink.
This is my 4th NAS iteration, so I've worked out exactly how I want it over the course of about 10 years. Partial parts list here: https://pcpartpicker.com/user/chiefnoah/saved/CxjNyc
SSDs are getting cheaper, but their capacity is still lagging. E.g. a 4TB Samsung NVMe drive is >2.5 times more expensive than a same capacity NAS-grade HDD, and ~4.5 times more expensive per GB than a NAS-grade 18TB HDD at the same price.
What is the point of bean-counting on KWhs if the $ you pay for storage will either burn a hole in your pocket, or leave you with a NAS that will be full in a year and virtually no expandability options?
and it seems to strike a pretty excellent balance. 4x NVME + 2x 2.5" can get you a lot of storage, but it's still using just a 15W CPU. Build quality is quite good as well.
> E.g. a 4TB Samsung NVMe drive is >2.5 times more expensive than a same capacity NAS-grade HDD
Samsung is far from the only player in the NVMe space. DRAM-less NVMe drives are quite a bit cheaper (~$50/TB), which if you only want 1-2TB is a great option - ie, if you're just looking for a personal dropbox equivalent. Which was exactly my use case for the lincstation - I just wanted to own my own documents, I didn't need to backup blurays or whatever.
These machines are pretty big, but cheap and i managed to get a
Fujitsu D3417-A board
Bojiadafast Adapter 24-16pin aliex.
160W streacom nano
Xeon 1225v5
64GB ECC RAM
WD SN850x 2tb nvme
To draw less than 7 Watts... but thank You for another point of view - these 'Celsius' machines does look interesting - need to spend some time to check them.
I'd personally prefer the Gigabyte MC12-LE0 Board for 50 Bucks with a Ryzen 5600 / 5650, which supports IPMI and Bifurcation. However, the power consumption exceeds 15W in most cases and the NVMe is stepped down to something around 1GB/s... and no 2.5Gbe without an extra card.
1: https://www.friendlyelec.com/index.php?route=product/product...
2: https://www.youtube.com/watch?v=QsM6b5yix0U&embeds_referring...
This is something that needs to be taken into account if one is planning to buy a new machine to reduce power draw by like 5W.
This is not taking into account the footprint of producing that extra machine earlier than it would need to be produced.
Since the home already consume much more than few W for ventilation and so on the consumption of a modern PC does not change much, it's not an old multi-opteron server.
- a software RAID 1 for important data (eg. contracts, receipts, emails, family pictures) paired with par2archive to counter bit rot - a JBOD with snapraid for large media collections
The posts go into details, eg. properly configuring ext4.
[1] https://blog.georgovassilis.com/2020/04/01/building-the-perf...
[2] https://blog.georgovassilis.com/2022/10/28/my-home-nas-setup...