Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 09/24/20 in Posts

  1. 1 point
    Are you sure about that? What about the /config mount which usually isn't shown unless you hit Show More Settings
  2. 1 point
    For some reason, certain combinations of CPUs / Motherboards / BIOS revisions (or on occasions Eddies in the Space Time Continuum) will issue an MCE when initializing the processor. This is what's happening to you and can be safely ignored.
  3. 1 point
    I'm using Unraid for a while now and collected some experience to boost the SMB transfer speeds: 1.) Choose the right CPU The most important part is to understand that SMB is single-threaded. This means SMB uses only one CPU core to transfer a file. This is valid for the server and the client. Usually this is not a problem as SMB does not fully utilize a CPU core (except of real low powered CPUs). But Unraid adds, because of the ability to split shares across multiple disks, an additional process (shfs) and its load raises proportional to the transfer speed, which could overload your CPU core. So the most important part is to choose the right CPU. At the moment I'm using an i3-8100 which has 4 cores and 2257 single thread passmark points: And only since I have this single thread power I'm able to use the full bandwith of my 10G network adapter. But this is was not the only problem. With my older Intel Atom C3758 (857 points) I even was not able to reach 1G speeds while a parallel Windows Backup was running (see next section to bypass this limitation). Now I'm able to transfer thousands of small files and parallely transfer a huge file with 250 MB/s. With this experience I suggest a CPU that has around 1400 single thread passmark points to avoid problems. As an example: The smallest CPU I would suggest for Unraid is an Intel Pentium Silver J5040. P.S. Passmark has a list sorted by single thread performance for desktop CPUs and server CPUs. 2.) Bypass single-thread limitation The single-thread limitation can be bypassed through opening multiple connections to your server. This means connecting with different user logins or to "different" servers. The easiest way is to use the ip-address of your server as a "second" server while using the same user login: \\tower\sharename -> best option for user access through file explorer as it is automatically displayed \\10.0.0.2\sharename -> best option for backup softwares If you need more connections, you can add multiple entries to your windows hosts file (Win+R and execute "notepad c:\windows\system32\drivers\etc\hosts"): 10.0.0.2 tower2 10.0.0.2 tower3 As an example you now can access your server through the Windows Explorer by typing \\tower3 in the address bar: If you now download a file from your Unraid server through \\tower2 while a backup is running on \\tower, it will reach the maximum speed again: 3.) Completely bypass Unraid's additional process This trick has been found by @falconexe, but because of the lesser security I do not recommened it as you need to enable "disk shares" under Settings -> Global Share Settings: By that all your disks are now available as SMB shares. This is a security problem as one user could now access a user share of a different user. Of course you should set for every disk under Shares -> diskX -> SMB Security access to private and select a user that is allowed to access this disks, but finally this won't help if one disk contains multiple shares. And even if you allow access only for one user like the "admin" (you ^^), it could cause problems as moving/copying files between disk and user shares is dangerous (don't do this!) and you could create new smb shares by accident as a new root folder on a disk is automatically a new user share (this is how Unraid works). So do not use this trick. I warned you ^^ 4.) Enable SMB Multichannel + RSS SMB Multichannel is well-known as a feature that allows splitting file transfers across multiple NICs which f.e. doubles the transfer rate if you connect your client and server each with two NICs. But it has an additional feature: Splitting transfers across multiple CPU cores with only one NIC: To enable Multichannel + RSS open the Unraid Webterminal and enter the following (the file is usually empty, so do not wonder): nano /boot/config/smb-extra.conf Add the following and change 10.10.10.10 to your Unraid servers IP and speed to "10000000000" for 10G adapter or to "1000000000" for a 1G adapter: server multi channel support = yes interfaces = "10.10.10.10;capability=RSS,speed=10000000000" If you are using multiple NICs the syntax looks like this: interfaces = "10.10.10.10;capability=RSS,speed=10000000000" "10.10.10.11;capability=RSS,speed=10000000000" Press "Enter+X" and confirm with "Y" and "Enter" to save the file. Now restart the SMB service: samba restart After rebooting your Windows Client (seems to be a must) you can check if Multichannel + RSS works by opening Windows Powershell as Admin and enter this command: Get-SmbMultichannelConnection -IncludeNotSelected It must return a line similar to this ("Client RSS Cabable" must be "True"): Server Name Selected Client IP Server IP Client Interface Index Server Interface Index Client RSS Capable Client RDMA Capable ----------- -------- --------- --------- ---------------------- ---------------------- ------------------ ------------------- tower True 10.10.10.100 10.10.10.10 11 13 True False If you are interested in test results, look here. 5.) smb.conf Settings Tuning At the moment I'm doing intense tests with different SMB config settings found on different websites: https://wiki.samba.org/index.php/Performance_Tuning https://wiki.samba.org/index.php/Linux_Performance https://wiki.samba.org/index.php/Server-Side_Copy https://www.samba.org/~ab/output/htmldocs/Samba3-HOWTO/speed.html https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html https://lists.samba.org/archive/samba-technical/attachments/20140519/642160aa/attachment.pdf https://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf https://www.samba.org/samba/docs/current/man-html/ (search for "vfs") https://lists.samba.org/archive/samba/2016-September/202697.html I will post my results after all tests have been finished. By now I would say it does not really influence the performance as recent Samba versions are already optimized, but we will see.
  4. 1 point
    For (3) an safer alternative rather than enabling disk share universally is to have custom SMB config file pointing to a top level folder on a disk (e.g. for a share called sharename, have custom SMB config pointing to /mnt/cache/sharename or /mnt/disk1/sharename). Then have the SMB Extras in SMB Settings "include" that config file. That way you just need to restart SMB to change the config file (instead of needing to stop the array to change SMB Extras). Works really well with my cache-only nvme-raid0 share.
  5. 1 point
  6. 1 point
    Ultimate UNRAID Dashboard (UUD) Current Release: Version 1.3 | Version 1.4 In Active Development! Overview: This is my attempt to develop the Ultimate Grafana/Telegraf/InfluxDB dashboard. This entire endeavor started when one of our fellow users @hermy65 posed a simple, but complex question in the below forum topic. I decided to give it a shot, as I am an IT professional, specifically in enterprise data warehouse/SQL server. If you are a Grafana developer, or have had experience building dashboards/panels for UNRAID, please let me know. I would love to collaborate. Version 1.3 Screenshots - Serial Numbers Redacted (Click the Images as They are Very High Resolution): Disclaimer: This is based on my 30 Drive UNRAID Array. So this shows an example of a fully maxed out UNRAID setup with max drives, dual CPUs, Dual NICs, etc. You will/may need to adjust panels & queries to accommodate your individual UNRAID architecture. This is a heavily modified and customized version of GilbN's original off of his tutorial website, with new and original code. As such, he is a co-developer on this version. I have spent many hours custom coding new functionality and features based on that original template. Much has been learned and I am excited to see how far this can go in the future. GilbN has been gracious enough to help support my modded version here as he wrote the back-end. Thanks again! Developers: Primary Developer: @falconexe (USA) UUD Founder | Active Development | Panels | Database Queries | Look & Feel | GUI | Refinement | Support Co-Developer: @GilbN (Europe) Original Template | Back-end | Dynamics | REGEX | Support | Tutorials Contributors: @hermy65 @atribe @Roxedus @SpencerJ @testdasi @ChatNoir Dependencies: Docker - InfluxDB Docker - Telegraf Docker Network Type: HOST (Otherwise You May Not Get All Server Metrics) 👉 Create Telegraf Configuration File 👈 (DO THIS FIRST!) Create and Place a File into Directory "mnt/user/appdata/YOUR_TELEGRAF_FOLDER" Enable and Install Telegraf Plugins Telegraf Plugin - [[inputs.smart]] Enable in telegraf.config Also Enable "attributes = true" Bash Into Telegraf Docker and Run "apk add smartmontools" Telegraf Plugin - [[inputs.ipmi_sensor]] Enable in telegraf.config Bash Into Telegraf Docker and Run "apk add ipmitool" Telegraf Pugin - [[inputs.apcupsd]] Enable in telegraf.config Docker Config Add New Path (NOTE: This path has now been merged into Atribe's Telegraf Docker Image. (Thanks @GilbN) Then Edit telegraf.conf > [[inputs.diskio]] > Add device_tags = ["ID_SERIAL"] > Use ID_SERIAL Flag in Grafana This Means That Upon Booting, You Don't Have to Worry About SD* Mounts Changing You Could Override the Serial Number With "DISK01" etc. So the Serials Would Never Show Unless You Want Them To Post Arguments "/bin/sh -c 'apk update && apk upgrade && apk add ipmitool && apk add smartmontools && telegraf'" Docker - Grafana CA Plugin: IPMI Tools Dashboard Variables (Update These For Your Server): Compatible With: Grafana Unraid Stack @testdasi Docker: https://hub.docker.com/r/testdasi/grafana-unraid-stack Let me know if you have any questions or are having any issues getting this up and running if you are interested. I am happy to help. I haven't been this geeked out about my UNRAID server in a very long time. This is the cherry on top for my UNRAID experience going back to 2014 when I built my first server. Thanks everyone! VERSION 1.3 (Latest) Ultimate UNRAID Dashboard - Version 1.3 - 2020-09-21 (falconexe).json VERSION 1.2 (Deprecated) Ultimate UNRAID Dashboard - Version 1.2 - falconexe.json
  7. 1 point
    So now that I can use GUS, was wondering if there is any special gotchas that might exist if I want to migrate my last 2 weeks of data from my stand alone InfluxDB docker to GUS? If a big issue, I'll just scrap the old data and start from scratch. Was just curious if you have heard of anyone successfully doing it before? Thanks!
  8. 1 point
    See, something simple and I'm a dumba$$. My other Grafana install has never gone straight in. It has always asked my to log in, so I didn't even realize there was a log in icon in the lower left. What a dufus. Sorry about that and THANKS!!!
  9. 1 point
  10. 1 point
    If you have an adblocker whitelist your server
  11. 1 point
    I’ve been running @doron’s script for a few days and it has been perfect so far! Absolutely no unwanted spin ups, and my SAS drives are always sent to standby when needed. Thank you so much to everyone who contributed to this thread, especially @SimonF and @doron (and thanks for crediting me in your script even if I really just suggested something and haven’t written a single line of code 😆). Now let’s push this to the devs and get it included in Unraid! Stay safe and keep up the positive vibes 😉
  12. 1 point
    OK guys, multi remote endpoint support is now in for this image please pull down the new image (this change will be rolled out to all my vpn images shortly). What this means is that the image will now loop through the entire list, for example, pia port forward enabled endpoints, all you need to do is edit your ovpn config file and add the remote endpoints at the top and sort into the order you want them to be tried, an example pia ovpn file is below (mine):- remote ca-toronto.privateinternetaccess.com 1198 udp remote ca-montreal.privateinternetaccess.com 1198 udp remote ca-vancouver.privateinternetaccess.com 1198 udp remote de-berlin.privateinternetaccess.com 1198 udp remote de-frankfurt.privateinternetaccess.com 1198 udp remote france.privateinternetaccess.com 1198 udp remote czech.privateinternetaccess.com 1198 udp remote spain.privateinternetaccess.com 1198 udp remote ro.privateinternetaccess.com 1198 udp client dev tun resolv-retry infinite nobind persist-key # -----faster GCM----- cipher aes-128-gcm auth sha256 ncp-disable # -----faster GCM----- tls-client remote-cert-tls server auth-user-pass credentials.conf comp-lzo verb 1 crl-verify crl.rsa.2048.pem ca ca.rsa.2048.crt disable-occ I did look at multi ovpn file support, but this is easier to do and as openvpn supports multi remote lines, it felt like the most logical approach. note:- Due to ns lookup for all remote lines, and potential failure and subsequent try of the next remote line, time to initialisation of the app may take longer. p.s. I dont want to talk about how difficult this was to shoe horn in, i need to lie down in a dark room now and not think about bash for a while :-), any issues let me know!.