Compare commits

...

4 Commits

Author SHA1 Message Date
Dave Russell ea471b9b40
Update CHANGES.txt 1 week ago
Dave Russell 3618a2d935
Update CHANGES.txt with new bug fix details 1 week ago
Dave Russell 226d444d31
Fix db file processing bug for migrated Synology models 1 week ago
Dave Russell 1f53949189
Update script version and M.2 card database file search 1 week ago
  1. 4
      CHANGES.txt
  2. 6
      syno_hdd_db.sh

4
CHANGES.txt

@ -1,3 +1,7 @@
v3.6.137
- Bug fix for the wrong E10M20-T1, M2D20, M2D18 and M2D17 db files getting processed if the main drives were migrated from a different Synology model.
- Resulted in NVMe drives in one of the above PCIe cards still showing as Unverified.
v3.6.136
- Added messages when write mostly options were used but write mostly cannot be set. Issue #602
- Message for when the `-S` option is used and there are no internal 2.5 inch SDDs found.

6
syno_hdd_db.sh

@ -29,7 +29,7 @@
# /var/packages/StorageManager/target/ui/storage_panel.js
scriptver="v3.6.136"
scriptver="v3.6.137"
script=Synology_HDD_db
repo="007revad/Synology_HDD_db"
scriptname=syno_hdd_db
@ -1469,8 +1469,8 @@ readarray -t eunitdb2list < <(find_eunit_db_files "$dbpath" ".db.new" "${eunits[
# M.2 Card db files
for i in "${!m2cards[@]}"; do
m2card_db1=$(find "$dbpath" -maxdepth 1 -name "*_${m2cards[i],,}*.db")
m2card_db2=$(find "$dbpath" -maxdepth 1 -name "*_${m2cards[i],,}*.db.new")
m2card_db1=$(find "$dbpath" -maxdepth 1 -name "${model}_${m2cards[i],,}*.db")
m2card_db2=$(find "$dbpath" -maxdepth 1 -name "${model}_${m2cards[i],,}*.db.new")
[[ -n "$m2card_db1" ]] && m2carddb1list+=("$m2card_db1")
[[ -n "$m2card_db2" ]] && m2carddb2list+=("$m2card_db2")
done

Loading…
Cancel
Save