Jump to content
XPEnology Community

Enable NVME drives as storage with E10M20-T1 on DS1621+


Devious

Recommended Posts

Hi all,

 

I know this is not the right forum or even place to ask about my issue as its not related to XPEnology at all.
But all of research have lead me to this place alongside reddit posts that share similar properties, as I dived into this & much of my information/knowledge was obtained from here which helped me out tinkering with my box.
That being said here is what I've done so far, hopefully not in vein.

 

As titled,I own a DS1621+ NAS which has native NVME support, & following these guides :

 

- [[Guide] Use NVME SSD as storage volume instead of cache in DS918 : synology]
[How To: Create a usable pool/volume to use as storage using NVMe(s) in the M.2 slots on the DS920+ (and others) running DSM 7 : synology]

 

I was able to have built-in NVME drive configured as volume instead of cache & working flawlessly.
I've tried using the same approach with (E10M20-T1) card & it wont work at all, as soon as i create (/dev/mdX) & reboot, it gets deleted.

 

Then I've stumbled upon these :

 

- [NVMe cache support - Page 9 - DSM 6.x - XPEnology Community]
- [How to have DS3622xs recognize nvme SSD cache drive (Maybe works on other models). - Developer Discussion Room - XPEnology Community]

 

Based of posts above I've had no success with these methods :

 

  • Using patch (libNVME.sh) gave me an error (already patched?).
  • Patching (libsynonvme.so.1) was no-go as this file doesn't contain (hard coded PCI addresses) thus rendering above patch useless.
  • Was left with (/etc.defaults/extensionPorts) & (/etc/extensionPorts) & that didn't work even though files were present in my system (presume were created automatically when i installed the card), as i have changed values based of pci addresses I've found (/0000:08:04.0 - nvm0n1) & (/0000:08:08.0 - nvme1n1).

 

Any help would be great if I can use this card, or I'll have to (ebay)-it as return window is closed from amazon & would have to replace it with a supported model from Synology & shift these drives to internal bays.

 

Forgot to mention that I was able to enable the NIC card when I compiled needed driver based of my architecture & running perfectly :)

 

Here is all my info I could gather:

 

DS1621+
DSM 6.2.4-25556 Upadate 6

 

NAS:~# udevadm info /dev/nvme0n1
P: /devices/pci0000:00/0000:00:01.2/0000:07:00.0/0000:08:04.0/0000:0c:00.0/nvme/nvme0/nvme0n1
N: nvme0n1
E: DEVNAME=/dev/nvme0n1
E: DEVPATH=/devices/pci0000:00/0000:00:01.2/0000:07:00.0/0000:08:04.0/0000:0c:00.0/nvme/nvme0/nvme0n1
E: DEVTYPE=disk
E: ID_PART_TABLE_TYPE=dos
E: MAJOR=259
E: MINOR=0
E: PHYSDEVBUS=pci
E: PHYSDEVDRIVER=nvme
E: PHYSDEVPATH=/devices/pci0000:00/0000:00:01.2/0000:07:00.0/0000:08:04.0/0000:0c:00.0
E: SUBSYSTEM=block
E: SYNO_ATTR_SERIAL=XXXXXXXXXXXXX
E: SYNO_DEV_DISKPORTTYPE=INVALID
E: SYNO_INFO_PLATFORM_NAME=v1000
E: SYNO_KERNEL_VERSION=4.4
E: USEC_INITIALIZED=150484

NAS:~# udevadm info /dev/nvme1n1
P: /devices/pci0000:00/0000:00:01.2/0000:07:00.0/0000:08:08.0/0000:0d:00.0/nvme/nvme1/nvme1n1
N: nvme1n1
E: DEVNAME=/dev/nvme1n1
E: DEVPATH=/devices/pci0000:00/0000:00:01.2/0000:07:00.0/0000:08:08.0/0000:0d:00.0/nvme/nvme1/nvme1n1
E: DEVTYPE=disk
E: ID_PART_TABLE_TYPE=dos
E: MAJOR=259
E: MINOR=1
E: PHYSDEVBUS=pci
E: PHYSDEVDRIVER=nvme
E: PHYSDEVPATH=/devices/pci0000:00/0000:00:01.2/0000:07:00.0/0000:08:08.0/0000:0d:00.0
E: SUBSYSTEM=block
E: SYNO_ATTR_SERIAL=XXXXXXXXXXXXX
E: SYNO_DEV_DISKPORTTYPE=INVALID
E: SYNO_INFO_PLATFORM_NAME=v1000
E: SYNO_KERNEL_VERSION=4.4
E: USEC_INITIALIZED=150943

NAS:~# nvme list
Node             SN                   Model                                    Namespace Usage                      Format           FW Rev
---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
/dev/nvme0n1     XXXXXXXXXXXXX      Samsung SSD 980 PRO 1TB                  1          14.14  MB /   1.00  TB    512   B +  0 B   5B2QGXA7
/dev/nvme1n1     XXXXXXXXXXXXX      Samsung SSD 980 PRO 1TB                  1         253.77  GB /   1.00  TB    512   B +  0 B   5B2QGXA7
/dev/nvme2n1     XXXXXXXXXXXXX      SK hynix BC501 HFM256GDJTNG-8310A        1         256.06  GB / 256.06  GB    512   B +  0 B   80002C00

NAS:~# synonvme --is-nvme-ssd /dev/nvme0n1
It is a NVMe SSD
NAS:~# synonvme --is-nvme-ssd /dev/nvme1n1
It is a NVMe SSD
NAS:~# synonvme --m2-card-model-get /dev/nvme0n1
E10M20-T1
NAS:~# synonvme --m2-card-model-get /dev/nvme1n1
E10M20-T1
NAS:~# synonvme --model-get /dev/nvme0n1
Model name: Samsung SSD 980 PRO 1TB
NAS:~# synonvme --model-get /dev/nvme1n1
Model name: Samsung SSD 980 PRO 1TB

NAS:~# cat /etc/extensionPorts
[pci]
pci1="0000:00:01.2"
NAS:~# cat /etc.defaults/extensionPorts
[pci]
pci1="0000:00:01.2"

NAS:~# dmesg |grep nvme
[    5.963626] nvme nvme0: pci function 0000:0c:00.0
[    5.969004] nvme nvme1: pci function 0000:0d:00.0
[    5.974554] nvme nvme2: pci function 0000:0f:00.0
[    6.075975]  nvme0n1:
[    6.081266]  nvme1n1:
[    6.085386]  nvme2n1:

NAS:~# lspci -tvnnq
-[0000:00]-+-00.0  Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root Complex [1022:15d0]
           +-00.2  Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU [1022:15d1]
           +-01.0  Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452]
           +-01.1-[01-06]----00.0-[02-06]--+-00.0-[03]----00.0  Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168]
           |                               +-02.0-[04]----00.0  Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168]
           |                               +-06.0-[05]----00.0  Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168]
           |                               \-0e.0-[06]----00.0  Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168]
           +-01.2-[07-0e]----00.0-[08-0e]--+-00.0-[09]--
           |                               +-02.0-[0a]--
           |                               +-03.0-[0b]--
           |                               +-04.0-[0c]----00.0  Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO [144d:a80a]
           |                               +-08.0-[0d]----00.0  Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO [144d:a80a]
           |                               \-0c.0-[0e]----00.0  Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] [1d6a:07b1]
           +-01.3-[0f]----00.0  SK hynix BC501 NVMe Solid State Drive [1c5c:1327]
           +-01.5-[10]----00.0  JMicron Technology Corp. JMB58x AHCI SATA controller [197b:0585]
           +-01.6-[11]----00.0  JMicron Technology Corp. JMB58x AHCI SATA controller [197b:0585]
           +-08.0  Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452]
           +-08.1-[12]--+-00.0  Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function [1022:145a]
           |            +-00.2  Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor [1022:15df]
           |            +-00.3  Advanced Micro Devices, Inc. [AMD] Raven USB 3.1 [1022:15e0]
           |            +-00.4  Advanced Micro Devices, Inc. [AMD] Raven USB 3.1 [1022:15e1]
           |            +-00.5  Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor [1022:15e2]
           |            +-00.6  Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:15e3]
           |            \-00.7  Advanced Micro Devices, Inc. [AMD] Raven/Raven2/Renoir Non-Sensor Fusion Hub KMDF driver [1022:15e6]
           +-14.0  Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b]
           +-14.3  Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e]
           +-18.0  Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 0 [1022:15e8]
           +-18.1  Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 1 [1022:15e9]
           +-18.2  Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 2 [1022:15ea]
           +-18.3  Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3 [1022:15eb]
           +-18.4  Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 4 [1022:15ec]
           +-18.5  Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 5 [1022:15ed]
           +-18.6  Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 6 [1022:15ee]
           \-18.7  Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 7 [1022:15ef]

 

Please excuse my lengthy post & thank you for taking your time to view/read it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...