Jump to content

Home NAS Help

Go to solution Solved by Jarsky,
1 hour ago, BDunkz said:

Ok, so an:

intel pentilim 

some itx mobo

8 or 16gb stick of ddr4

Fractal design node 304

2 wd red 4tb hdd

Usb for unraid

 

did I miss anything?

 

Dont forget a PSU ;)

Just make sure with the CPU you stick with a G series Pentium or Celeron - they all have onboard graphics so you wont require a GPU.

You cant really go past the Intel G4560 for price to performance in the low tier, if you want to save another $20 though you could also just do a celeron like a G3930

 

Something like this:

 

PCPartPicker part list / Price breakdown by merchant

CPU: Intel - Pentium G4560 3.5GHz Dual-Core Processor  ($66.99 @ SuperBiiz)
Motherboard: ASRock - H270M-ITX/ac Mini ITX LGA1151 Motherboard  ($91.98 @ Newegg)
Memory: G.Skill - Aegis 8GB (1 x 8GB) DDR4-2133 Memory  ($54.99 @ Newegg)
Storage: Western Digital - Red 4TB 3.5" 5400RPM Internal Hard Drive  ($135.99 @ SuperBiiz)
Storage: Western Digital - Red 4TB 3.5" 5400RPM Internal Hard Drive  ($135.99 @ SuperBiiz)
Case: Fractal Design - Node 304 Mini ITX Tower Case  ($84.90 @ OutletPC)
Power Supply: SeaSonic - G 550W 80+ Gold Certified Semi-Modular ATX Power Supply  ($69.39 @ SuperBiiz)
Total: $640.23
Prices include shipping, taxes, and discounts when available
Generated by PCPartPicker 2017-06-11 04:50 EDT-0400

 

 

You might also be interested in some other more NAS oriented case options (if your budget allows for any of these):

 

Silverstone DS380B has 8 hotswap bays

iStarUSA S-35-DE5 has 5 hotswap bays

Norcotek ITX-S4 has 4 hotswap bays

Norcotek ITX-S8 has 8 hotswap bays

iStarUSA S917 has 7 5.25" bays (You can install 2 x hotswap bays such as this)

iStarUSA S915 with 5 x 5.25" bays (As above but less bays)

1 minute ago, SCHISCHKA said:

I have tested single drive, two drive, and three drive raid0. single drive is ok but it slows down with small files. two drives is better, it gives you better random access and comes close to saturating gigabit. three drives really maxes out the network and does not have much more to offer over two drives. RAID0 also speeds up backups.

 

That is not a proper backup/data-loss plan. two drives on snapshot rotation is better protection than raid.

 

if you had a proper backup solution you should be protected from:

1 lightning

2 power surge

3 physical theft

4 ransomware

5 accidental deletion

6 fire

7 drive failure

8 software bugs

 

RAID protects you from:

1 drive failure.

 

8:1 reasons to not waste your money implementing enterprise technology into the home.

 

Yes, a proper backup plan ( I am a second server at my parents place) is better, but parity is A: a good start and B: always timely, depending on you plan a backup is often about a week behind, and takes hours to restore from... 

The random performance in RAID 0 is a plus tough, but I don't think there are many situations where this matters a lot.

 

Despite, as I said a copy on write parity like unraid is way easier to expand and unless you have a very specific usecase you won't miss the performance of a RAID. 

And parity really goes a long way, but I guess that discussion could be its own thread... I might open that later today :) 

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Jarsky said:

Windows Server doesnt have to be expensive and theres of course Windows 10 - both with Storage Spaces and ReFS which are excellent. 

FYI: purchasing keys off reddit is piracy. I dont care if you buy off there I'm just OCD about misleading people when it comes to money. Everything I have seen on reddit is not a proper license. It is all stuff that breaks a shit ton of MS rules about how you can purchase a license.

4 minutes ago, Jarsky said:

Linux Mint isn't a bad idea for a NAS, its still a linux 2.6 kernel

what do you mean its 2.6 kernel?

6 minutes ago, Jarsky said:

Black drives are quite expensive in my country (theyre about 40% more than Red drives) - I see theyre about 30% more in the US as well - and being high performance 7200rpm drives they do suck a lot more power than the Red, Green or Purple drives which would be completely suitable for home use. My WD Red RAID5 saturates 10Gbit

they cost more coz they last longer. They have more spare space for bad sectors. power difference isnt much for just one or two drives. there are two different red drives. one 5400rpm with 3 year warranty. red pro is between 5400 and 7200rpm and has five year warranty. red pro is up there in price with black.

 

 

             ☼

ψ ︿_____︿_ψ_   

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, SCHISCHKA said:

what do you mean its 2.6 kernel?

Meant to say 2.6+ which is when mdadm and ext4 were implemented. any kernel from there upwards will support md features. 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO | 12 x 8TB HGST Ultrastar He10 (WD Whitelabel) | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, ChalkChalkson said:

Yes, a proper backup plan ( I am a second server at my parents place) is better, but parity is A: a good start and B: always timely, depending on you plan a backup is often about a week behind, and takes hours to restore from... 

The random performance in RAID 0 is a plus tough, but I don't think there are many situations where this matters a lot.

 

Despite, as I said a copy on write parity like unraid is way easier to expand and unless you have a very specific usecase you won't miss the performance of a RAID. 

And parity really goes a long way, but I guess that discussion could be its own thread... I might open that later today :) 

I have 5 minute backup built into my computer for work with snapshots in case i need to rollback. This really does require RAID0. Anything else would be too slow. Turning it into RAID5 or 10 or 6 would be a waste of money, and this is my argument; those extra drives are better off in an external USB case.

I have a cheap computer as a fileserver that has a mix of arrays both RAID1 and 0 made up of old drives. The RAID0 makes a huge difference. When you do rsync on RAID1 vs RAID0 you can notice the difference.

             ☼

ψ ︿_____︿_ψ_   

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Jarsky said:

Meant to say 2.6+ which is when mdadm and ext4 were implemented. any kernel from there upwards will support md features. 

ok that is super old like an ISP modem. BTRFS i think requires 4.4 and i believe they sorted out BTRFS raid5 in kernel 4.9 or 4.10

             ☼

ψ ︿_____︿_ψ_   

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, SCHISCHKA said:

I have 5 minute backup built into my computer for work with snapshots in case i need to rollback. This really does require RAID0. Anything else would be too slow. Turning it into RAID5 or 10 or 6 would be a waste of money, and this is my argument; those extra drives are better off in an external USB case.

I have a cheap computer as a fileserver that has a mix of arrays both RAID1 and 0 made up of old drives. The RAID0 makes a huge difference. When you do rsync on RAID1 vs RAID0 you can notice the difference.

when I don't have a ton of data to sync the longest time of the rsyncs is spent by drawcalls for the filelist in the console :D  

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, SCHISCHKA said:

ok that is super old like an ISP modem. BTRFS i think requires 4.4 and i believe they sorted out BTRFS raid5 in kernel 4.9 or 4.10

I still wouldn't trust BTRFS RAID with my data yet (on my production server) - BTRFS with MD is a more tried and tested solution currently. 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO | 12 x 8TB HGST Ultrastar He10 (WD Whitelabel) | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, ChalkChalkson said:

when I don't have a ton of data to sync the longest time of the rsyncs is spent by drawcalls for the filelist in the console :D  

when doing a snapshot reading the drive takes the longest time. I get around this by having different settings for different folders. games dont need to be backed up every day. Only my current project needs to be backed up at a high frequency. My multimedia gets backed up manually.

9 minutes ago, Jarsky said:

I still wouldn't trust BTRFS RAID with my data yet (on my production server) - BTRFS with MD is a more tried and tested solution currently. 

Im using it for my /home. no problems so far. The reason I did this is because I can add a drive and extend it live. I use mdadm on my fileserver coz it emails me when a drive fails. I have not read the man page for BTRFS so i dont know if it has that feature.

             ☼

ψ ︿_____︿_ψ_   

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, SCHISCHKA said:

when doing a snapshot reading the drive takes the longest time. I get around this by having different settings for different folders. games dont need to be backed up every day. Only my current project needs to be backed up at a high frequency. My multimedia gets backed up manually.

I don't do snapshots, I literally just rsync the files over, for work stuff and documents I create a new folder each time, giving me timed fall backs, multimedia is just rsynced without anything fancy, meaning I only copy new files over, making the total size of a sync less than a gig, in most cases less than 10 meg, for that you don't need RAID 0 :P 

Link to comment
Share on other sites

Link to post
Share on other sites

35 minutes ago, ChalkChalkson said:

I don't do snapshots, I literally just rsync the files over, for work stuff and documents I create a new folder each time, giving me timed fall backs, multimedia is just rsynced without anything fancy, meaning I only copy new files over, making the total size of a sync less than a gig, in most cases less than 10 meg, for that you don't need RAID 0 :P 

rsync can do snapshots. if youre using linux have a look at backintime. its a nice gui for rsync.

Git is quite good for documents you dont have to mess around with folders. I dont know what work you do, im a programmer so its compulsory for me to use git.

There is a multimedia component to what I do so if i did what you do i would probably run out of space.

             ☼

ψ ︿_____︿_ψ_   

Link to comment
Share on other sites

Link to post
Share on other sites

20 hours ago, SCHISCHKA said:

then you do not need redundant drives or special NAS drives. Use this saving for backup drives.

Redundant drives in a home NAS do nothing except cost you money. Redundant drives are intended to keep your server running while you rebuild your array after a failed drive. For non 24/7 home use you can expect a drive to fail in approx 10 years with good quality drives.

But I'm storing family photos and important documents so dont I need redundancy?

Link to comment
Share on other sites

Link to post
Share on other sites

27 minutes ago, BDunkz said:

But I'm storing family photos and important documents so dont I need redundancy?

you need offline backup. how often do you need to store your photos?

photos can be done once a week using USB drives stored offline & rotated offsite.

for daily documents use your NAS, cloud storage, and USB drives as above.

I feel like a broken record. Redundancy keeps your webserver or database running non-stop when a drive fails. it does not protect your photos/documents and is not a replacement for a proper backup plan.

             ☼

ψ ︿_____︿_ψ_   

Link to comment
Share on other sites

Link to post
Share on other sites

lightning

fire

theft

ransomeware

accidental file deletion

 

RAID protects you from non of these.

             ☼

ψ ︿_____︿_ψ_   

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, SCHISCHKA said:

you need offline backup. how often do you need to store your photos?

photos can be done once a week using USB drives stored offline & rotated offsite.

for daily documents use your NAS, cloud storage, and USB drives as above.

I feel like a broken record. Redundancy keeps your webserver or database running non-stop when a drive fails. it does not protect your photos/documents and is not a replacement for a proper backup plan.

so if a drive fails will I lose the stuff on it?

 

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, SCHISCHKA said:

lightning

fire

theft

ransomeware

accidental file deletion

 

RAID protects you from non of these.

that's fine I just don't want the photos lost due to coruption

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, BDunkz said:

so if a drive fails will I lose the stuff on it?

 

of course but that is what backups are for.

OK here are your options:

two drives in RAID1: give you protection from drive failure

OR

one drive with one USB external making copies that gets rotated with another USB stored offsite: gives you protection from drive failure and everything else that can cause data loss.

 

             ☼

ψ ︿_____︿_ψ_   

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, SCHISCHKA said:

of course but that is what backups are for.

OK here are your options:

two drives in RAID1: give you protection from drive failure

OR

one drive with one USB external making copies that gets rotated with another USB stored offsite: gives you protection from drive failure and everything else that can cause data loss.

 

ok so with raid 1 I wont lose photos if a drive fails but the server will be down till I get a new drive?

 

Link to comment
Share on other sites

Link to post
Share on other sites

what if I use something like unraid?

Link to comment
Share on other sites

Link to post
Share on other sites

22 minutes ago, BDunkz said:

what if I use something like unraid?

unraid is an OS. unraid just makes things user friendly with a web interface.

             ☼

ψ ︿_____︿_ψ_   

Link to comment
Share on other sites

Link to post
Share on other sites

49 minutes ago, BDunkz said:

ok so with raid 1 I wont lose photos if a drive fails but the server will be down till I get a new drive?

 

RAID0 stripes file data across all disks. a single drive failure would be total data loss. Requires at least 2 disks.

RAID1 has your complete file on a disk, which is then mirrored to a secondary disk. if a drive fails, your data will be available, but unprotected until you replace the drive and the data is re-mirrored. Requires an even number of disks.

RAID5 (RAIDZ1 in ZFS) like raid0 stripes file data across all disks but implements parity. If a drive fails your data will be available, but unprotected until you replace the drive and the parity is recalculated across the array. This requires at least 3 disks - with a maximum recommendation of 6-8 off memory.

RAID6 (RAIDZ2 in ZFS) would be 2 drive tolerance- same as RAID5, but this uses 2 parity drives - when 1 disk goes down your data is still protected.Requires at least 4 drives, and highly expandable.

RAIDZ3 in ZFS - same as RAIDZ2 but 3 drive tolerance.

 

UnRAID (XFS & BTRFS) stores its data and parity in a different way to traditional RAID & ZFS - it writes the entire file and parity to a single disk. The advantage to this is that in the event you cannot recalculate parity (e.g a second drive is lost) then you only use those drives data, not the entire array. additionally it means you can mix drive capacities - so you can add all your drives to the array regardless if theyre 500GB, 1TB, 2TB or 4TB - you could use all 4 of these drives in a single unRAID array. The downside is that because you arent striping data you're only utilising that single drives speed - so it is slower for read & write, however unRAID implements a CoW caching system so you can use SSD's to boost the write speed to the array (it writes to the ssd cache, and then copies it to the protected data array). The speed isnt generally an issue to most home users - but for business use you're better to use a traditional raid or zfs.

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO | 12 x 8TB HGST Ultrastar He10 (WD Whitelabel) | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

11 hours ago, Jarsky said:

...

I thank you for laying it out for OP, I feel we talked over him a lot.

But what would you recommend for OPs home NAS?

Link to comment
Share on other sites

Link to post
Share on other sites

11 hours ago, SCHISCHKA said:

unraid is an OS. unraid just makes things user friendly with a web interface.

 

12 hours ago, BDunkz said:

what if I use something like unraid?

Unraid isn't really just an OS, as @Jarsky helpfully stated.

It has its own way of building the same redundancy as a RAID 5 without striping, so even if you lose the "array"  (meaning the redundancy and a data drive) you won't lose all data, just the data on the compromised data drive (data drives if you have multiple failures). It also has the giant benefit @Jarsky described of allowing drives of different sizes, and it allows flexible adding of drives, you don't need to add them in specific chunks, or even start from scratch each time.

If you use a single parity drive in unraid, and a single drive fails everything is fine, you can even access your data while you are waiting for a new drive, no problem. The performance of unraid however is (more of less) the same as if you just used a single massive drive

Link to comment
Share on other sites

Link to post
Share on other sites

14 hours ago, Jarsky said:

But given the experience of OP, it probably wouldnt be suitable though you can use something like Webmin to create basic software raids like with any NAS OS GUI but its much less feature rich - most commands should be done via CLI. 

Given OPs experience I'd go with unraid, great documentation, and you get by without knowing a single thing about Linux. RAID, BTRFS, XFS etc. but still get redundancy and many nice server features, with the possibility of just treating it like any other linux server in the future.

Link to comment
Share on other sites

Link to post
Share on other sites

19 hours ago, ChalkChalkson said:

RAID isn't that great if you want to have your system be easily expandable... Unraid has a great solution for this, it uses copy on write parity that is equivalent to RAID 5 or 6, but doesn't stripe the data, and drives can added at any time.

OS: I'd suggest unraid, or, if paying for a piece of software is not an option for some reason, FreeNAS is a great option, though I can't provide nearly as much help with FreeNAS, as I could with unraid :) 

How much is unsaid?

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, BDunkz said:

How much is unsaid?

about 50$ i think :)

unrelated funfact: you can chain unraid free trials... they really ought to fix that, I am sure they are losing quite a bit of money with that

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×