It 's just me and my NAS ..... or, how I started with a disc and finished with NAS - suppliers and packages - HWzone Forums
Skip to content
  • Create an account
  • About Us

    Hello Guest!

    Please note - in order to participate in our community, comment and open new discussions, you must join as a registered member.

    Our members enjoy many advantages, including the ability to participate in discussions, enjoy raffles and promotions for members of the site, and receive our weekly content directly by email.

    Do not like being harassed by email? You can register for the site but do not submit your registration to the weekly email updates.

It's just me and my NAS ..... or, how I started with a disc and finished with NAS


Recommended Posts

(Opening note : There will be no details of how the package was assembled, Close-ups of thermal ointment and so on'ב. There will be a bit of photographic pornography, but the main thing here for me is to pass on the solution I reached, The reasons, The thoughts and what was done, Because the solution is a bit different than usual).

And an act that was so -

disk 3T Mine filled up. This too happens. On first thought I wanted to buy another one, But a second thought showed that my case was not really built for it. I started rolling out various options (And thanks for the help) And that's what came up:

what do I want :

- A system that can hold multiple disks

- A system that will support disks from different towers (Today I have 3T But as soon as 4T Will be available in the country and do not want the need to replace all of them or purchase only additional of 3T).

- of course, Good sharing capability on the home network.

- Recovery capacity from disk failure (One is enough for me)

The issue of recovery capability has been reduced JBODsea (And the fact that the more disks you add, the greater the chance of failure as a whole). Arrays RAID And their types (Prepared, מחשב + Software RAID, מחשב + Linux and Appears on Mdadm In Carnival, etc.') Falling on dynamic disk size.

What do I know? :

  • I know And specific ARCH. My computer is running Already about 4 Years. My daughter's computer is running Already about 3 Years. In both cases it is about ARCH Who undergo monthly upgrades without any special traumas, Including recent changes.
  • I like to assemble computers with my own hands.
  • Linux + assembly = NAS Homemade.
    what I need :
  • The chassis is as small as possible but with maximum storage space 3.5 ".
  • Motherboard to fit the case (mITX או mATX) With a high number of ports SATA3 (I did not care SATA2) And ports USB3.
  • The system will be installed all DOK So also DOK appropriate (On the one hand, I did not want to "squander" a location of 3.5 " On the other hand, I do not need the speed of a regular disk, and certainly not of SSD. The computer will go up, What needs to be loaded into memory and that's it).
  • The motherboard will be derived from the processor (Minimum supplier. No performance required) And memory.
  • Networking will be with NFS (Until this point I worked only with SAMBA If only for a computer XP Which I also have at home).
  • But ... how to manage the discs ? How to verify redundancy and recovery ?
    A little surfing the web and searching around RAID Brought me to a snapraid that details it here -
    The benefits for me :
  • Manage disks of different sizes (The only constraint is for the disk to be at least the same size as the largest data disk).
  • You can attach a disk system with existing information.
  • System "Dressing" On your existing file system. Bessah'Additional disc items. Beyond that, everything is normal. Even if more discs were destroyed than could be recovered (Allow up to 2 Discs. I'm leaving one disc) The rest of you will continue to function normally.
  • There is an element of "גיבוי" Because of the way you work, As long as you have not made a Snap up to date, You can restore deleted files.
  • A simple system running under an environment I know.
    Possible disadvantages :
  • This is not an array RAID in real time. The system as its name is - Snapshots periodic and redundancy system updated to the last Snap. It does not interfere with systems with a slow update/periodic (Like with me). Suitable for those who want to protect the file systems rather static.
  • Does not support*כל* File system (For obvious reasons) But supports the EXT4 Where I use the years exclusively.

Anyone who wants to can read the site I connected to him about the system, Includes comparisons to other systems.

And now, To execute.

First of all I had to decide on the hardware in question. The truth was - I had no idea. I sent my bread on the water here and got one response from RSM Which put me in the right direction. Purpose'I found out that the affiliates are based A75 של AMD They are my direction (עם 6 Ports SATA3 ו 4 Ports USB3).

Eventually purchased :

  • Enclosure : Define Mini
  • Processor : A4 3300
  • Motherboard : GA-A75M-D2H
  • memory : Transcend 4GB 1333
  • Provider : Seasonon M12II-520
  • DOK: Voyager Short 32GB
    At this stage I did not purchase hard disks. First I wanted to put on a bra and a robe that the concept works.

Distribution of purchases :

  • Motherboard Ivory.
  • CPU from RSM
  • All the rest KSP.

And when it all came (One purchase took more than two weeks to arrive) It looks like this :

(Meanwhile fully clothed. Pornography - below).


(The sharp-eyed people will notice that there is a component that was not mentioned in the list and it is not clear what it belongs to. Immediately explain).

Meanwhile, Until the components arrive, I had to sew the installation problem. From which media to install ? drive CD / DVD Not designed for this computer and I had no desire to disassemble from one of the other computers for installation and then return. DOK I did not have a spare at home and back an existing one and use it and then return the material to it - I also did not feel like it.

Then I remembered that I had full cards SD ו SDHC To the camera and old card readers I had received with them at the time. So I took a ticket one SD של 2GB And reading tickets (Probably USB1.1 But it is only for installation and not important. Probably not in the current installation of ARCH Which mainly addresses the network. This is the component that you can see in the camera leaning on the memory case). I downloaded a recent installation of ARCH And according to the instructions I installed it and checked my computer that it is possible to make a bot from it. there is !

The pieces arrived, And for the first time I formatted the e DOK Two partitions EXT4 (/ ו home /) For basic installation of ARCH.

Then came the assembly stage, And for you, Some pornography of final assembly :


You can see the installation media in place.


Here you can see the above DOK On which the system was installed. In my daily life he is connected from behind.

Highlight - The system is designed to work Headless (Without screen, keyboard, mouse). For the purpose of installation, were transferred to it at this stage'From my computer.

now, Finished construction remains to install.

In Israel' All you need to do is contact Wicky, Look for the right topic (In this case, guide the installer) And work accordingly. country' Has recently changed the installation method and moved to almost manual installation. In contrast to all the crying, My experience is excellent. Installation is quick and easy, No surprises. Just follow the guide !. Right, You need to know at least one text editor (I'm using a nano) But those who do not know it, Really and truly he has nothing to look for in Israel'.

The problems I encountered :

GRUB (it's about 2) Refuse to install itself on e DOK. Installed syslinux And that was the end of it.

When installing DOK Recognized as / Dev / sdb And the installation media has been recognized as a. But after installation its media expenditure, Then e DOK Became a וsyslinux Could not find b As defined. A simple and dimensional bot installation, Correcting the settings and the problem has been resolved. (He repeated himself when the discs were added later, Resolved in the same way).

And on this occasion and in the same context I will mention that when defining fstab It is advisable to anchor (mount) To fixed addresses because disk locations can definitely change. A valid address can be either UUID Whose drawbacks are that this is a long string meaningless and easy to use, and in addition, It will change if in the future resets the partition. או Label Which is short, significant (You give it) And will not change unless you change it. I get used to it Label To all mount My.

So there is already a working system what DOK Left to polish. I installedX ו KDE (Not everything) in order to"will be" And Shawlash. More importantly, I installed ssh To connect to the computer when the input device is disconnected/output. I cut them off, I connected to him from my computer. You can continue.

Continue - the disks have been installed.

One disc is a disc 3T The current that came from my computer and another new disk (In practice there are two new ones and will be later 3 Disks on your computer at this time, Because otherwise I did ? But the vertical disc has failed and is sent for replacement under warranty).

Installed SnapRAID And it has been recommended to install the disk parity (Continued 10 Hours for iphone 3T).

further. What else is left? ? Ahh .. NFS. again, The wiki of Erin' Came to my assistance and in a short time was installed and operated server NFS On the new computer and client NFS On my computer (And later also of the daughter).

To anchor the new network partitions and to have automatic and know-how to handle the server that might be turned on and may not be selected autofs Short setup and setup (Wiki, I already said ?) ו audacious Play me what NAS. (A slight problem is that autofs Right now Anchoring everything I have in the file HOSTS And because I use it for basic site filtering [Referral to] I have a collection of thousands of strange anchors. Will be resolved and not disturbed by the current situation).

so that's it. there is NAS, a little different. I shared. And if there are any questions - I'm here.

And the hearing will be pleasant.

Edited By ben-zone
Link to content
Share on other sites

An excellent project and so is the article about it : xyxthumbs:

As for the package, I do not invest in these things, as far as I'm concerned, a lot of generic packages do the job very well for "network appliances". It also includes NAS - only in this case (we have more than 1-2 hard) there is also a need for normal ventilation for disks. Almost every generic enclosure has a front fan, and if it is 120mm it is enough, but many cases have a problem that the front plastic is sealed and this fan has no air to escape (except for a small key not attached to the bottom of the panel). Generic enclosure if a front panel with ventilation vents or grids will be provided Good enough for this, especially that usually in NAS the only thing that heats up significantly is the disks, the CPU is almost cold, and there is no video card

In connection with the recent changes in Arch:

One thing that bothers me is that Arch is now coming out of 2, which is not always true in my case:

They assume I have another computer in the same place to open the setup guide. Gentoo already in 2005 included on the disk the guide in the form of HTML + Links To read it, Arch did not think about it

They assume that everyone has a fast Internet connection all the time. Not in my case, I install a lot of computers offline - sometimes in a corporate network that does not have Internet access, sometimes for another reason I do not have In the same place or time. What I did was to download the whole mirror site (40 GB) to an external hard drive so I have it as an installation source, even in the initial installation (on the installation disk there are no packages for the base) and for installing the system completion

Another equally disturbing thing is the nonsense that happens if the Grub. In Grub 0.x there is a very simple settings file for understanding and editing and is a menu.lst. In Grub 2 Grub's developers have decided to create some kind of automation (which is designed to be distributed like , Which calculates the "grub.cfg" file automatically according to the configuration files found in etc - by default the grub.cfg file contains a warning not to edit it manually (although you can do this anyway). But what, both grub.cfg and source file in etc, are extremely complicated, huge, and simple to understand. They're just not meant to be touched by the user - exactly the opposite of what should be in the system like Arch

Now, not only that, but also that the file in etc is broken - it has just an unrelated UUID in all places (instead of the correct UUID of the root partition), which of course does not work when you try to restart your computer. Nothing was said about that in Wiki. My solution is to replace the UUID in all places in the file if the sed - See here, But it still does not fix the problem that the file is complicated on the levels

I myself on Arch but my main recommendation to the system Others is the Chakra - based Arch but its development is not done in the way of Death Eaters

Link to content
Share on other sites

- ^ -

About SATA3:

- Because it is already present. This is no longer the future.

- Because my discs support it now. Why limit them?

- In general, what is the reason to purchase * Today * A product that does not support SATA3?

For Vendor:

- because I prefer in principle a quality supplier that is not loaded as a way to keep my equipment over time.

- And without principles, quality suppliers have lived for many years. You know what he'll use tomorrow.

Supplier 420. How much will I spare for a lower quality power supply? 150? And in addition it will also not be a modular supplier. It's not worth saving those 150s.

Link to content
Share on other sites

About SATA3:

- Because it is already present. This is no longer the future.

- Because my discs support it now. Why limit them?

- In general, what is the reason to purchase * Today * A product that does not support SATA3?

- Makes sense

"You do not understand the rigors and their communication channels?"

The first-generation SATA provides you with an 1.5GB (bit extension), which is equivalent to the 192 MB (Byte extension).

SATA2 (second generation) provides you with 3GB, which is equivalent to 384MB.

SATA3 (third generation, which we are talking about) provides 6GB, which is equivalent to 768MB.

From this you can understand that you do not base performance because there is no HDD for the home market that reaches speeds like this (I'm talking about SATA2), so SATA3 is unnecessary for a system that is not intended to come .

Today SATA3 on HDD is nothing more than just a marketing gimmick, it's not that they really take advantage of it (or get close to it).

Reason for saving money.

Link to content
Share on other sites

The SATA III controller does not have any effect on mica drives.

Just as if you connect one of these:


To the narrow exit with toothpaste:


The paste will not leave faster because the narrow tube expands later on.

Macan drives do not come close to utilizing the latitude of the SATA II.

And the fact that they were named on a SATA III controller does not change anything.

Macan drives have moved to SATA III because in terms of production everything changes to new standards.

Not because there is a need for one product or another that can not reach high speed.

Link to content
Share on other sites

Very nice project.

What I do recommend is to place an extra hard-drive fan. Or throw air on them or pull them away (toward the inside of the case).

From my experience, colder colds are getting worse.

RAID5 could be a good solution for at least a rigid 3 array.

Link to content
Share on other sites

"Your NAS server is a bit wasteful.

Area Enclosure, Cost of parts, power consumption. "

I would be happy to turn to a more compact package that will give me the ability to assemble several disks like this (yes, it will come, start at 3 and continue ...).

The cost of parts - as an expression of the right of any builder to assemble as he sees fit. A vendor will take a lot of money in the first stage, Old with a minority of connections and will discard money in the first stage and so on.

With regard to power consumption - what exactly is wasteful in this system?

Link to content
Share on other sites

"What I do recommend is placing another fan in the hard-drive" - ​​the case comes with 2 fans. Rear and front. The front that comes with the case is in front of the top "3.5 chassis" and there I put two of my discs in front of the front fan before the lower disc enclosure (and there are other available locations on the top side of the chassis and on the right side if needed).

"RAID5 could be a good solution to at least a hard 3 array" - true but as I wrote, irrelevant to me. RAID requires uniform size partitions. This means that when 4T discs finally arrive in Israel, I will have to replace all the disks in the package or continue using 4T only. One of my considerations was supporting large disc sizes.

Link to content
Share on other sites

First of all, great project and execution.

As for what they said about the price, I remember your question from a forum of specifications and the price came out around the 1600-1700.

You may save as 300 in selecting other components, but the question is, as you said, what does it give?

Specifications based Will not give an advantage here, and will be more expensive - that panels with 6 based sata3 connections Costs more than 400.

I understand you read quite a bit before execution, you can detail the performance of the system, and if you know where it stands in terms of performance versus a ready-made raid solution?

The link you gave is not available, is there another place where you can read about the meatraid you described?

Link to content
Share on other sites

Join the discussion

You can then join the discussion and then join our community. If you already have an account with us, please Log in now To comment under your username.
Note that: The comment will appear to the surfers after approval by the board management team.

Add a comment

×   The content pasted is with formatting.   Remove formatting

  Only 75 emoji are allowed.

×   Your link has been automatically assimilated.   Show as regular link

×   Your previous content has been automatically restored.   Clear all

×   You can not paste images directly. Upload or insert images from URL.


  • Create new ...

At the top of the news:

new on the site