Elektroda.com
Elektroda.com
X

Search our partners

Find the latest content on electronic components. Datasheets.com
Elektroda.com

We are building our own NAS server

kassans 35931 128
This content has been translated » The original version can be found here
  • One day I was faced with the fact that I had to change my desktop computer to a laptop. The laptop is chosen, but the dilemma of what to do with the data that is on the HDD drives and there is over 4TB of them.

    The idea of a fast NAS server, but their price knocked me off my feet.

    I started searching the internet and found two interesting ready-made x86-based NAS systems - Bingo!


    These systems were FreeNas and Xigmanas (formerly nass4free).

    However, xigmanas won by default in that you can connect NTFS drives and use them over the network. Unfortunately, FreeNas does not allow this, it is a system designed rather for much more powerful machines.

    The system is there, I have disks, I had to find a processor and a motherboard would fall out.

    After browsing through the OLX, I found the AsRock H81M-DG4 motherboard + 8gb RAM + Intel Celeron G1840 processor for PLN 120.

    It looked like this:

    We are building our own NAS server

    Okay, but this cooling is going to be a bit loud so after browsing Facebook I found a SilentiumPC cooling for half the market price. I didn't think twice and my motherboard looked like this:

    We are building our own NAS server

    From there, only the disc is heard! :D

    The power supply for me is just anything, because it is only IBOX 400W, but for now it has to be enough, I will probably replace it with SilentiumPC.


    The whole thing looked like this:

    We are building our own NAS server

    In the following, I will try to describe the relatively quick configuration of the Xigmanas system :)

    Cool! Ranking DIY
    Can you write similar article? Send message to me and you will get SD card 64GB.
    About Author
    kassans
    Level 32  
    Offline 
    kassans wrote 1776 posts with rating 312, helped 130 times. Live in city Zduńska Wola. Been with us since 2011 year.
  • #2
    Łukasz_W

    HDD and data recovery specialist
    Then replace this Seagate / these Seagates (?) With something else, because all this fun may end in the imminent loss of those four terabytes.
  • #3
    dvo
    Level 10  
    I wonder what power consumption your set has. I would be more inclined to buy a second-hand nas or build something for thinclient. If the budget limits.
  • #4
    krzbor
    Level 22  
    I approached the problem of my own NAS differently - it is supposed to be a good, reliable computer, of course, with 2 disks in mirroring, with a passively cooled processor (I chose the ATOM motherboard) and relatively low power consumption. It's the main computer for me - it works as a NAS, FTP server, website. It also handles all smart home communication. I chose openmediavault (OMV) for the software mainly because it is based on Linux, not FreeBSD. A better class power supply - it's just supposed to work for many years and so far it works :)
  • #5
    noyo
    Level 18  
    I went in Intel Atom DN2800MT + 2x WD red 1TB, I installed debian on it, everything is after sftp, I don't need any more. Works for 4-5 years. No errors on the disks. I also added an emergency power supply in the form of a buffer power supply with a 7Ah battery.

    I am thinking about adding the SUV500MS disk to the system, because there is a mini PCI-Express connector on this board, apparently it will work.


    Watch out with this goodram because you can quickly fall down if you beat it 24 hours a day, if you want a budget, it's better Goodram IRDM :)
  • #6
    snake3d
    Level 1  
    Łukasz_W wrote:
    Then replace this Seagate / these Seagates (?) With something else, because all this fun may end in the imminent loss of those four terabytes.


    The disk is not equal to the disk, the batch is not identical, the materials of manufacture may be with a defect, anyone can fall. It's worth having a replication / backup.
    I've had mostly Seagate drives for over 20 years. One on probably 30 has already fallen to me unexpectedly, 20GB was a long time ago, I recovered the data by switching the board from another. I replaced the 1.5TB 7-year-old, recently based on info smart. And a week ago I bought another Seagate for my home NAS with 12 drives, all Seagate.
    If you have important data, you need to protect yourself, always.
  • #7
    Bojleros
    Level 16  
    I have Asrock on J2900 with 16GB of RAM and I'm pissed off because sftp doesn't reach 33MB / s ... sshd is choking on cpu. Equipment sufficient, but sometimes annoying.
  • #8
    kassans
    Level 32  
    Łukasz_W wrote:
    This seagate is just for a photo ;) ultimately there will be 4x 2tb WD Black with a DELL sticker server versions.


    DVO wrote:
    thinklient will not fit 4 disks here I can insert a sata controller in PCI and have more than 4 disks



    noyo wrote:
    I had a Goodram C40, CL100, CX100, CX200, CX400 are working. There is only Xigmanas on this SSD, I have a copy of the configuration, so if it falls, I change it and in 30 minutes I have us still working


    krzbor wrote:
    As I wrote, the SilentiumPC power supply will fall :) . OMV supports attached USB NTFS drives and sharing them via SMB?


    Bojleros wrote:
    That's why I chose such a platform, instead of a celeron, I can throw in I5 or I7 and it will slide nice :)


    Overall, I didn't think this post would cause such a big response.
  • #9
    chemik_16
    Level 25  
    for me it also started on a 1-core celeron s775, after a few years it ended like this; p
    We are building our own NAS server We are building our own NAS server

    ps: there was also something smaller in the meantime - but never finished:
    We are building our own NAS server
    the case from the hp t5720 has holes like itx, soldered cooling and wio; p
  • #10
    dvo
    Level 10  
    In thinclient, you throw the SSD inside, and you take the warehouse outside.
  • #11
    chemik_16
    Level 25  
    how thinclient is only from usb3.0 era, 22nm and less. The older ones are uninteresting in terms of power consumption / performance, usually they have a controller with a TDP similar to the cpu ;)

    from the recently fashionable armów odroid on the exynos pulls gigabit after spanking & 250MB / s sata. Unfortunately, they both have usb3.0 and not pcie.
    As long as the android-box on Amlogic will also work, there are quite a dynamically developed Linux distro for that.
  • #12
    kassans
    Level 32  
    chemik_16 wrote:
    And what transfers do they have when raid? what if the processor will download 5w if it can't handle the raid? :D
  • #13
    Karaczan
    Level 41  
    Do not use only EXT4 on NTFS shared drives.
    NTFS support is more resource-intensive than EXT4.
    The CPU will take some weight off and the transfers will increase!
  • #14
    pawelr98
    Level 39  
    Łukasz_W wrote:
    Then replace this Seagate / these Seagates (?) With something else, because all this fun may end in the imminent loss of those four terabytes.


    I have a Seagate ST4000DM000 since mid-2013.
    It cost half the WD of the same capacity.
    It works ? It works.
    I have two more 7200.12 1TBs that are about 9-10 years old. Also flawless.

    The most powerful are Hitachi / HGST disks.
    Very durable.

    In 2017 I bought 6 Hitachi 2TB deckchairs from 2010-2011.
    There was a 3-year warranty I took it, it sits in the RAID6 array, so it's enough to replace the disk and rebuild.
    To this day, they work around the clock, have a tested smart and are fine.

    The key to keeping your disks in good condition is:
    - decent power supply
    - good cooling
    - continuous work without parking

    I haven't invested much in my platform.
    Instead of a housing with places for disks, I simply bought long steel angles in a construction site.
    The whole front has been pulled out from the inside and in its place angles are screwed on.

    We are building our own NAS server

    In the photo it was covered with dust, but later it was dismantled and cleaned.

    In general, the angles work well, but it is difficult to disassemble and remove the discs a bit because they are pressed between the angles. Even after unscrewing the screws, they can still stay in place and it takes a little force to pull them out.
    Or play loosening screws on nearby disks.
    That's why I clean it less often.

    Someone may ask why I didn't use an energy-efficient platform instead of a full ATX with a separate GPU.
    Well, the problem was that the i3 550 board did not want to work with the SAS HP P400 card, which I use to support RAID 6.
    It just kept crashing on startup.
    And the 870A-USB3 board with the Athlon II X2 250 was ready.

    It runs on Debian 8.2.0 x64 and uses samba.
  • #15
    chemik_16
    Level 25  
    Quote:
    the problem was that the i3 550 board wouldn't work with the SAS HP P400 card,

    it was not enough to plug in SMbus? so far all SAS / raid controllers worked for me after this action.
    Eventually I ended up with 2x dell H310 reprogrammed to regular LSI with IT mode. I have a software raid.
    After the action, when after replacing 1 disk from the matrix, the hardware raid cleaned the rest of the disks for me - thank you ;)
  • #16
    m0n5t3r
    Level 10  
    Hello
    I am at the stage of building NAS. Mine consists of the following parts:
    - micro atx housing with acer-veriton m4 (about PLN 35 + shipping) but cool housing because with screwless mounting of disks + reworking the connection to the front panel
    - biostar j1800 board (PLN 80 + shipping)
    - ram 2x4gb ddr3 (from the drawer :) )
    - intel pro 1000 ct network card (PLN 30 + shipping)
    - seagate IronWolf 3tb * 2 disks (2 * PLN 450 for new ones)
    - fanless power supply from the old miniitx housing + printed mounting (free)

    Everything works on Xpenology. The network card was needed to update to the latest software version without any combination.
  • #17
    Łukasz_W

    HDD and data recovery specialist
    pawelr98 wrote:
    Łukasz_W wrote:
    Then replace this Seagate / these Seagates (?) With something else, because all this fun may end in the imminent loss of those four terabytes.


    I have a Seagate ST4000DM000 since mid-2013.
    It cost half the WD of the same capacity.
    It works ? It works.
    I have two more 7200.12 1TBs that are about 9-10 years old. Also flawless.

    The most powerful are Hitachi / HGST disks.
    Very durable.

    In 2017 I bought 6 Hitachi 2TB deckchairs from 2010-2011.
    There was a 3-year warranty I took it, it sits in the RAID6 array, so it's enough to replace the disk and rebuild.
    To this day, they work around the clock, have a tested smart and are fine.

    The key to keeping your disks in good condition is:
    - decent power supply
    - good cooling
    - continuous work without parking

    snake3d wrote:
    Łukasz_W wrote:
    Then replace this Seagate / these Seagates (?) With something else, because all this fun may end in the imminent loss of those four terabytes.


    The disk is not equal to the disk, the batch is not identical, the materials of manufacture may be with a defect, anyone can fall. It's worth having a replication / backup.
    I've had mostly Seagate drives for over 20 years. One on probably 30 has already fallen to me unexpectedly, 20GB was a long time ago, I recovered the data by switching the board from another. I replaced the 1.5TB 7-year-old, recently based on info smart. And a week ago I bought another Seagate for my home NAS with 12 drives, all Seagate.
    If you have important data, you need to protect yourself, always.


    Gentlemen, I am speaking from the level of experience, colleagues from the forum who deal with this plot will say the same.
    Yes, any disk can crash, but you can work with any other.
    However, when it comes to Seagate, its current products are at a very low level.
    In RAID6, and any other, more than two disks can fail at once.

    Let me not be groundless:
    Last week's Seagate 5TB, damaged two heads out of eight and a sawn surface.
    Seagate on Tuesday, IronWolf 3TB, head damage so far, but the previous IronWolf caught a drink on four of the six surfaces.
    We are building our own NAS server

    For the sake of balance, two Toshiba with RAID1 working in a Dell server (yes, but someone invented it) with a UPS.
    We are building our own NAS server We are building our own NAS server We are building our own NAS server

    As I mentioned, this is your data and you can either consider good advice or not.
    Please only then do not set up the topic in the "data recovery -> disk click, I replaced the electronics but still clicks".
  • #18
    VSS
    Level 21  
    Intel Celeron G1840 is a tiled stove. If you count the power consumed by the disc and disks, it turns out that it will cost you PLN 30-40 per month. After a year, it would be possible to buy a NAS. I have two ZYXELs at home: NAS520 and NAS325v2. They are very stable - FTP, cloud, torrent, backup works. This takes an average of 8W.
  • #19
    kassans
    Level 32  
    Łukasz_W wrote:

    How about DELL branded WD Black drives?

    VSS wrote:


    But I am still addicted to 2 disks and the zyxell operating system, here I can throw 4 disks, and do whatever I want with them, I can share USB disks, run virtualki. If there is no power, I change the processor, replace the ram and continue the NAS. My us starts during the hours I use it so it doesn't download 40w 24/7 [
  • #20
    Łukasz_W

    HDD and data recovery specialist
    In general, I do not recommend brands, because it is not known if they have software modifications.
  • #21
    dvo
    Level 10  
    Wd black is not for PC?
    RED AND RED PRO is designed for us
  • #22
    Bojleros
    Level 16  
    chemik_16 wrote:
    After the action, when after replacing 1 disk from the matrix, the hardware raid cleaned the rest of the disks for me - thank you


    You must have messed up something. I have had contact with LSI / Awago based controllers and occasionally HP controllers for a long time. I had no problems. Currently in us I have a debranded Fujitsu on LSI Megaraid and no problems. HW raid is used on mainstream seed to spare any cpu that would be eaten by softraid. The second can for backups has the usual softraid, but this is also because these disks can be transferred to any Linux machine, assemble the matrix and extract the data from the backup. There is no controller that can fall down and leave me with nothing.

    Karaczan wrote:
    NTFS support is more resource-intensive than EXT4.


    Additionally, in Linux it is implemented with FUSE so the code to handle this filesystem is not part of the kernel itself. As for me, this is enough for the occasional copying of something from a dead Windows or a USB flash drive and nothing else.

    Łukasz_W wrote:
    In RAID6, and any other, more than two disks can fail at once.


    It should also be remembered that if the matrix was not overloaded, the rebuild will cause an abnormal load on the disks, which may lead to further failures of disks that seemed to be healthy.

    kassans wrote:
    How about DELL branded WD Black drives?


    Sometimes vendors of enterprise-class equipment use vendor locking at the firmware level.

    And when you do RAID you leave some unused space at the end of the disk? Sometimes the series of disks ends or the supplier changes and the disk differs in size by a few percent, so replacing the damaged one may fail ...
  • #23
    kassans
    Level 32  
    dvo wrote:
    Wd black is not for PC?
    RED AND RED PRO is designed for us

    I had a few delli brought from abroad sat WD Black branded on DELL worked in the raid. Perhaps Dell wanted more performance without increasing costs, for example SAS drives
  • #24
    User removed account
    Level 1  
  • #25
    sat2
    Level 14  
    Haven't you thought about setting up Debian and configuring it as a NAS? Personally, I have such a server with three disks (8TB, 6TB and 6TB) + TV with DVB-T and DVB-S and it works great. No problems for several years. You can also log in and start downloading some files. A very convenient solution.
  • #26
    kassans
    Level 32  
    Debian = fun, Xigmanas set up in 30 minutes, web access available, will I do that in Debian too? ;)
  • #27
    krzbor
    Level 22  
    I read an article on the future of "clouds". The author wrote that it would grow and decrease at the same time. Grow - because the current processing centers will be even larger, and decrease because small private (home) clouds will be created. I agree with it. Now we don't just think of the NAS as an external network drive. You need a computer that works 24h, where NAS is only one of its functionalities. My server has 4TB disks and it is slowly filling up.
    Do @ Gravastar1986, - the largest volume is data that is a security copy of home computers (my and my family's), including movies and photos. Monitoring videos also take up space. Data collected from a smart home also weighs its own.
  • #28
    Hetii
    Level 16  
    These H81M boards are nice, I had such a long time with the I5 4460, but after changing to ryzena it went as HTPC equipment.

    Some time ago I bought a FAS270 matrix for the entire PLN 50, inside 14 disks as in the picture below.

    For now, it is dusting and I wonder what to do with it, because I do not copy the Internet.
    I also heard that apparently the drives are dedicated to this model, so when they fall, they are still wiped.
    We are building our own NAS server We are building our own NAS server
  • #29
    dvo
    Level 10  
    Hetii wrote:


    Some time ago I bought a FAS270 matrix for the entire PLN 50, inside 14 disks as in the picture below


    Honestly, it doesn't go crazy with this internet backup ... you have 14 disks of 147GB each, which is roughly 4TB. ;)

    By the way, last year I focused on security and all devices back up to my server.
    I have 2 x 4tb and now I wish I had bought two 6. Laptops and smartphones hold a lot of valuable data.
    You will probably eat me, but I do not have drives fastened to RAID. They work separately and I only set up a backup machine for my important data. So I have copies of my photos on two disks.
  • #30
    kassans
    Level 32  
    Thanks to the large number of disks, it has higher performance :D I do not keep photos, but I have a lot of music that I will not find on YouTube spots ...

    Hetii are SAS drives, so you can buy them without any problem :)