Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

nassauer

Members
  • Joined

  • Last visited

Everything posted by nassauer

  1. Moin Gemeinde. Als ich mein unraid vor knapp 4 Wochen zum ersten mal aufgesetzt habe, konnte ich durch einfache Installation der IT87 Treiber, System Temp und Fan Control meine 2 Lüfter für die Festplatten und Gehäuse super mit Fan Control regeln. Aber seit irgend einem Reboot klappt das nicht mehr. Ich bekomme zwar die Lüfterumdrehungen angezeigt und die Temperaturen, aber Fan Control hat keine Auswirkungen mehr. Ich weiß bald nicht mehr, was ich noch machen soll. Ich habe sämtiche Tipps und Tricks probiert, die man im Netz findet. modprobe force_id, append initrd=/bzroot acpi_enforce_resources=no, append initrd=/bzroot acpi_enforce_resources=lax ... Das Mainboard ist das Gigabyte B760 DDR4. Ich habe das Gefühl, das Bios steuert immer gegen. Auch hatte ich mal in einem Post was gefunden, da wurden die Lüfter im Bios auf Manuell gestellt und die Lüfter-Kurve so geändert, dass eine Bios-Steuerung erst ab 80Grad passiert. Das führt bei mir nur dazu, dass die Lüfter nicht mehr in unraid auftauchen. Auch gab es den Tipp, die Lüfter auf 100% im Bios einzustellen. Ändert auch nichts. Dann hab ich versucht, die Lüfter per Script zu steuern. Das führte dazu, dass die Dinger auf 0 runterregelten und nicht mehr ansprangen. Hat noch jemand eine Idee, was ich machen kann? taruga-diagnostics-20240617-1051.zip
  2. Soweit ich das verstanden habe, sind die Netzeile alle getestet worden. Anyways. Ich hab zwischenzeitlich das MWE400 und am Idle Verbrauch hat sich messbar nichts verändert. Mittlerweile habe ich mich damit arrangiert. Allerings nervt mich das B760 Board massiv, da ich die Lüfter nicht per Fan Control steuern kann.
  3. Hi. I´m having some trouble with Fan Control. Here is an excerpt from the logs: Jun 14 19:44:11 Taruga autofan: Highest disk temp is 32C, adjusting fan speed from: 63 (24% @ 1584rpm) to: OFF (0% @ 863rpm) Jun 14 19:44:11 Taruga autofan: Highest disk temp is 32C, adjusting fan speed from: FULL (100% @ 0rpm) to: OFF (0% @ 103rpm) Jun 14 19:44:11 Taruga autofan: Highest disk temp is 32C, adjusting fan speed from: FULL (100% @ 933rpm) to: OFF (0% @ 1043rpm) I thought it had started when I just recently went from 6.12.4 to 6.12.10, but even going back to 6.12.4 causes weird fan behaviour. The seem to be stuck at about 50 percent of their max rpm (according to dashboard), regardless of settings in Fan Control. I tried removing and installing ITE IT87 Driver, but to no avail. taruga-diagnostics-20240614-1946.zip
  4. Hi. I´m trying to get this to run. But once the script tries to set a new PWM my fans just go to 0 rpm and never turn on again. Script log shows that it successfully determined the temps and sets the pwm, but no matter if is sets to 150 or 200 ... fans stay off. Any ideas? #!/bin/bash # This script will automatically adjust the fans speed # based on your hard drives temperature. You may select # which disks to include and exclude and play around with # different temperature settings. # Prerequisites: # 1. Enable manual fan speed control in Unraid # This can be done by editing "/boot/syslinux/syslinux.cfg" # Right beneath "label Unraid OS" you will have to change: # "append initrd=/bzroot" to "append initrd=/bzroot acpi_enforce_resources=lax" # 2. Set the PWM headers you want to control to 100%/255 and mode to PWM in your BIOS # Tips: # In order to see what fan headers Unraid sees use "sensors -uA" # Another useful tool is "pwmconfig". Makes it easier to find the correct fan header # You may test your pwm pins from the terminal. Here is a list of attributes: # pwm[1-5] - this file stores PWM duty cycle or DC value (fan speed) in range: # 0 (lowest speed) to 255 (full) # pwm[1-5]_enable - this file controls mode of fan/temperature control: # * 0 Fan control disabled (fans set to maximum speed) # * 1 Manual mode, write to pwm[0-5] any value 0-255 # * 2 "Thermal Cruise" mode # * 3 "Fan Speed Cruise" mode # * 4 "Smart Fan III" mode (NCT6775F only) # * 5 "Smart Fan IV" mode # pwm[1-5]_mode - controls if output is PWM or DC level # * 0 DC output # * 1 PWM output # Minimum PWM value # Used when all disks are spun down # and fan speed will never be set to a lower value MIN_PWM=200 # Low/High PWM values # Used for calculating new PWM values when # disk temp is between LOW_TEMP and HIGH_TEMP temperature LOW_PWM=200 HIGH_PWM=225 # Max PWM # Used for setting the fan to max speed while parity # is running or if the disk temperature is too hot # This settings should in most cases NOT BE CHANGED! MAX_PWM=255 # Low/High temperature # Define the disks temperature range for when # the fans speed should be automatically adjusted LOW_TEMP=33 HIGH_TEMP=45 # Max temperature # If the hottest disk reaches this temperature # a notification will be sent through Unraid MAX_TEMP=50 # Disks to monitor # Select disks to include by type and # exclude by name (found in disk.ini) INCLUDE_DISK_TYPE_PARITY=1 INCLUDE_DISK_TYPE_DATA=1 INCLUDE_DISK_TYPE_CACHE=1 INCLUDE_DISK_TYPE_FLASH=0 EXCLUDE_DISK_BY_NAME=( "cache_system" "cache_system2" ) # Array fans # Define one or more fans that should be controlled by this script ARRAY_FANS=( "/sys/class/hwmon/hwmon2/pwm2" "/sys/class/hwmon/hwmon2/pwm3" ) ############################################################ # Make a list of disk types the user wants to monitor declare -A include_disk_types include_disk_types[Parity]=$INCLUDE_DISK_TYPE_PARITY include_disk_types[Data]=$INCLUDE_DISK_TYPE_DATA include_disk_types[Cache]=$INCLUDE_DISK_TYPE_CACHE include_disk_types[Flash]=$INCLUDE_DISK_TYPE_FLASH # Make a list of all the existing disks declare -a disk_list_all while IFS='= ' read var val do if [[ $var == \[*] ]] then disk_name=${var:2:-2} disk_list_all+=($disk_name) eval declare -A ${disk_name}_data elif [[ $val ]] then eval ${disk_name}_data[$var]=$val fi done < /var/local/emhttp/disks.ini # Filter disk list based on criteria declare -a disk_list for disk in "${disk_list_all[@]}" do disk_name=${disk}_data[name] disk_type=${disk}_data[type] disk_id=${disk}_data[id] disk_type_filter=${include_disk_types[${!disk_type}]} if [[ ! -z "${!disk_id}" ]] && \ [[ "${disk_type_filter}" -ne 0 ]] && \ [[ ! " ${EXCLUDE_DISK_BY_NAME[*]} " =~ " ${disk} " ]] then disk_list+=($disk) fi done # Check temperature declare -A disk_state declare -A disk_temp disk_max_temp_value=0 disk_max_temp_name=null disk_active_num=0 for disk in "${disk_list[@]}" do # Check disk state eval state_value=${disk}_data[spundown] if (( ${state_value} == 1 )) then state=spundown disk_state[${disk}]=spundown else state=spunup disk_state[${disk}]=spunup disk_active_num=$((disk_active_num+1)) fi # Check disk temperature temp=${disk}_data[temp] if [[ "$state" == "spunup" ]] then if [[ "${!temp}" =~ ^[0-9]+$ ]] then disk_temp[${disk}]=${!temp} if (( "${!temp}" > "$disk_max_temp_value" )) then disk_max_temp_value=${!temp} disk_max_temp_name=$disk fi else disk_temp[$disk]=unknown fi else disk_temp[$disk]=na fi done # Check if parity is running disk_parity=$(awk -F'=' '$1=="mdResync" {gsub(/"/, "", $2); print $2}' /var/local/emhttp/var.ini) # Linear PWM Logic pwm_steps=$((HIGH_TEMP - LOW_TEMP - 1)) pwm_increment=$(( (HIGH_PWM - LOW_PWM) / pwm_steps)) # Print heighest disk temp if at least one is active if [[ $disk_active_num -gt 0 ]]; then echo "Hottest disk is $disk_max_temp_name at $disk_max_temp_value°C" fi # Calculate new fan speed # Handle cases where no disks are found if [[ ${#disk_list[@]} -gt 0 && ${#disk_list[@]} -ne ${#disk_temp[@]} ]] then fan_msg="No disks included or unable to read all disks" fan_pwm=$MAX_PWM # Parity is running elif [[ "$disk_parity" -gt 0 ]] then fan_msg="Parity-Check is running" fan_pwm=$MAX_PWM # All disk are spun down elif [[ $disk_active_num -eq 0 ]] then fan_msg="All disks are in standby mode" fan_pwm=$MIN_PWM # Hottest disk is below the LOW_TEMP threshold elif (( $disk_max_temp_value <= $LOW_TEMP )) then fan_msg="Temperature of $disk_max_temp_value°C is below LOW_TEMP ($LOW_TEMP°C)" fan_pwm=$MIN_PWM # Hottest disk is between LOW_TEMP and HIGH_TEMP elif (( $disk_max_temp_value > $LOW_TEMP && $disk_max_temp_value <= $HIGH_TEMP )) then fan_msg="Temperature of $disk_max_temp_value°C is between LOW_TEMP ($LOW_TEMP°C) and HIGH_TEMP ($HIGH_TEMP°C)" fan_pwm=$(( ((disk_max_temp_value - LOW_TEMP - 1) * pwm_increment) + MIN_PWM )) # Hottest disk is between HIGH_TEMP and MAX_TEMP elif (( $disk_max_temp_value > $HIGH_TEMP && $disk_max_temp_value <= $MAX_TEMP )) then fan_msg="Temperature of $disk_max_temp_value°C is between HIGH_TEMP ($HIGH_TEMP°C) and MAX_TEMP ($MAX_TEMP°C)" fan_pwm=$MAX_PWM # Hottest disk exceeds MAX_TEMP elif (( $disk_max_temp_value > $MAX_TEMP )) then alert_msg="$disk_max_temp_name exceeds ($MAX_TEMP°C)" fan_msg=$alert_msg fan_pwm=$MAX_PWM # Send an alert /usr/local/emhttp/webGui/scripts/notify \ -i alert \ -s "Disk (${disk_max_temp_name}) overheated" \ -d "$alert_msg" # Handle any unexpected condition else fan_msg="An unexpected condition occurred" fan_pwm=$MAX_PWM fi # Apply fan speed for fan in "${ARRAY_FANS[@]}" do # Set fan mode to 1 if necessary pwm_mode=$(cat "${fan}_enable") if [[ $pwm_mode -ne 1 ]]; then echo 1 > "${fan}_enable" fi # Set fan speed echo $fan_pwm > $fan done pwm_percent=$(( (fan_pwm * 100) / 255 )) echo "$fan_msg, setting fans to $fan_pwm PWM ($pwm_percent%)"
  5. Da Immich auf PostgreSQL setzt, führt das dazu, dass Postgres ständig wal writes durchführt und mein Cachepool aus 2 SSD nicht in den Standby gehen. Ich würde gerne den Ordner pg_wal in eine Ram Disk mounten und per symlink verknüpfen. Was mir allerdings nicht so ganz klar ist: wie? Ich müsste die Ram Disk ja auch im Docker Containter (PostgrSQL_Immich) einbinden, damit der Container zugreifen kann. Ich bin noch nicht so ganz fit in dem Ganzen. Meine Ram Disk wäre /mnt/disks/shm. Mounte ich das als neuen Container-Pfad /ramdrive, Host Path /mnt/disks/shm und der Container hat dann Zugriff? Symlink wäre dann ln -s /mnt/disks/shm/pg_wal /mnt/user/appdata/PostgreSQL_Immich/pg_wal. Über den Faktor Sicherheit etc. müssen wir nicht weiter reden. Auch wie ich die Ram Disk vor und nach Reboot behandele, hab ich schon klar.
  6. No, there wasn´t. I just ran the docker as it was. Switching to "Bridge" fixed the issue! Thank you very very much.
  7. Hi all. I´d be happy if someone could point me in the right direction: I have installed Tailscale plugin and I can access my immich docker with ease. But for the life of me I can´t connect to jellyfin using the tailscale IP and port. I am advertising subnet (I hope, as I am not an IT pro who always knows what he is doing. Subnet advertising was not neccessary for immich though. Taruga-tailscale-diag-20240602-085645.zip
  8. Ne, so viel Leistung werd ich nicht brauchen. Ich schiele momentan auf das doch günstige Cooler Master MWE400 White V2 aus der Liste von Wolfgang.
  9. Thanks for the warning. Well then I´ll keep searching.
  10. well it´s ok for me not to use the nvme at the moment and save myself a little headache figuring it out. I could get my hands on a 2018 rm550x PSU. Any differences to the 2021 model?
  11. Ich muss das hier nochmal aufmachen: gibt es einen technischen Unterschied zwischen den Baujahren 2021 und davor?
  12. It´s a Kingston NV2 500G I had left over.
  13. You where correct. I´ve switched to putty and now I get C10. I attribute about 2-3 Watts to my APC I have. I´ve found test data for the PSU and it looks like it is actually pretty good. But given that literally nothing else is connected to the board itself the idle draw still seems high. I am measuring with a Tapo plug via the app and my APC can display power draw.
  14. Joining in with: Gigabyte B760M DS3h DDR4 Core i3 1200 (no letter) 32 Gig Corsair Ram PSU beQuiet BQT9-700W unraid downgraded to 6.12.4 I have set everything in Bios to what I have found in almost any thread around here. I have NOTHING connected, despite the USB stick and network. No Sata, no NVME, no HDMI, no keyboard. I am stuck at 20 Watts idle. I had C10 yesterday, but still 20 watts. today I only get to C8. I´m using a 10+ years old PSU beQuiet 700W. But from what I could find it is not too shaby at low loads. I´f I could get anywhere near 10 Watts idle I would consider sourcing a better PSU. Here is my Go File: #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp echo 1 | sudo tee /sys/bus/pci/drivers/r8169/0000\:02\:00.0/link/l1_2_aspm powertop --auto-tune &>/dev/null # ------------------------------------------------- # Set power-efficient CPU governor # ------------------------------------------------- /etc/rc.d/rc.cpufreq powersave # ------------------------------------------------- # Disable CPU Turbo # ------------------------------------------------- [[ -f /sys/devices/system/cpu/intel_pstate/no_turbo ]] && echo "1" > /sys/devices/system/cpu/intel_pstate/no_turbo [[ -f /sys/devices/system/cpu/cpufreq/boost ]] && echo "0" > /sys/devices/system/cpu/cpufreq/boost # ------------------------------------------------- # Enable power-efficient ethernet # ------------------------------------------------- # enable IEEE 802.3az (Energy Efficient Ethernet): Could be incompatible to LACP bonds! for i in /sys/class/net/eth?; do dev=$(basename $i); [[ $(echo $(ethtool --show-eee $dev 2> /dev/null) | grep -c "Supported EEE link modes: 1") -eq 1 ]] && ethtool --set-eee $dev eee on; done # Disable wake on lan for i in /sys/class/net/eth?; do ethtool -s $(basename $i) wol d; done # ------------------------------------------------- # powertop tweaks # ------------------------------------------------- # Enable SATA link power management echo med_power_with_dipm | tee /sys/class/scsi_host/host*/link_power_management_policy # Runtime PM for I2C Adapter (i915 gmbus dpb) echo auto | tee /sys/bus/i2c/devices/i2c-*/device/power/control # Autosuspend for USB device echo auto | tee /sys/bus/usb/devices/*/power/control # Runtime PM for disk echo auto | tee /sys/block/sd*/device/power/control # Runtime PM for PCI devices echo auto | tee /sys/bus/pci/devices/????:??:??.?/power/control # Runtime PM for ATA devices echo auto | tee /sys/bus/pci/devices/????:??:??.?/ata*/power/control
  15. Hat zumindest fürs Booten vom Stick geklappt. Aber aus irgend einem Grund spinnt der 6-fach ASM1166 Adapter, oder spielt nicht mehr mit. Beim Booten leuchten noch alle Kontroll-LEDS, aber sobald unraid anfängt, sich in den Speicher zu laden, gehen die aus und bleiben aus. Im Boot-Log werden wohl 4 Ports erwartet, aber 6 zurück gemeldet. Ich probiere gleich das B760 Board und den i3 aus. Ingesamt scheint mir das weniger eine Bastellösung, als dem Asus-Board per m.2 2.5gbe beizubringen und eine etwas wackelige Config nebst magerer Ausstattung zu haben.
  16. Oha. Jetzt komm ich auf C8 und meine, auch mal C10 gesesehen zu haben. Allerdings nervt das Board immernoch tierisch. Reboot klappt nicht so. Erst nach Aus/An ohne USB Stick und dann den Stick wieder einstecken. Und sämtliche Platten am ASM1166 werden nicht mehr erkannt. Aber ich probier noch weiter herum. Mit diesen Commands: echo 1 | sudo tee /sys/bus/pci/drivers/r8169/0000\:05:00.0/link/l1_2_/etc/rc.d/rc.cpufreq powersaveaspm echo med_power_with_dipm | tee /sys/class/scsi_host/host*/link_power_management_policy
  17. Ja mir war das schon wieder klar beim Kauf, dass Asus da nicht der Bringer ist und unter anderem nur einem Sata-Port daherkommt. Es war nur schneller verfügbar und ich hab gerade Zeit. Die ich natürlich damit wieder verplempert habe. Hätte alles geklappt, hätte ich die Platten per ASM1166 an den PCI-E gebunden. Ich hatte noch einen 6-fach liegen, aber selbst ein Firmware-Update hat nichts gebracht. Ich hätte dann entweder einen 10fach oder noch einen m.2 auf Sata dazu genommen oder es bei einem Array belassen. Die Energiepsarzustände sind doch enabled oder hab ich Knick in der Optik? Na jedenfalls hab ich jetzt das B760M DS3H DDR4 mit i3 geordert und schaue mir das mal an. 2 Arrays .. ich meinte zwei Pools mit Parity.
  18. Moin Gemeinde. Ich wollte endlich von meinem betagten QNap Nas weg und hin zu unraid. Aber ich Depp hab vermutlich an der falschen Stelle gesparrt. Das Asus n100 D4 board, was für meine Zwecke eigentlich reichen sollte (Immich und Jellyfin) kommt einfach nicht unter C3 unter unraid 6.12.10. Ich habe NICHTS angeschlossen und sogar denn internen Sata Port deaktiviert zum testen. Aber das Ding macht 20 Watt Idle. Im Bios kann ich das ASPM dem Bios oder dem Betriebsystem überlassen. Stelle ich auf Bios, wird bei allen Devices ASPM "Enabled" angezeigt. Bei "Betriebsystem" sind PCI Bridge und Realtek "Disabled". Ich habe noch einen 2.5 Gbe Adapter für den m.2 Slot im zulauf und gucke, ob das besser geht. Der Plan war, mit einem ASM1166 Controller ausreichend Sata-Ports zu haben. Ich wollte zwei Arrays á 3 Platten betreiben, 1 x für Jellyfin und 1 x für Immich und die Bilder der letzten 20 Jahre und dazu noch 2 Sata SSDs. Hab ich ein Montagsboard erwischt? powertop, intel-top, Tipps und Tweaks und alles probiert. Für mich wären 10-12 Watt Idle akzeptabel, aber so wird das nix. Hat noch jemand eine Idee? Ansonsten müsste ich wohl Richtung i3 auf B760 Board umsteigen? Edit: tja auch mit einem 2.5gbe Adapter für m.2 gar keine Veränderung. Ich schick den Bumms zurück und hab schon für B760 mit i3 auf Bestellen geklickt.
  19. Hi all. I wanted to finally sway away from m years old Qnap to unriad. So I bought: Asus N100 D4 16 Gig Ram PCI-E Sata 6 Port I can´t get the system to go below C3, no matter what. I have disconnected ALL but one SSD drive, unplugged the Sata-Controller. Basically nothing is connected to the board. Not even a monitor and no keyboard. Using lspci -vv | awk '/ASPM/{print $0}' RS= | grep --color -P '(^[a-z0-9:.]+|ASPM )' ASPM status for all devices is "Enabled". The system, with just that one SSD drive, pulls 20 Watts. I was hoping to get 10 in idle to be kept on constantly, but no luck so far. Anyone got some experience with the Asus boards and its culprits? diagnostics-20240525-0619.zip

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.