From 0688608b80cbee231fb6cf57afd2088f89be55b4 Mon Sep 17 00:00:00 2001 From: Dave Russell <39733752+007revad@users.noreply.github.com> Date: Thu, 3 Aug 2023 13:46:13 +1000 Subject: [PATCH 1/2] Update CHANGES.txt --- CHANGES.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index 7b6780d..f9cdd41 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,6 @@ +v3.1.62 +- Fixed bug where newly connected expansion units weren't found until up to 24 hours later. #124 + v3.1.61 - Added enabling E10M20-T1, M2D20 and M2D18 for DS1821+, DS1621+ and DS1520+. - Added enabling M2D18 for RS822RP+, RS822+, RS1221RP+ and RS1221+ for older DSM versions. From e20d59568c9080f9bfa0a552c5d383ebbcf4cfab Mon Sep 17 00:00:00 2001 From: Dave Russell <39733752+007revad@users.noreply.github.com> Date: Thu, 3 Aug 2023 13:57:01 +1000 Subject: [PATCH 2/2] Update syno_hdd_db.sh Fixed bug where newly connected expansion units weren't found until up to 24 hours later. #124 --- syno_hdd_db.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/syno_hdd_db.sh b/syno_hdd_db.sh index 0fc5edc..321aebc 100644 --- a/syno_hdd_db.sh +++ b/syno_hdd_db.sh @@ -29,6 +29,8 @@ # Change how synoinfo.conf is backed up and restored to prevent issue #73 # DONE +# Fixed bug where newly connected expansion units weren't found until up to 24 hours later. #124 +# # Added enabling E10M20-T1, M2D20 and M2D18 for DS1821+, DS1621+ and DS1520+. # Added enabling M2D18 for RS822RP+, RS822+, RS1221RP+ and RS1221+ with older DSM version. # @@ -42,7 +44,6 @@ # # Fixed bug where sata1 drive firmware version was wrong if there was a sata10 drive. # -# # Minor bug fix for checking amount of installed memory. # # Now enables any installed Synology M.2 PCIe cards for models that don't officially support them. @@ -201,7 +202,7 @@ # Optionally disable "support_disk_compatibility". -scriptver="v3.1.61" +scriptver="v3.1.62" script=Synology_HDD_db repo="007revad/Synology_HDD_db" @@ -879,6 +880,10 @@ fi # Expansion units +# Create new /var/log/diskprediction log to ensure newly connected ebox is in latest log +# Otherwise the new /var/log/diskprediction log is only created a midnight. +syno_disk_data_collector record + # Get list of connected expansion units (aka eunit/ebox) path="/var/log/diskprediction" # shellcheck disable=SC2012