Posts by doman18

    At first i want to send big thanks to Chieftec company. No, they didnt sponsor me with case but they helped me a lot at dealing with incompetence of some internet sellers.
    Also im aware that some things could be made better but i dont have workshop or even garage where i could work and all components i made in my 35m2 flat which i share with my wife and 3yr son.

    Some time ago i made a very small and powersavvy NAS based on AMD e-350 CPU embedded in Asus-E35m1-l mainboard.
    My 120$ ultrapowersaving 6-disk Asus E35m1-l build ...

    I was happy with it on ordinary tasks but sometimes it was a little too much when all services were working on full. So i decided to make another build. At first i wanted to buy another mobo with embeded CPU (i had Biostar A68N-5600 on my mind). But most of the time NASes are working in idle in which, as ive read, common modern CPUs are nearly as powersavy as those powerefficient ones. So i decided to buy a common CPU (models with lower TDP) and ITX mainboard.

    - 4-6 disks capacity
    - smallest it can be
    - most quiet it can be
    - cheapest it can be
    - powerefficient it can be but yet sufficient for my needs
    Offcourse i couldnt have everything so i have to compromise some of them.

    Openmediavault with ZFS, Torrents, Samba, NFS, Docker, Nextcloud, Gitea

    I chose 1155 socket as nowadays its CPUs are very cheap but still perform well and are energy efficient. This time instead of TFX i chose SFX (mostly because it came with case :) ) Still cheaper than Pico PSU solution. Also i chose Icy Dock instead of chieftec disks bay from previous build. Mostly because it has 2 fans and they are replaceable

    CPU: Pentium G2020T (35W TDP)
    MOBO: ASUS P8H61-I
    COOLER: 0K6YMY 0FGW90 for Dell Optiplex 790 990 7010 9010 USFF (not SFF which is bigger)
    RAM: 8GB (up to 16GB)
    PSU: Chieftec 250W SFX
    CASE: Chieftec BT-02B-U3-250VS
    DISK HOLDER: Icy Dock MB326SP-B
    OTHER: 4 x 60mm fans, 4 fan protectors for them, 5 fan controllers from Aliexpress, 50GB SSD for OS, some cables

    In plastic front i cut off window for full 5.25" bay and 2 holes for 60mm fans. I had to throw away USB/AUDIO front module. In the steel part i cut off some grills to make a place for cables and other to improve airflow for fans in the back (and to make them quieter). I also had to cut off some steel from front side (under the 5,25 bay) to make better air flow for one of two front panel fans, and also cut off some small part on the 5.25 bay slides to make a place for CPU cooler. Finally I drilled holes for new screws in two plastic mounting slides for 5,25 bay devices - the old mounting caused that 5.25 disk chamber was too deep in front panel.

    At first i wanted to use Rajintek Zelos which i had somwhere. But i found that its fan will be too close to Icy Dock so it wont have much place to suck fresh air. Using any cooler with horizontal fan just didnt make sense here. So i looked for 1155/1156 socket coolers with turbine fans. The only (fairly cheap) ones i could found, were those from SFF/USFF business pcs. So i chose one from Dell Optiplex USFF pc. Offcource it didnt fit because back I/O ports in standard motherboards are twice as higher than those in Dell Optiplex. So i had to cut the coolers steel platform and bend heatsinks to rise aluminium grill higher. Because i couldnt find proper place for turbine fan i just decided to not use it at all. Its mounting place was empty so i came to idea to improve cooling system even more. I grind fan place down to obtain flat and shiny surface and glued there with thermoglue some aluminium radiator i had laying arround. Finally i changed the way coller was mounted by replacing original screws with bolts mounted from the other side of mainboard and some cheap aluminium disk-shape nuts for them.

    DIY fans controller panel
    I wanted to have good airflow for all my components but without having a hairdryer-level noises under my desk. Well, they wasnt loud that much but it was obvoius that to achieve silence goal i have to speed down all these fans. It would be much easier if i would just buy fan controller and for example Noctua fans. But Noctua fans are reaaaaally expensive and good fan controller with separate power for each fan is not cheap either. So I bought 4 fan controllers from aliexpress (about 3,5$ each). I also had some old cheap Pentagram 7302-S Freezone Fan Controller with annoying squeak alarm when fan wasnt turning or when 3rd pin wasnt connected. I dissasembled it, soldered out annoying speaker, drilled 4 additional holes, soldered out each potentiometer from controllers and attached them to Pentagram panel. Next i made a platform from plexi for controllers. But first i soldered wires in places where potentiometers were, screwed the controllers to the platform and soldered wires to the potentiometer pins. The rest is so obvious i think i dont have to explain it.

    PSU mod
    The easiest part. I just dissasembled PSU, cut off the grill, replaced it with fan protector, disconected the fan from his socket and connected extensions both for fan and socked which i pull out to outside. This way i could easily connect fan controller.

    Finally i assembled everything, cable management was really PITA. As you noticed there is only 4 SATA ports on motherboard and one is reserved for OS disk (50GB SSD with openmediavault). But for now i have only 2 mirrored 500GB disks. When i will want to buy more, then i will buy some decent used HBA (probably PERC6 as is quite cheap) with SATA cables. Maybe i even replace those two 40mm fans with some Noctua ones.

    Heres some pics from diferent stages ...

    Please don't put OMV in the same category as your experience with zfs. OMV doesn't create the zfs packages.

    Yes. you're right indeed, my fault. I wanted to say that ZFS on OMV is not for production use.

    OMV is pure debian and uses openzfs from the debian repos.

    I'll try to install it 'classic" way and check if i will have similar problems.

    Have you read the long zfs thread? Otherwise, install OMV 4.x and omv-extras. Then enable the omv-extras testing repo and install the latest omv-extras package. This will give you a button in the kernel tab to install the proxmox kernel (which is the Ubuntu 18 kernel re-packaged). It already has the zfs module built-in (no compiling). Since proxmox runs this kernel on a Debian Stretch userland, it is very good and the zfs plugin was updated to work with this kernel. I would remove the standard Debian kernels with the other button in omv-extras before installing zfs though.

    I havent read this because i didnt want to debug something already not reliable. I chose OMV because i had fairly good home use experience and because its based on Debian. We us proxmox in company i work, all our linux containers and VMs are debian'ish so OMV was obvious choice. Proxmox is really handy tool with nice webgui where you can do things fast and easy. Thats why im looking for similiar experience for NAS server (without too much bloatware like Nas4free or freenas).
    So thanks for a tip with proxmox kernel, i'll give OMV a last chance.

    Ive installed extras, turned on extras-testing, hit "UPDATE" in omv-extras secition, updated all and after reboot i have theese kernels to choose (see attachment). Other things here are Clonezilla/Gparted/SystemrescueCD.

    Ok, i just went to terminal and manually added proxmox repos, downloaded kernel and headers (4.15.3-1) , switched to the kernel, deleted repo, installed omv-extras and installed ZFS. Works fine now, so i will set default kernel in GRUB to pve kernel.

    BTW: is there any way to create RAID10 in ZFS-plugin? I havent see it and again had to do it in terminal.

    Ok, ive tried to make a ZFS pool and it threw an error, something about PATH and not having ZFS module? I tried to uninstall it and install again, manually install headers (which i couldnt do because i couldnt get headers because my gcc version was too old and i couldnt install newer????) and even reinstall OMV4 - none worked. Then i gave up and installed OMV3. Again errors while compiling ZFS (many empty lines like "ERROR >>>>>> "). Reinstallation didnt work either. So i come to conlclusion that OMV is to "dodgy" for production use and probably i will take either pure debian + open zfs or will go even further and install OpenIndiana + Napp IT

    Ive installed OMV for backups in company i work for and ive got some errors during ZFS plugin installation. But plugin itself seem to work ok. I had similar errors on my home machine but my old ZFS pool has been imported fine and i had no issues with it so far.

    So should i worry about those errors? Heres an installation log (the part with errors)

    It took long time but i didnt forgot to put some energy consumption measurements. It can be usefull for those who consider buying mobo with this CPU.

    Iddle ~22W
    Load ~35W

    Load = few torrents downloading + samba copying + nextcloud browsing

    I already made another NAS with G2020T and some serious case and cpu cooling mods. I will move all current setup to it. I wonder will there be big difference in Watts. At first i was considering Biostar A68N-5600 but finally i decided to take full (but power eficient) cpu. Its all about IDDLE work anyway right?

    Thanks guys, especially you Markess. I already ordered P8H61-I Rev 3.0 and G2020T. Ive almost bought i3-3220t it was for about 30Euro where G2020t was for only 5Euro. I dont think i need i3 for my tasks so G2020 should hadle perfectly. And if not, i can always buy this i3 later. Some part of saved money i invested in coller - Rajintek Zelos (about 13 Euro).

    When complete my rig i will make another topic about it with pictures. And i will sell my current one :)

    Syncthing is awesome

    External Content
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    1. Ridiculously easy to setup
    2. Very secure
    3. Uncentralized - there is no such thing like server there so if one of machine goes down you can sync with other one

    Very good as a single chain in your backup flow.

    1. No sync client for android/ios
    2. No possibility to browse shares - if you need single file or directory on unsynced machine you will need to download synthing and sync whole share

    Thats why eventually i switched to Nextcloud

    I want to upgrade my NAS build ...
    My 120$ ultrapowersaving 6-disk Asus E35m1-l build ...

    Im using ZFS, Nextcloud, transmission, samba, nfs and gogs (git server). Im using this server alone, no one else using it so my main concern is power consumption in idle. At first i was choosing between Biostar A68N-5600 (with 25W TDP CPU) or Asrock QC5000 with (18W TDP CPU). But ive read that regular G, i3 and even i5 cpu's can go below 20W in idle…ed-cpu-for-plex-encoding/…topic.php?t=66662p=578729…1-beispiel-799083-79.html

    So main question is should i take into consideration cpus like
    i3 2120T
    i3 3220T

    and have more horse power when needed? Or play safely and stick with AMD Trinity cpus?

    Ive installed Nextcloud with SSL. And i have questions about OPcache.

    Here you suggested to put it in main php.ini in fpm module.

    NextCloud Installation Q & A

    But each php module have its conf.d directory with its config files. And each of them have opcache.ini file with this content.

    Code: 05-opcache.ini
    ; configuration for php ZendOpcache module
    ; priority=05

    So ...

    1. Is there a good reason to put opcache settings in fpm/php.ini when there is separate config file in fpm/conf.d/05-opcache.ini for it?
    2. Or wont be better to put those settings in separate ini file AFTER existing file. For example in 06-opcache.ini.

    Hi. Im running OMV3 on AMD e-350 2 cores 2 threads 1,6GHz, 15W TDP, 4GB of RAM and 2x500GB mirror ZFS pool. 82% of RAM is taken by ZFS and services (samba, nfs and transmission). I have public but variable external IP (binded with to some domain). Also i can have free domain on some hosting server (my sister has 2 sites there).

    1. How much ram Nextcloud needs? I can change the ammount of RAM ZFS takes (now it takes 2,5GB).
    2. Im more familiar with apache but nginx is less resource hungry, wont need proxy module and AFAIK OMV is using it. Should i stick with it or choose apache anyway for NC?
    3. (Nginx choice) Did anyone try those configs? If not do you know any nginx configs that work on OMV?…l/installation/nginx.html
    4. Is PHP 7 neccesary for NC 11?
    5. I self-signed SSL enough for some basic security (im the only one who will use this cloud)?
    6. I know the answer but ill ask anyway to be 100% sure: is there any way to use this free domain i have (on my sisters hosting server) instead of ddns domain i got from and use some SSL for it?

    Wow! Its true, that i didnt do any tests with banana and i had it for very short time, just before i bought Dell. But ive never imagine that SATA can be slower that USB 2.0! I knew that JMB321 is slow, and it was main thing i blamed when ive seen those 5 SSD setup tests (26MB/s). But i thought that is purely chinese controller fault not SATA itself!

    Now i understand why they don sell it anymore!

    Before my FX160 i had Banana Pi M1. It had A20 ARM Dual-Core 1GHz, 1GB DDR3 RAM and most importantly SATA III port. I also bought external PSU (from some switch or something like that) which had 12V-2A/5V-2A lines. This allowed me to power both Banana and 3,5" drive without any problems. But unfortunately i didnt do any speed tests and power consumption measures.

    Here some guy used Banana with JMB321 SATA expander (5 ports) from Alliexpress with 5X SSD drives. He used them for power saving factor, not for speed. (you need to throw link into translator Polish->English)…r-NAS-z-Raidem,61214.html

    Offcourse they are not power efficient setups but just interesting examples of what you can do with ARM platform.

    But overall i just want to say tha i would never consider Raspberry PI or any ARM with only USB2 ports as NAS build. USB transfer speeds are just ridiculous! You need SATA or USB3 ports in the first place to even think about building a NAS.

    Yes, i do have Raspberry PI2, but it has LibreELEC installed and its my media player for my old Panasonic TV.

    Im not an expert but ive read some ZFS topics, seen Level1Techs and Lawrence Systems YT channels and i have an account on FreeNAS forum. Those guys (FN forum) say something like this (short brief): "ZFS relies on RAM and on data written in it. If proper ammount of it is used ZFS arrays are quite hard to kill. Many people use very little ram, far below mimimal requirements and they are fine, even for many years. Until something fails. When something gets wrong we see many of them coming here crying "i lost my data! ZFS corrupted them, i trusted ZFS and FreeNAS and they failed me aaaaargh! Thats why we publish minimal requirements on site. Stick with it if you care about your data"
    Offcourse its very short version, i would need to find topics and put link to them here. But overall i really wouldnt want to go below minimal FreeNAS (and NAS4Free) requirement which is 8GB ram.

    As for RAID1 i will read it now.

    PS. As for speed.

    Quote from tkaiser

    if it's about sharing a slow 2.5" HDD

    All used 2,5" are 7200rpm drives, not 5400rpm which is quite common for this size.

    Well, they are not used anyway. They are new, but replaced with SSDs. So i dont think they were subject to physical damage more than other computers brought by the couriers to stores. And i will throw some SMART here later.

    Hmm, im thinking that you are confusing RAID1 (mirroring) with RAID0(striping). Im not using the latter, and i will never do. Maybe RAID10 but never RAID0.

    ZFS and BTRFS are great! I would love to use one of them. But they are RAM hungry hogs and i have only 4GB now. FN11 requires 8GB at least. I did have FN11 for a short time to check some samba sharing but it was clearly slower than OMV. Maybe when i will have some spare cash i will buy more RAM and put some ZFS or BTRFS but not now.

    You share 500GB?

    Yeah. They are best best deal now as you can buy them almost new for very low price. Computer stores sell them as used because most people when buy laptops replace them with SSDs.

    How much W in idle and how much when clients access the storage?

    Well i dont have watt meter yet. Its just my assumption that all this setup eats less power than common 3,5" with separate CPU. Maybe its premature assumption? I will check it soon.

    Ok, i finally finished it. My true NAS build. Previously i had "beefy" Dell FX160 with 2 core 4 threads Atom 330, 3GB ram and 500GB 2,5 drive which run pure debian on 2gb flash disk.

    Now i have:
    Mobo:Asus E35m1-l, 6xSATA III, PCI-E x16
    CPU: (embeded) AMD e-350 2 cores 2 threads 1,6GHz, 15W TDP
    Ram: Kinstrone 4GB DDR3 (max 16GB)
    PSU: (TFX) Delta 250W bronze
    Chasis: Compaq CQ1120UK
    disk chamber: Chieftec CMR-625 5,25" chamber for 6x 2,5" drives

    The only new item is disk chamber (about 40$). The rest parts are used, bought from allegro (Polish ebay). PSU is from other case (8cm taller and deeper Viglen Genie SFF computer). Asus mobo didnt have backplate (shame!). Compaq case was the cheapest and smallest case with full 5,25 chamber i could get. Many others come with slim chamber which offcourse didnt have place for 6 disks. Unfortunately case didnt have window for TFX PSU - originally compaq mainboard was powered directly from some external psu. I was thinking about buying Pico PSU from alliexpress for about 15$. But i would also need some external PSU which would be another cost. So i just cut the window for my Delta TFX PSU. TFX'es are cheaper and very easy to get. Yeah, i know the cut is not stright. Its because of case rivet which wasnt flatten enough. I also had to grind down a little bit plastic front near 5,25 chamber because i wont be able to open two last disk shelves.

    Im using now 3 disks 160GB for OMV and 2x500GB in mirror raid for data and still have 3 free shelves for futue expansion. Tere is also place for another disk under 5,25 bay so i will put there my 160GB when i will want to fill all shelves on my chieftec chamber with data disks. As i mentioned before mobo has PCI-E x16 slot. But as you can see there is very little room for expansion card. I dont need any PCI-E device right now (maybe some 4 port Intel NIC?) so it doesnt bother me much

    I use torrents, samba, nfs and syncthing as cloud unlimited-space replacement for my Dropbox, GDrive and Mega accounts. Well im still using Mega for some very recent stuff. OMV shutdown plugin turns the machine off when there is no connections to it. My current router and cable modem are controlled by some cheap digital time switch. When i replace router with Mikrotik (which i need to buy anyway) it will also WOL my NAS at the start.

    I also ordered 8cm of luminescent sticky tape to replace this ugly yellow paper scrap :D Space under my desk is really dark place xD

    So yeah, so far im really happy with this setup, its little power consumption and overall cost.

    PS. Sorry for any language mistakes, im from Poland.

    Quote from jollyrogr

    You don't show what your user1 privileges are.

    Read/Write for share offcourse. I didnt put that because its quite obvious thing and you can upload 10 screenshots only. So i ommited it.

    Quote from siulman

    You shouldn’t use 777, this allow every single user/group to read/write the folder. This is not a good practice.

    I know, i know, i used similar "lazy" setup on my previous machine - pure Debian at Fx160 for over a year. I planned to change it but i it was one of those "ill do it later" things which will never be done. I wanted to do it right way on my new machin and 777 was my "last resort" solution for this if anything else fails.

    Quote from siulman

    What you can do is change the group owner of your download folder for example by “debian-transmission” or even easier, add the “debian-transmission” user to the “users” group. Then you keep the “775” permission in the folder.

    I used to do similar thing for www folders in my company when i setup apache server. And it kind of pisses me off that you can add your new user to some system group in WebGUI but you cant do opposite. Or can you? Because in FreeNAS or Xpenology you can do it in very easy way.

    Quote from siulman

    OMV is great, the difference with other tools is it’s full open, meaning sometimes you need to go in CLI to compensate the fact everything is allowed

    I dont mind going to CLI when i do some "hipsterish" things. I had extroot and extswap setup on OpenWRT+Gargoyle with transmission and samba in the times when they werent plugins yet. extroot mean that i had root folder on external device (USB disk). And offcourse i didnt mind that all of those i had to do in terminal because i knew these are not standard things you do on router. But setting up shares, using torrent client or changing permissions and ownership are very standard things (especially for NAS os), like setting up PPPoE or Wifi on routers. So they should be the easiest and most straightforward things in NAS WebGUI.

    This is really pisses me off. I installed OMV recently and i have minor or major problems with almost every thing i want to setup. Now i have with transmission. It just doesnt download files. Heres my config. I added INPUT rule for my private tracker because it demands it and it works. But not sure should i add OUTPUT rule as well. Anyway this Ubuntu i downloaded from public tracker so it should download it anyway.

    OK, i just made 777 permisions and redownloaded torrent and it works. I dont know which one of those two actually did the job but its working.