From 8ebe2fb58a70a931b9c64f3fe139243e13b18534 Mon Sep 17 00:00:00 2001 From: Dave Russell <39733752+007revad@users.noreply.github.com> Date: Mon, 19 Jan 2026 16:36:05 +1100 Subject: [PATCH] Update script to v3.6.118 v3.6.118 - Changed to enable creating M.2 storage pool and volume in Storage Manager after making DSM check disk compatibility. # GitHub issue #441 --- syno_hdd_db.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/syno_hdd_db.sh b/syno_hdd_db.sh index c1ad6f7..be2f57a 100644 --- a/syno_hdd_db.sh +++ b/syno_hdd_db.sh @@ -29,7 +29,7 @@ # /var/packages/StorageManager/target/ui/storage_panel.js -scriptver="v3.6.117" +scriptver="v3.6.118" script=Synology_HDD_db repo="007revad/Synology_HDD_db" scriptname=syno_hdd_db @@ -2590,10 +2590,18 @@ if [[ -f /usr/syno/sbin/synostgdisk ]]; then # DSM 6.2.3 does not have synostgd fi fi +# Enable creating M.2 storage pool and volume in Storage Manager # GitHub issue #441 +for d in /sys/block/nvme*; do + # $d is /sys/block/nvme0n1 etc + if [[ $d =~ nvme[0-9][0-9]?n[0-9][0-9]?$ ]]; then + m2_pool_support "$d" + fi +done + # Show TRIM warning if required if [[ $show_trim_warning == "yes" ]]; then ding - echo -e "\n${Error}WARNING${Off} Enabling SSD TRIM on drives in RAID 5, 6 or SHR with 3 more drives can" + echo -e "\n${Warning}WARNING${Off} Enabling SSD TRIM on drives in RAID 5, 6 or SHR with 3 more drives can" echo "result in data loss if the SSD/NVMe drives marks trimmed blocks as released." echo "SSDs that use Method 1 are okay. Do NOT enable TRIM for SSDs that use Method 2." echo "See Why_is_SSD_TRIM_available_only_for_SSDs_in_the_compatibility_list here:"