Jump to content

Hey guys, I have been a long time reader and video watcher.  I am hooked on building myself a NAS for my home files as well as using it as a recording hub for a series of security cameras.  I have gotten lost and confused with all the information that is out there.  I don't really have the time to learn all the acronyms and lingo that is now present in the computer world.  I built my own computer 20 years ago but cars stole my attention and since then have not maintained my savyness in the computer world.  I would like to build a nice raid system that can run my security cameras and be and access point for my current 1tb of photos and growing.  I have also gotten into 4k video and will edit that locally on my computer and then store the backups on the NAS.   Looking for something that I can build if I had a decent parts list, that will support 1gb ethernet and about 8 4k security camers.  There will be 3 computers accessing the NAS. I would love some help for all of you wonderful folks.

 

Thanks,

Eric

Link to comment
https://linustechtips.com/topic/1111528-home-nas/
Share on other sites

Link to post
Share on other sites

What's your budget? How much storage do you want?

 

As an OS FreeNAS is pretty popular. There's many other options available if it doesn't do everything you need.

Link to comment
https://linustechtips.com/topic/1111528-home-nas/#findComment-12949151
Share on other sites

Link to post
Share on other sites

4 minutes ago, Bentley81 said:

I'm thinking around 6TB should be good more is always better with all the security cameras running.  I can spend about 1k dollars but I could always build it a little at a time to spread the cost out over time.

How much future expansion are you looking to have? How quickly do you think you'll fill this up?

 

You could buy a 6TB drive but you'd be limited by the performance of 1 disk. More than 1 disk gives you more performance but uses more bays in whatever enclosure you choose. You could use three 3TB drives in RAID5 but that may not give you the best upgrade path depending on how much you really intend to store.

 

Being on 1Gbit I can't say how much bandwidth your cameras will use. It's my understanding the video streams are often very compressed so it may be no issue at all while moving video & photos to/from the server.

Link to comment
https://linustechtips.com/topic/1111528-home-nas/#findComment-12949197
Share on other sites

Link to post
Share on other sites

5 minutes ago, Bentley81 said:

If I could get around 6-8TB now over multiple drives I would be good for a while I think.  A year at least if not longer.  If I made it to 8TB I would build a second one and upgrade my network to 10gb.

If that's all you really need for the time being (a fairly basic NAS) I'd probably use 3x3TB or 3x4TB both in RAID5. That would max a 1Gbit link while allowing 1 disk to fail and maintain the integrity of the array. Usable storage would be 6TB or 8TB respectively.

 

I take it you want to build a NAS/server partly for the fun of it? Do you have an idea of what kind of hardware you would require, or are you completely lost here?

Link to comment
https://linustechtips.com/topic/1111528-home-nas/#findComment-12949242
Share on other sites

Link to post
Share on other sites

This is the part that I am truly lost.  There are so many options and so many different configurations that I get lost in the acronyms and what works with what and how much power this and that.  Things have changed a lot in the last 20 years.  I want to build one so that I can learn and have the ability to repair and expand it in the future.  Sound is not much of a concern as it will be in a place that that doesn't matter.  Size is the same, it can be quite large.  I like that a drive could fail and I would maintain all my information, that is most important.  I want the ability to add storage later (if cost and needs require it) I want it to be fast enough but fairly power efficient.

 

Thanks so much for your help!

Link to comment
https://linustechtips.com/topic/1111528-home-nas/#findComment-12949253
Share on other sites

Link to post
Share on other sites

7 minutes ago, Windows7ge said:

How much future expansion are you looking to have? How quickly do you think you'll fill this up?

 

You could buy a 6TB drive but you'd be limited by the performance of 1 disk. More than 1 disk gives you more performance but uses more bays in whatever enclosure you choose. You could use three 3TB drives in RAID5 but that may not give you the best upgrade path depending on how much you really intend to store.

 

Being on 1Gbit I can't say how much bandwidth your cameras will use. It's my understanding the video streams are often very compressed so it may be no issue at all while moving video & photos to/from the server.

I have one CCTV camera recording constantly, set to overwrite files older than 2 months. In total, 2 months is 186GB of data, which comes down to about 280Kb/s per one 1080p 24FPS camera.

Link to comment
https://linustechtips.com/topic/1111528-home-nas/#findComment-12949254
Share on other sites

Link to post
Share on other sites

Just now, Bentley81 said:

This is the part that I am truly lost.  There are so many options and so many different configurations that I get lost in the acronyms and what works with what and how much power this and that.  Things have changed a lot in the last 20 years.  I want to build one so that I can learn and have the ability to repair and expand it in the future.  Sound is not much of a concern as it will be in a place that that doesn't matter.  Size is the same, it can be quite large.  I like that a drive could fail and I would maintain all my information, that is most important.  I want the ability to add storage later (if cost and needs require it) I want it to be fast enough but fairly power efficient.

 

Thanks so much for your help!

I'd recommend looking to a backup solution prior to going for RAID if prevention of data loss is more important than downtime in the event of a disk failure. 

 

RAID is useful, but it's not a method to prevent data loss, it's a method to prevent system downtime in the event of hardware failure. Something to consider with RAID as well is that you cannot add storage to an existing array, you have to rebuild the array to add storage, which means moving the data on the existing array somewhere so you can restore it later. There are systems that let you do this, but RAID does not. Unraid has options that allow expansion without having to restore data, so you may want to look into that as the OS.

Link to comment
https://linustechtips.com/topic/1111528-home-nas/#findComment-12949264
Share on other sites

Link to post
Share on other sites

1 hour ago, Oshino Shinobu said:

I'd recommend looking to a backup solution prior to going for RAID if prevention of data loss is more important than downtime in the event of a disk failure. 

 

RAID is useful, but it's not a method to prevent data loss, it's a method to prevent system downtime in the event of hardware failure. Something to consider with RAID as well is that you cannot add storage to an existing array, you have to rebuild the array to add storage, which means moving the data on the existing array somewhere so you can restore it later. There are systems that let you do this, but RAID does not. Unraid has options that allow expansion without having to restore data, so you may want to look into that as the OS.

So you are saying a better option would be adding drives to my existing PC and using those on windows as a solution to record data 24-7 from my security cameras and store all of my photos and videos on the same device?

Link to comment
https://linustechtips.com/topic/1111528-home-nas/#findComment-12949435
Share on other sites

Link to post
Share on other sites

Just now, Bentley81 said:

So you are saying a better option would be adding drives to my existing PC and using those on windows as a solution to record data 24-7 from my security cameras and store all of my photos and videos on the same device?

No, I'm saying that creating a backup for the data on the NAS system should be done and considered into the cost before looking at RAID. If you can afford 6TB on the NAS and 6TB backup or 6TB RAID and no backup, go for the backup option. If you can afford both, do both. 

 

A NAS without RAID but with a backup is better than a NAS with RAID and without a backup in terms of preventing data loss. 

 

It can be as simple as an external drive/enclosure that is used to backup the data on the NAS, or another system. Depending on how important the data is, you may want a cloud or offsite backup as well. 

Link to comment
https://linustechtips.com/topic/1111528-home-nas/#findComment-12949455
Share on other sites

Link to post
Share on other sites

38 minutes ago, Oshino Shinobu said:

No, I'm saying that creating a backup for the data on the NAS system should be done and considered into the cost before looking at RAID. If you can afford 6TB on the NAS and 6TB backup or 6TB RAID and no backup, go for the backup option. If you can afford both, do both. 

 

A NAS without RAID but with a backup is better than a NAS with RAID and without a backup in terms of preventing data loss. 

 

It can be as simple as an external drive/enclosure that is used to backup the data on the NAS, or another system. Depending on how important the data is, you may want a cloud or offsite backup as well. 

Okay, so I could then in theory add 2 6TB drives to my existing PC and run one as a full time NAS and the other as a backup for that drive? I understand RAID better after this description. I can backup the really important stuff to an SSD and store it offsite. 

Link to comment
https://linustechtips.com/topic/1111528-home-nas/#findComment-12949570
Share on other sites

Link to post
Share on other sites

Just now, Bentley81 said:

Okay, so I could then in theory add 2 6TB drives to my existing PC and run one as a full time NAS and the other as a backup for that drive? I understand RAID better after this description. I can backup the really important stuff to an SSD and store it offsite. 

Technically, it's a backup but the situation is no different from RAID really.

 

RAID protects from drive hardware failure, that's basically it. 

 

A backup solution should not be a drive in the same system. A backup can protect against data corruption, ransomeware, PSU failure that result in drive damage, physical damage to a system, theft, fire and many more. Having your backup drive in the same system as the drive it's backing up negates basically all of that. 

Link to comment
https://linustechtips.com/topic/1111528-home-nas/#findComment-12949581
Share on other sites

Link to post
Share on other sites

1 hour ago, Oshino Shinobu said:

Technically, it's a backup but the situation is no different from RAID really.

 

RAID protects from drive hardware failure, that's basically it. 

 

A backup solution should not be a drive in the same system. A backup can protect against data corruption, ransomeware, PSU failure that result in drive damage, physical damage to a system, theft, fire and many more. Having your backup drive in the same system as the drive it's backing up negates basically all of that. 

So then what would your recommendation be? Off the shelf NAS or should I build something.  And if I built something what should I build?

 

Thanks

Link to comment
https://linustechtips.com/topic/1111528-home-nas/#findComment-12949766
Share on other sites

Link to post
Share on other sites

3 hours ago, Oshino Shinobu said:

Something to consider with RAID as well is that you cannot add storage to an existing array, you have to rebuild the array to add storage

This isn't entirely true. Software RAID options like Windows Storage Spaces, BTRFS, & ZFS allow you to expand an existing pool without having to destroy and rebuild the array.

Link to comment
https://linustechtips.com/topic/1111528-home-nas/#findComment-12949780
Share on other sites

Link to post
Share on other sites

Just now, Bentley81 said:

So then what would your recommendation be? Off the shelf NAS or should I build something.  And if I built something what should I build?

 

Thanks

Seeing as you've mentioned upgrading to 10GbE later, you'd be wanting to build something. 

 

There are pre-built NAS systems with 10GbE, but they're expensive, which would be a waste if you don't go for 10GbE later and it limits expandabilitiy. 

 

If this is going to be only functioning as a NAS, you don't need a whole lot of power. I used to run my server at home on an i3 3220 and it never had any problems when it was functioning as a NAS with a couple of applications as well (mainly network management). 

 

A low power i3, 8-16GB of RAM (leave slots for more in case you want to turn it into a multi-purpose server) will do you well by the sounds of things. Get a case with a decent amount of 3.5" bays so you can expand. 

Link to comment
https://linustechtips.com/topic/1111528-home-nas/#findComment-12949785
Share on other sites

Link to post
Share on other sites

Just now, Windows7ge said:

This isn't entirely true. Software RAID options like Windows Storage Spaces, BTRFS, & ZFS allow you to expand an existing pool without having to destroy and rebuild the array.

None of these are RAID though... Two are file systems and one is a different storage technology utilising pools and virtual disks.

Link to comment
https://linustechtips.com/topic/1111528-home-nas/#findComment-12949794
Share on other sites

Link to post
Share on other sites

34 minutes ago, Oshino Shinobu said:

None of these are RAID though... Two are file systems and one is a different storage technology utilising pools and virtual disks.

Ah, that's where you were going with that.

Link to comment
https://linustechtips.com/topic/1111528-home-nas/#findComment-12949877
Share on other sites

Link to post
Share on other sites

My 2 cents on NAS:

WD red drives are good quality and affordable but there are drives made specifically for security cameras. They are not expensive. If I were you I would get some WD purple and a normal drive for non-security.

I'm using Next Cloud - personal cloud storage to sync phones and computers. Doesnt handle large files well but is great with photos and documents. Can be installed on most operating systems.

FreeNAS is great. I highly recommend it. You should check out the hardware requirements for the advanced features.

Link to comment
https://linustechtips.com/topic/1111528-home-nas/#findComment-12950171
Share on other sites

Link to post
Share on other sites

3 hours ago, Oshino Shinobu said:

Seeing as you've mentioned upgrading to 10GbE later, you'd be wanting to build something. 

 

There are pre-built NAS systems with 10GbE, but they're expensive, which would be a waste if you don't go for 10GbE later and it limits expandabilitiy. 

 

If this is going to be only functioning as a NAS, you don't need a whole lot of power. I used to run my server at home on an i3 3220 and it never had any problems when it was functioning as a NAS with a couple of applications as well (mainly network management). 

 

A low power i3, 8-16GB of RAM (leave slots for more in case you want to turn it into a multi-purpose server) will do you well by the sounds of things. Get a case with a decent amount of 3.5" bays so you can expand. 

I guess I just have to do more research then and find all the right bits.  I was hoping for a little helpful direction on cases and motherboards that would work.  I don't have a lot of time and want to be able to put something together that just works.  Do you have any good recommendations?

Link to comment
https://linustechtips.com/topic/1111528-home-nas/#findComment-12950333
Share on other sites

Link to post
Share on other sites

1 hour ago, Bentley81 said:

I guess I just have to do more research then and find all the right bits.  I was hoping for a little helpful direction on cases and motherboards that would work.  I don't have a lot of time and want to be able to put something together that just works.  Do you have any good recommendations?

You have a lot of options & directions you can go. That's what's great about building your own computers/servers. You'll get different advise from different people so you have to combine that into something that makes sense for what you want to do and works with your budget.

 

For motherboard brands I'm partial to Supermicro, ASRock Rack, & ASUS. How much expansion you want (PCI_e slots) will determine if you want to go with Mini-ITX, Micro-ATX, or ATX (there are more but we'll stick with what is the most you'll likely want).

 

Giving you some growing room to have this do more than store or backup your things I'd go for a 4C/8T Xeon and 8 or 16GB of ECC RAM. If you ever decide to run some virtual machines this will enable you to.

 

The chassis itself is kind of up to you.

How big or small do you want it?

What size motherboard do you want it to support?

Max amount of drives it can hold?

Do you need 5.25" bays?

Etc.

Link to comment
https://linustechtips.com/topic/1111528-home-nas/#findComment-12950516
Share on other sites

Link to post
Share on other sites

On 10/7/2019 at 4:56 PM, Bentley81 said:

So then what would your recommendation be? Off the shelf NAS or should I build something.  And if I built something what should I build?

 

Thanks

Get a relatively recent pc (3-5 years old) install unRAID (small cost) and build off of that it offers loads of options from dockers, plugins to VM's and is a rock solid platform for a plex media server it's ability to scale over time is absolutely a plus I'm running my main server off of an I7 6700 pre-built and it's been fantastic for those issues I've just listed and it was relatively cheap to build hardware wise leaving you most of your budget for storage drives see my signature for specs

My daily driver: The Wrath of Red: OS Windows 10 home edition / CPU Ryzen TR4 1950x 3.85GHz / Cooler Master MasterAir MA621P Twin-Tower RGB CPU Air Cooler / PSU Thermaltake Toughpower 750watt / ASRock x399 Taichi / Gskill Flare X 32GB DDR4 3200Mhz / HP 10GB Single Port Mellanox Connectx-2 PCI-E 10GBe NIC / Samsung 512GB 970 pro M.2 / ASUS GeForce GTX 1080 STRIX 8GB / Acer - H236HLbid 23.0" 1920x1080 60Hz Monitor x3

 

My technology Rig: The wizard: OS Windows 10 home edition / CPU Ryzen R7 1800x 3.95MHz / Corsair H110i / PSU Thermaltake Toughpower 750watt / ASUS CH 6 / Gskill Flare X 32GB DDR4 3200Mhz / HP 10GB Single Port Mellanox Connectx-2 PCI-E 10GBe NIC / 512GB 960 pro M.2 / ASUS GeForce GTX 1080 STRIX 8GB / Acer - H236HLbid 23.0" 1920x1080 60Hz Monitor HP Monitor

 

My I don't use RigOS Windows 10 home edition / CPU Ryzen 1600x 3.85GHz / Cooler Master MasterAir MA620P Twin-Tower RGB CPU Air Cooler / PSU Thermaltake Toughpower 750watt / MSI x370 Gaming Pro Carbon / Gskill Flare X 32GB DDR4 3200Mhz / Samsung PM961 256GB M.2 PCIe Internal SSDEVGA GeForce GTX 1050 Ti SSC GAMING / Acer - H236HLbid 23.0" 1920x1080 60Hz Monitor

 

My NAS: The storage miser: OS unRAID v. 6.9.0-beta25 / CPU Intel i7 6700 / Cooler Master MasterWatt Lite 500 Watt 80 Plus / ASUS Maximus viii Hero / 32GB Gskill RipJaw DDR4 3200Mhz / HP Mellanox ConnectX-2 10 GbE PCI-e G2 Dual SFP+ Ported Ethernet HCA NIC / 9 Drives total 29TB - 1 4TB seagate parity - 7 4TB WD Red data - 1 1TB laptop drive data - and 2 240GB Sandisk SSD's cache / Headless

 

Why did I buy this server: OS unRAID v. 6.9.0-beta25 / Dell R710 enterprise server with dual xeon E5530 / 48GB ecc ddr3 / Dell H310 6Gbps SAS HBA w/ LSI 9211-8i P20 IT / 4 450GB sas drives / headless

 

Just another server: OS Proxmox VE / Dell poweredge R410

Link to comment
https://linustechtips.com/topic/1111528-home-nas/#findComment-12954030
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

×