Jump to content

Synology DSM 7 drive lock bypass

Peppershade

Hallo
 

Welchen Dienst muss ich neu starten, damit ich nicht die gesamte Diskstation neu starten muss?

Ich möchte dies mit einem Skript automatisieren.

Sie können das Update in der GUI durchführen. Man müsste nur herausfinden, welcher Befehl ausgeführt wird. Unter Speicher-Manager -> HDD/SSD -> Einstellungen unten Laufwerksdatenbank aktualisieren.

Wenn ich die Schaltfläche verwende, wird die Datei mit dem Original überschrieben.

"disk_compatbility_info":{"MG08ACA16TE":{"0102":{compatibility_interval":[{"compatibility":"support"}]},"default":{"compatibility_interval":[{"compatibility":"support"}]}},"nas_model":"ds3622xs+"}
 

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 weeks later...

Hello!

I could use some help with editing the files for my 2421+.  I'm not a Linux guy and would love some guidance!  TIA!

Link to comment
Share on other sites

Link to post
Share on other sites

  • 3 weeks later...

Does anybody know which database file is used on Synology NAS so that newer Seagate IronWolf disks are recognized in the section IronWolf Health in Health Info on the Storage Manager? So I can add a newer IronWolf disk to it.

 

For example Seagate IronWolf 10TB ST10000VN0008-2JJ101 is recognized there, but the newer version ST10000VN0008-2PJ103 is not.

 

image.png.336457d96f3b01470632ed89d84a1245.png

Link to comment
Share on other sites

Link to post
Share on other sites

  • 3 weeks later...

I have been using NETGEAR Readynas Boxes in my home office for many years.
Was looking for another RN628x Box as a Backup System - to find out that NETGEAR
is out of this business - all NAS systems are EOL (end of life) 😞
Like other members of this forum, I have dozens of Enterprise Class Disks which I intended
to use in a SYNOLOGY RS4021xs (diskless).
I am not willing to throw away all the good disks and will use the "config file hacks" discussed here.
(I found hints in other forums but the only info was  "a hack in DSM is needed")

Thanks to Peppershade who provided *real* help here!

Link to comment
Share on other sites

Link to post
Share on other sites

Found an easier way to do this thanks to this comment here - 

Edit the file:

/etc.defaults/synoinfo.conf

Then find the option support_disk_compatibility and change it from yes to no

support_disk_compatibility="no"

Then reboot.

 

Side note: If anyone else is using this to make the E10M20-T1 work with unverified SSDs I find I often have to cold boot the NAS (RS2421+) to get the SSDs cache to show up.

 

Link to comment
Share on other sites

Link to post
Share on other sites

Thank you for this find. Lets see if this survives an update.

But even if not, this change is less of a hassle!

Link to comment
Share on other sites

Link to post
Share on other sites

  • 4 months later...

Hi guys, I wrote a little python script to adjust the drive compatibility list by a scheduled task.

Feedback is highly appreciated.

 

#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
    Python script to add unsupported drives to the synology compatibility lists
    (c) 2022 Kevin Schmitt
"""

import json
import os

# Add your desired models with firmware here
models = {
    'ST16000NM001G-2KK103': ['SN03'],
    'CT2000MX500SSD1': ['M3CR045']
}

compatibilityDirectory = '/var/lib/disk-compatibility/'
#compatibilityDirectory = '/var/services/homes/mdadmin/disk-compatibility/'


for file in os.listdir(os.fsencode(compatibilityDirectory)):
    filename = os.fsdecode(file)
    if filename.endswith(".db") or filename.endswith(".db.new"): 
        compatibilityFileName = os.path.join(compatibilityDirectory, filename)

        fileHandle = open(compatibilityFileName)
        jsonObject = json.load(fileHandle)
        fileHandle.close()
        
        if not 'disk_compatbility_info' in jsonObject:
            continue
        
        print('Found compatbility file: ' + compatibilityFileName)
        compatibilityList = jsonObject['disk_compatbility_info']

        for model in models:
            print('Checking model presence: ' + model)
            if not model in compatibilityList:
                print('Model is not on the compatibility list, we add it now.')
                compatibilityList[model] = {
                  "default":{
                     "compatibility_interval":[
                        {
                           "compatibility":"support"
                        }
                     ]
                  }
               }
               
            for firmware in models[model]:
                print('Checking firmware presence: ' + firmware)
                if not firmware in compatibilityList[model]:
                    print('Firmware is not on the compatibility list, we add it now.')
                    compatibilityList[model][firmware] = {
                        "compatibility_interval": [
                            {
                               "compatibility":"support"
                            }
                        ]
                    }
                    
        with open(compatibilityFileName, 'w') as outfile:
            json.dump(jsonObject, outfile)

 

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 weeks later...

To make DSM recognize the changed DB without reboot:

 

/usr/syno/sbin/synostgdisk --check-all-disks-compatibility

 

@kevinschmitt maybe you can add it to your script, this would make it work without reboot

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 weeks later...
On 8/3/2022 at 1:25 AM, Neonkoala said:

Found an easier way to do this thanks to this comment here - 

Edit the file:

/etc.defaults/synoinfo.conf

Then find the option support_disk_compatibility and change it from yes to no

support_disk_compatibility="no"

Then reboot.

 

Side note: If anyone else is using this to make the E10M20-T1 work with unverified SSDs I find I often have to cold boot the NAS (RS2421+) to get the SSDs cache to show up.

 

This solution worked for me on the DS3622xs+ main unit but not on its DX1222 extension. Have any of you found a solution for the error that remains on the expansion units? thank you all

Link to comment
Share on other sites

Link to post
Share on other sites

  • 4 weeks later...
On 8/10/2022 at 2:31 AM, Kodon said:

Thank you for this find. Lets see if this survives an update.

But even if not, this change is less of a hassle!

For my RS3621RPxs,   changing of   support_disk_compatibility="no"   in  /etc.defaults/synoinfo.conf 

 

did not survive an update to  DSM 7.1.1-42962 Update 4

 

But I changed it back then rebooted without problems 👍

Link to comment
Share on other sites

Link to post
Share on other sites

On 1/23/2023 at 10:57 PM, Maxita said:

This solution worked for me on the DS3622xs+ main unit but not on its DX1222 extension. Have any of you found a solution for the error that remains on the expansion units? thank you all

I have a DX1222 connected to a DS2422+.  While the synoinfo.conf trick works for the DS2422+, the DX requires the old fashioned disk-compatibility trick.  what worked for me:

 

you need to add entries to the db files for the main unit & the expansion.  syntax that worked for DSM 7.1.1-42962 Update 4 was:

 

"WD141KFGX-68FH9N0":{"83.00A83":{"compatibility_interval":[{"compatibility":"support","not_yet_rolling_status":"support","fw_dsm_update_status_notify":false,"barebone_installable":true}]},"default":{"compatibility_interval":[{"compatibility":"support","not_yet_rolling_status":"support","fw_dsm_update_status_notify":false,"barebone_installable":true}]}},

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 months later...

update to dsm 7.2 support_disk_compatibility="no"  is not working.

 

Have anyone  Found a New Way fix this issues.

 

Thanks

Link to comment
Share on other sites

Link to post
Share on other sites

I Heard that on DSM 7.2 it shows the warning, about the compatibility, but the third party hdd are working without any intervention, is it true?

I want to buy synology rs3621xs+ and and some DC HC550 18TB HDDs for it. But was wondering, if hacking whitelist is still the only option to get it going.

   
 
 
 
Spoiler
CPU : Intel 14gen i7-14700K
COOLER :  Thermalright Peerless Assassin 120 White + thermaltake toughfan 12 white + Thermal Grizzly - CPU Contact Frame Intel 13./14. +  Coollaboratory Liquid Ultra
GPU : MSI RTX 2070 Armor @GPU 2050MHz Mem 8200MHz -> USB C 10Gb/s cable 2m -> Unitek 4x USB HUB 10 Gb/s (Y-HB08003)
MOBO : MSI MEG Z690 UNIFY
RAM :  Corsair VENGEANCE DDR5 RAM 64 GB (2 x 32 GB) 6400 MHz CL32 (CMK64GX5M2B6400C32)
SSD : Intel Optane 905P 960GB U.2 (OS) + 2 x WD SN850X 4TB + 2 x PNY CS3140 2TB + ASM2824 PCIe switch -> 4 x Plextor M8PeG 1TB + flexiDOCK MB014SP-B -> Crucial MX500 2TB + GoodRam Iridium PRO 960GB + Samsung 850 Pro 512GB
HDD : WD White 18TB WD180EDFZ + SATA port multiplier adp6st0-j05 (JMB575) ->  WD Gold 8TB WD8002FRYZ + WD Gold 4TB WD4002FYYZ + WD Red PRO 4TB WD4001FFSX + WD Green 2TB WD20EARS
EXTERNAL
HDD/SSD : 
XT-XINTE LM906 (JMS583) -> Plextor M8PeG 1TB + WD My Passport slim 1TB + LaCie Porsche Design Mobile Drive 1TB USB-C + Zalman ZM-VE350 -> Goodram IRDM PRO 240GB
PSU :  Super Flower leadex platinum 750 W biały -> Bitfenix alchemy extensions białe/białe + AsiaHorse 16AWG White 
UPS :  CyberPower CP1500EPFCLCD -> Brennenstuhl primera-line 8 -> Brennenstuhl primera-line 10
LCD :  LG 32UD59-B + LG flatron IPS236 -> Silverstone SST-ARM11BC
CASE :  Fractal R5 Biały + Lian Li BZ-H06A srebrny + 6 x Thermaltake toughfan 14 white + Thermalright TL-B8W
SPEAKERS :  Aune S6 Pro -> Topping PA3-B -> Polk S20e black -> Monoprice stand 16250
HEADPHONES :  TOSLINK 2m -> Aune S6 Pro -> 2 x Monoprice Premier 1.8m 16AWG 3-pin XLR -> Monoprice Monolith THX AAA 887 -> 4-pin XLR na 2 x 3.5mm 16 cores OCC 2m Cable -> HiFiMAN Edition XS -> sheepskin pads + 4-pin XLR na 2 x 2.5mm ABLET silver 2m  Cable -> Monoprice Monolith M1060 + Brainwavz HM100 -> Brainwavz sheepskin oval pads + Wooden double Ɪ Stand + Audio-Technica ATH-MSR7BK -> sheepskin pads + Multibrackets MB1893 + Sennheiser Momentum 3 +  Philips Fidelio X2HR/00 + JBL J88 White
MIC :  Tonor TC30 -> Mozos SB38
KEYBOARD : Corsair STRAFE RGB Cherry MX Silent (EU) + Glorious PC Gaming Race Stealth Slim - Full Size Black + PQI MyLockey
MOUSE :  Logitech MX ERGO + 2 x Logitech MX Performance + Logitech G Pro wireless + Logitech G Pro Gaming -> Hotline Games 2.0 Plus + Corsair MM500 3xl + Corsair MM300 Extended + Razer goliathus control
CONTROLLERS :  Microsoft xbox series x controller pc (1VA-00002) -> brainwavz audio Controller Holder UGC2 + Microsoft xbox 360 wireless black + Ravcore Javelin
NET :  Intel x520-DA2 -> 2 x FTLX8571D3BCV-IT + 2 x ASUS ZenWiFi Pro XT12
NAS :  Qnap TS-932X-2G -> Noctua NF-P14s redux 1200 PWM -> Kingston 16GB 2400Mhz CL14 (HX424S14IB/16) -> 9 x Crucial MX500 2TB ->  2 x FTLX8571D3BCV-IT -> 2 x Digitus (DK-HD2533-05/3)
Link to comment
Share on other sites

Link to post
Share on other sites

  • 3 weeks later...
On 5/5/2023 at 5:50 AM, kokosnh said:

I Heard that on DSM 7.2 it shows the warning, about the compatibility, but the third party hdd are working without any intervention, is it true?

I want to buy synology rs3621xs+ and and some DC HC550 18TB HDDs for it. But was wondering, if hacking whitelist is still the only option to get it going.

The xs and xs+ models will work with any brand drives but in storage manager, and at boot up, there will be warnings that make you think your storage pool is degraded. The https://github.com/007revad/Synology_HDD_db script prevents them.

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 weeks later...

 

Quote

support_disk_compatibility="no" 

Config File Hack Confirmed works on a FS2500 1U Rack Unit with Latest: DSM 7.1.1-42962 Update 5

DSM 7.2 doesn't seem available to me.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×