-
bobokun started following ssh agent forwarding to unraid not working
-
Syslog notify - create notifications if specific words occur in the logs
@mgutt , thanks for putting this together. I use discord for alerting and a lot of the times it would fail to send the notification to discord because it would parse the JSON incorrectly with this error {"message": "The request body contains invalid JSON.", "code": 50109}. I've patched this section of the script to ensure Newlines, quotes, and backslashes in syslog entries are escaped safely. I'm posting it here in case you want to add it into your script as well. # create notification for new errors if [[ $errors ]]; then # remember line number of last error line_number_start=$(grep --text --fixed-strings --line-regexp --line-number "$last_line" "$syslog_file" | cut -f 1 -d ":") echo "$line_number_start" >"$line_number_file" # escape subject keywords subject="syslog $(echo "$errors" | grep -ioP "($words)" \ | tr '[:upper:]' '[:lower:]' | sort -u | xargs)" # escape description safely desc=$(echo "${errors:1}" | jq -Rs . | sed 's/^"//;s/"$//') # send notification /usr/local/emhttp/webGui/scripts/notify \ -i "alert" \ -s "$subject" \ -d "$desc" exit else # store last line number if no error has been found line_number_start=$(grep -c ^ "$syslog_file") echo "$line_number_start" > "$line_number_file" fi
-
Unassigned Devices Preclear - a utility to preclear disks before adding them to the array
unnas-diagnostics-20250903-2129.zip
-
FAIL! Invalid Unraids MBR signature
If I add it to the array and let it clear the disk but don't format after, instead just stop the array and remove the disk, would that be considered "precleared" and would parity be valid still after removing the disk?
-
Unassigned Devices Preclear - a utility to preclear disks before adding them to the array
Hi I got redirected here after posting in the support forum. I recently purchased a HDD and wanted to test for early failure, but no matter how many times I try to preclear the drive it keeps coming back with FAIL! Invalid Unraids MBR signature on 3ZGYASGZ (sdk). I'm using the latest version of the Unassigned Devices Preclear plugin (2028.08.20). The first time I tried preclearing I was using a USB dock and thought there might be an issue with the dock, so I tried putting the HDD in my server and rebooting it instead but I'm still running into this issue. This is being connected via Dell PERC H310 to a supermicro 16 bay SAS2 backplane. This seems to happen right after it finishes zeroing the drives. See attached preclear logs. preclear.txt
-
FAIL! Invalid Unraids MBR signature
I don’t plan on using this drive right away. It’s meant as a backup ready to be replaced in case a drive fails. Is there anyway Unraid can preclear it and have it ready without adding it to the array?
-
bobokun started following Segfault errors on server , FAIL! Invalid Unraids MBR signature and Disk8 with read errors
-
FAIL! Invalid Unraids MBR signature
I recently purchased a HDD and wanted to test for early failure, but no matter how many times I try to preclear the drive it keeps coming back with FAIL! Invalid Unraids MBR signature on 3ZGYASGZ (sdk). I'm using the latest version of the Unassigned Devices Preclear plugin (2028.08.20). The first time I tried preclearing I was using a USB dock and thought there might be an issue with the dock, so I tried putting the HDD in my server and rebooting it instead but I'm still running into this issue. This is being connected via Dell PERC H310 to a supermicro 16 bay SAS2 backplane. This seems to happen right after it finishes zeroing the drives. unnas-diagnostics-20250903-2129.zippreclear.txt
-
Disk8 with read errors
The extended SMART test passed but some of the SMART attributes came back with additional errors and I'm seeing an alert in fix common problems about the disk8 read errors. I've attached the latest diagnostics, hopefully it has information about the extended smart test that can help. unnas-diagnostics-20250731-1326.zip
-
Disk8 with read errors
The past few days I've been receiving alerts that my disk8 has read errors. This usually happens when mover is running. Do I need to replace this drive and how urgent is this? The drive itself is not that old compared to some of the other drives I have in my system and it's passed preclear multiple times before I added it into the array. I've attached diagnostics as well. unnas-diagnostics-20250730-0816.zip
-
Segfault errors on server
No there hasn’t been any new device or hardware changes
-
Segfault errors on server
I'm seeing a lot of segfault errors on my server starting today. Is there any way I can debug what the issue is and how to fix these? Are they safe to ignore? unnas-backup-diagnostics-20250428-1120.zip
-
Red triangle with new version 2025.02.06.2108
I'm running into the same issue as well.
-
bobokun started following [v7.0] Cannot disable password auth for root over SSH.
-
[Script] Unassigned Devices Share Re-Mounter (SMB and NFS)
So I did test it and it does remount correctly but afterwards when you try to run it again it shows failure even though it's already mounted.
-
bobokun started following [Script] Unassigned Devices Share Re-Mounter (SMB and NFS)
-
[Script] Unassigned Devices Share Re-Mounter (SMB and NFS)
Instead of hardcoding the mount name as "${server_name}_${share_name}", this doesn't work for those who change the mount names from the default. Can it use the mountpoint found in samba_mount.cfg instead?
-
bobokun started following 7.0.0 beta 2 Call Trace: Can't encode file handler for inotify
-
[PLUGIN] Disk Location
Is there any way I can request a feature to be able to opt out of certain drives from SMART updates? Ideally I would want to keep the smart updates scheduled but not receive these emails daily. If I could opt out of those two nvme's from being updated that would help until the new version of smartmontools gets upgraded with the new Unraid version.
-
[PLUGIN] Disk Location
php /usr/local/emhttp/plugins/disklocation/pages/cron_disklocation.php cronjob Looks like this is happening to two drives. SMART: /dev/nvme0n1 ACTIVE corrupted size vs. prev_size (1b7852b855) done. SMART: /dev/nvme1n1 ACTIVE corrupted size vs. prev_size (1b7852b855) done. running the commands `smartctl -x --all --json /dev/nvme0n1` gives some interesting information, does this mean anything to you? "smartctl": { "version": [ 7, 4 ], "pre_release": false, "svn_revision": "5530", "platform_info": "x86_64-linux-6.1.79-Unraid", "build_info": "(local build)", "argv": [ "smartctl", "-x", "--all", "--json", "/dev/nvme0n1" ], "messages": [ { "string": "Read Self-test Log failed: Invalid Field in Command (0x002)", "severity": "error" } ], "exit_status": 4 }, I found this thread , and it seems like the latest build should fix this issue. Is there any way I can install this on unraid to test? Which file should I be installing?