Jump to content
XPEnology Community

Use nvme/m.2 hard drives as storage pools in Synology


yanjun

Recommended Posts

Everyone knows that the DS923+ model supports using nvme hard drives as storage pools. By comparing synoinfo.conf, I found that this option is the key to enabling this feature.

support_m2_pool="yes"

I used sa6400 for testing, I can indeed see the nvme hard disk in the hard disk list, but when I try to add him as a storage pool, I encountered an annoying compatibility reminder, as shown below, I also Try to turn off the hard disk compatibility option through the following configuration,

support_disk_compatibility="no"


I also added the model and compatibility support of my corresponding hard drive to almost all files in the /var/lib/disk-compatibility directory, but the page still has a compatibility report, anyone have any better suggestions?

image.thumb.png.b29af8143e7b194105f04bf756eeb72b.png

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Hi!

 

I have disabled the nvme storage pool limit. Only the Synology nvme ssd device is allowed to use the storage pool.

 

DS923+ 7.1.1 42962 update 4
/lib64/libhwcontrol.so
search : 1EFA803E00B8010000007520
replace: 1EFA803E00B8010000009090

 

 

nvme.thumb.png.9830b0ebd144c746c06676728660f1c7.png

 

Edited by K4L0
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
On 3/7/2023 at 5:48 AM, K4L0 said:

DS923+ 7.1.1 42962 update 4
/lib64/libhwcontrol.so
search : 1EFA803E00B8010000007520
replace: 1EFA803E00B8010000009090

On DS1821+ 7.2 beta I only found 1e fa 55 48 8d 35 53 17 0b 00 48 89 in /usr/lib/libhwcontrol.so.1

 

I replaced 48 89 with 90 90 and when I tried to reboot DSM said SSD Cache Advisor was running... but it wasn't and I never started SDD Cache Advisor. So I changed the 90 90 back to 48 89 and was able to restart the NAS.

 

I think I'll stick with my https://github.com/007revad/Synology_M2_volume script that allows any Synology with M.2 slots running DSM 7 or later to create a volume on NVMe drives.

Edited by 007revad
registration posted my reply before I could type anything
Link to comment
Share on other sites

DS1821+ 7.2 Beta 64216
/usr/lib/libhwcontrol.so.1
orig sha1: 66a8294bea506b0e7ff40b1758e331295be5f334
search : 747E803E00B8010000007524
replace: 747E803E00B8010000009090

echo "2F302: 9090" | xxd -r - /usr/lib/libhwcontrol.so.1
 

72.thumb.jpg.ef8fc21c1b4fa473872b93aff64dfe27.jpg

  • Like 3
Link to comment
Share on other sites

Thank you.

 

Out of those 2 samples, DS923+ 7.1.1 42962 update 4 and DS1821+ 7.2 Beta 64216, I notice that they both have:

 

80 3E 00 B8 01 00 00 00 75

 

I'll check some other models, and other DSM versions to see if they all have 80 3E 00 B8 01 00 00 00 75

 

If they do it would be easy to search for 80 3E 00 B8 01 00 00 00 75 ?? and  replace it with 80 3E 00 B8 01 00 00 00 90 90

Link to comment
Share on other sites

On 3/27/2023 at 6:49 PM, K4L0 said:

DS1821+ 7.2 Beta 64216

 

I'm writing a script so other Synology users can run the script and it will backup then edit the libhwcontrol.so.1 file for them.

 

Is the correct string of bytes to edit always going to end in 752x? Like "803E 00B8 0100 0000 752x"

 

Or is it always going to be the first one of the 2 hex strings that match "803E 00B8 0100 0000 75"?

 

# Searching for 803E 00B8 0100 0000 75:

ds1821_7.1.1-42218_libhwcontrol.so.1
335382 = 51e16
00051e14: 747A 803E 00B8 0100 0000 7520            tz.>......u
335678 = 51f3e
00051f3c: 7452 803E 00B8 0100 0000 7508            tR.>......u.

rs4021_7.1.1_42962_libhwcontrol.so.1
181950 = 2c6be
0002c6bc: 1EFA 803E 00B8 0100 0000 7520            ...>......u
182242 = 2c7e2
0002c7e0: 744E 803E 00B8 0100 0000 7504            tN.>......u.

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...
  • 3 weeks later...

Hi how can i install xpenology on mini pc gigabyte brix only on nvme ssd drive. I used loader for ds923+ but it didn't show nvme at all and I can't install it because I can't use hdd. I want to use it for a web server. I would be grateful for any idea how to rewrite the installation config file to see nvme regardless of manufacturer.

Link to comment
Share on other sites

5 hours ago, Rumen said:

Hi how can i install xpenology on mini pc gigabyte brix only on nvme ssd drive. I used loader for ds923+ but it didn't show nvme at all and I can't install it because I can't use hdd. I want to use it for a web server. I would be grateful for any idea how to rewrite the installation config file to see nvme regardless of manufacturer.

 

Does gigabyte brix have the following specifications?

 

2023-05-211_21_31.png.5937792b41822a2bdef546666088e6c5.png

 

2023-05-211_22_19.thumb.png.6478c1e4599a6d12cfb438a7581bc55e.png

 

 

There are solutions as below that can make M.2 NVMe volume.


( DSM 6 ~ DSM 7.2 Synology/Xhenology Universal Version )
https://github.com/007revad/Synology_M2_volume/tree/main


(XHenology exclusive version for DSM 7)
https://github.com/AuxXxilium/arc-addons/blob/main/nvmeenable/all/usr/bin/nvmeenable.sh

 

However, in order to use this solution M.2 NVMe should not be a single disk.


According to the above specifications, it is said that the old M.2 SATA, not M.2 NVMe, can be installed.
If it is M.2 SATA, it will be recognized as a volume in the first place without any solution as above.
With both M.2 SATA and M.2 NVMe installed
Please install DSM on M.2 SATA and later apply the above solution to make M.2 NVMe a volume and use it as the second volume.


For now, this seems like the only way.

Edited by Peter Suh
Link to comment
Share on other sites

Thanks for information, I have GB-BRi7H-10710, and don't have sata cable and no space for install sata hard drive.

CPU

10th Generation Intel® Core™ i7 Processor

i7-10710U 4.7GHz, 6 core (TDP 15W)

Memory

2 x SO-DIMM DDR4 slot

2666MHz

Max. 64GB

LAN

Gigabit LAN (Intel i219v)

Wifi Card

Intel® Dual Band Wireless-AC 3168

Graphics

Intel® UHD Graphics 620

Audio

Realtek ALC255

HDMI Resolution (Max.)

HDMI 2.0 : 4K (3840×2160) @ 60 Hz

Storage

Supports 2.5" HDD/SSD, 7.0/9.5 mm thick (1 x 6 Gbps SATA 3)

1 x M.2 SSD (2280) slot support PCI-e x4 /SATA

Expansion Slots

1 x PCIe M.2 NGFF 2230 A-E key slot occupied by the WiFi+BT card

Front I/O

3 x USB 3.2 Gen 2

1 x USB 3.2 Gen 2 Type C

1 x Headphone / Mic Jack

1 x Power Button

Rear I/O

2 x HDMI 2.0

2 x USB 3.2 Gen 2

1 x RJ45

1 x DC-In

 

I know that in principle I have to install a hdd and then nvme partitions can be created with the hack, but this action is impossible for me, and will it be possible to install the software via usb external hdd and then install the hack for nvme

20230307_175524.jpg

Link to comment
Share on other sites

3 hours ago, apriliars3 said:

@Rumen You can install Vmware on Windows, VirtualBox on linux, Proxmox, etc. and install virtual machine with DSM and use phisical drives on usb (I use microsd over usb 3.0 without issues).

 

Other possibility, Arc loader include new addon for adding nvme as storage. You can test it.

 

Can Arc Loader volume up in Junior state with just one NVMe disk?
I also tried scripts related to arc's NVMe addon in TCRP Junior.
https://github.com/AuxXxilium/arc-addons/tree/main/nvmeenable
The most important /usr/lib/libhwcontrol.so.1 file does not yet exist in the Junior phase.
Exactly which Addon did you have success with?

Link to comment
Share on other sites

5 hours ago, Rumen said:

Thanks for information, I have GB-BRi7H-10710, and don't have sata cable and no space for install sata hard drive.

CPU

10th Generation Intel® Core™ i7 Processor

i7-10710U 4.7GHz, 6 core (TDP 15W)

Memory

2 x SO-DIMM DDR4 slot

2666MHz

Max. 64GB

LAN

Gigabit LAN (Intel i219v)

Wifi Card

Intel® Dual Band Wireless-AC 3168

Graphics

Intel® UHD Graphics 620

Audio

Realtek ALC255

HDMI Resolution (Max.)

HDMI 2.0 : 4K (3840×2160) @ 60 Hz

Storage

Supports 2.5" HDD/SSD, 7.0/9.5 mm thick (1 x 6 Gbps SATA 3)

1 x M.2 SSD (2280) slot support PCI-e x4 /SATA

Expansion Slots

1 x PCIe M.2 NGFF 2230 A-E key slot occupied by the WiFi+BT card

Front I/O

3 x USB 3.2 Gen 2

1 x USB 3.2 Gen 2 Type C

1 x Headphone / Mic Jack

1 x Power Button

Rear I/O

2 x HDMI 2.0

2 x USB 3.2 Gen 2

1 x RJ45

1 x DC-In

 

I know that in principle I have to install a hdd and then nvme partitions can be created with the hack, but this action is impossible for me, and will it be possible to install the software via usb external hdd and then install the hack for nvme

20230307_175524.jpg

 

 

According to the manual, your GB-BRi7H-10710 is
If you remove the bottom panel, it says that you can mount one 2.5-inch disk on the back. Lost your dedicated Sata cable?

 

 

2023-05-219_45_59.thumb.png.4b728f4c0ebda881327a13943dfe6b22.png

Edited by Peter Suh
Link to comment
Share on other sites

3 hours ago, Rumen said:

Thanks, I'll try Arc loader, I don't want to use linux, windows or vmware so I don't waste resources.

 

When you NUC or machine has a lot of resources, it is better.

 

DSM can you take like docker with Unraid, for example. And the rest of resources with other Virtual Machines.

 

On baremetal, I don´t know if nvme is possible, only know that there are some scripts or addon with Arc, and you can test 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...