[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Planning a Debian NAS




On 1/25/20 5:34 PM, Aidan Gauland wrote:
I want to set up a file server on my home LAN with just consumer-grade hardware, and run Debian stable on it.  For hardware, I am probably going to get a refurbished mid-range tower with a four to six 3.5" SATA drive capacity, and put WD Reds in it.

What I'm not sure of which filesystem to use.  I could just use ext4 with RAID5 or RAID6 to get striping with some fault tolerance (i.e. time to replace a failed drive without losing everything). ZFS looks easier, but only if you're on BSD.  btrfs sounds like ZFS for Linux, but it appears to still be of beta quality, and I can't tell whether it can yet do striping with parity.  Any advice?

Regards,
Aidan Gauland


I just built a second media server to house my music collection, I collect live recordings of the Grateful Dead, Phish, etc. I used Debian 10 (buster) with six 6TB drives and ZFS. The ZFS pool is configured as a zraid 2 which is the equivalence of raid 6. The key with ZFS is memory. My system has 64 GB of ram.

The document I used as a guide to set this up is

https://wiki.debian.org/ZFS

Two things I would advise when using ZFS is 1) never let the filesystem get to more than 80% full and 2) run a weekly zpool scrub. Mine runs our of cron.


Josef

--
Josef Grosch            | Another day closer |
jgrosch@MooseRiver.com  | to Redwood Heaven  | Berkeley, Ca.


Reply to: