007revad / Synology_enable_M2_volume

Enable creating volumes with non-Synology M.2 drives
MIT License
534 stars 36 forks source link

Not working - 918+, DSM 7.2-64570 #102

Closed jerrell851 closed 1 year ago

jerrell851 commented 1 year ago

2023-08-11_204225

2023-08-11_203631

see picture.

007revad commented 1 year ago

Did storage manager see the NVMe drives before you ran the scripts?

jerrell851 commented 1 year ago

Did storage manager see the NVMe drives before you ran the scripts?

no.but syno_hdd_db.sh scripts can see.

007revad commented 1 year ago

Some people have had issues with 7.2 update 2 or 7.2 update 3 not seeing their NVMe drives.

Do you want to roll back to 7.2 update 1 and see if storage manager then shows your NVMe drives? You won't lose any settings or data.

  1. Run https://github.com/007revad/Synology_DSM_reinstall
  2. Do a manual DSM install of DSM 7.2 (with Update 1)
jerrell851 commented 1 year ago

Some people have had issues with 7.2 update 2 or 7.2 update 3 not seeing their NVMe drives.

Do you want to roll back to 7.2 update 1 and see if storage manager then shows your NVMe drives? You won't lose any settings or data.

  1. Run https://github.com/007revad/Synology_DSM_reinstall
  2. Do a manual DSM install of DSM 7.2 (with Update 1)

Followed the steps but the downgrade failed, including the script to upgrade to version 1.08. 1、run re-install scripts. 2023-08-13_000706-1

2、upload dsm os.(DS918+ 2023-08-13_001106-2

3、wait restart 2023-08-13_001228-3

4、After restarting, control panel information. 2023-08-13_000503-4

5、Run hdd.sh 2023-08-13_001625-5

6、run enable.sh 2023-08-13_002323-6

7、storage manager not NVMe drives 2023-08-13_002323-7

007revad commented 1 year ago

What does the following command return: sudo -i nvme list

Can you downgrade to DSM 7.2 (with Update 1) again but this time disable DSM Auto Updates and don't run the scripts.

  1. Disable any schedules you have that run the scripts.
  2. Disable DSM Auto Update via "Control Panel > Update & Restore > Update Settings > Notify me... > OK".
  3. Run https://github.com/007revad/Synology_DSM_reinstall
  4. Do a manual DSM install of DSM 7.2 (with Update 1)
  5. After the DS918+ has rebooted check if storage manager shows the NVMe drives.

If step 5 shows the NVMe drives, then run syno_hdd_db script.

007revad commented 1 year ago

Also, what does the following command return: ls /run/synostorage/disks

And these:

ls /run/synostorage/disks/nvme0n1
ls /run/synostorage/disks/nvme1n1
jerrell851 commented 1 year ago

以下命令返回什么: sudo -i nvme list

您能否再次降级到 DSM 7.2(更新 1),但这次禁用 DSM 自动更新并且不运行脚本。

  1. 禁用运行脚本的任何计划。
  2. 通过“控制面板”禁用 DSM 自动更新 > 更新和恢复>更新设置>通知我...> 好的”。
  3. 运行 https://github.com/007revad/Synology_DSM_reinstall
  4. 手动安装 DSM 7.2(更新 1)
  5. DS918+ 重新启动后,请检查存储管理器是否显示 NVMe 驱动器。

如果步骤 5 显示 NVMe 驱动器,则运行syno_hdd_db脚本。

Affected the use, test next time. But my downgrade steps are the same as you described, 1. disable automatic updates, 2. run the reinstall script, 3. manually install 7.2-64570-1-NanoPacked. However, the system information does not change to update 1.

007revad commented 1 year ago

I just tested downgrading from 7.2 Update 2 to 7.2 (with Update 1) and after it rebooted it had 7.2 Update 3 installed (even though I have DSM set to notify me instead of auto updating. It looks like Synology consider update 3 is a critical update and is forcing it on people when they update to DSM 7.2.

I might try it again but this time with my Internet disconnected so it can't update to Update 3.

Do you have a real DS918+ or is DSM running in expenology?

What do each of the following commands return:

sudo -i nvme list

ls /run/synostorage/disks

ls /run/synostorage/disks/nvme0n1

ls /run/synostorage/disks/nvme1n1

get_key_value /etc.defaults/synoinfo.conf support_m2_pool

get_key_value /etc/synoinfo.conf support_m2_pool

get_key_value /etc.defaults/synoinfo.conf supportnvme

get_key_value /etc/synoinfo.conf supportnvme

jerrell851 commented 1 year ago

i'm running expenology.

There is currently no 918 operating environment, so the command you gave cannot be tested.

007revad commented 1 year ago

There's a post on the xpenology forum here that says Peter Suh's M SHELL for TCRP FRIEND includes NVMe cache automatic recognition.

MeowPerth commented 1 year ago

image

I had the same problem and it didn't work properly after using the “Synology_enable_M2_volume”. At present, I am in the DSM 7.2-64570 Update 3 version. The information obtained by executing these commands is for your reference.

007revad commented 1 year ago

The 0 @ drive model is a problem. I've seen something similar in syno_hdd_db before.

I'll create a debug version of the script so we can see where it's getting that 0 @ drive model from.

MeowPerth commented 1 year ago

驱动器模型有问题。我以前在syno_hdd_db看到过类似的东西。0 @

我将创建脚本的调试版本,以便我们可以看到它从何处获取该驱动器模型。0 @

'0 @ 'should be the reason why the firmware of my hard disk has been flashed, which causes the HDD model to be recognized as '0 @'. However, this hard disk can be recognized and used normally, and DSM can also recognize and use it. image

MeowPerth commented 1 year ago

In addition, I would like to add some information: I also tried to use " Synology_M2_volume", and the script ran normally, but after restarting, it was the same as before, and M was not recognized.

007revad commented 1 year ago

Did the NVMe drive show in storage manager before you updated to DSM 7.2 Update 3?

Do the following commands list your NVMe drive?

ls /run/synostorage/disks

ls /sys/block | grep nvme

MeowPerth commented 1 year ago

在您更新到 DSM 7.2 更新 3 之前,NVMe 驱动器是否显示在存储管理器中?

以下命令是否列出您的 NVMe 驱动器?

ls /run/synostorage/disks

ls /sys/block | grep nvme

image None in synostorage, only HDD hard disk

007revad commented 1 year ago

Can you try running syno_hdd_db with the -n option

./volume/OS/Script/syno_hdd_db.sh -n

Then reboot.

MeowPerth commented 1 year ago

Can you try running syno_hdd_db with the -n option

./volume/OS/Script/syno_hdd_db.sh -n

Then reboot.

TTQARSIT9}T})VG)4_PJ@QB

NVME is also not working properly. PS: I added a SATA SSD "S100Pro 1TB" and it works.

007revad commented 1 year ago

Can you run this script and see if that makes the NVMe drive show in storage manager. https://github.com/AuxXxilium/arc-extensions/blob/main/nvmecache/all/usr/sbin/nvmecache.sh

download_button

MeowPerth commented 1 year ago

image image

It's working!It appears that “libsynonvme.so.1” must be modified.

007revad commented 1 year ago

Excellent