[GH-ISSUE #281] 怎么获取nvme硬盘ID? #102

Closed
opened 2026-03-07 19:15:32 +03:00 by kerem · 2 comments
Owner

Originally created by @tpc188 on GitHub (Apr 17, 2024).
Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/281

由于安装的nvme硬盘不能识别固件版本,需要添加id到syno_hdd_vendor ids txt,请教这个id如何获取?
https://github.com/007revad/Synology_HDD_db/raw/main/images/vendor_ids.png

Originally created by @tpc188 on GitHub (Apr 17, 2024). Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/281 由于安装的nvme硬盘不能识别固件版本,需要添加id到syno_hdd_vendor ids txt,请教这个id如何获取? https://github.com/007revad/Synology_HDD_db/raw/main/images/vendor_ids.png
kerem closed this issue 2026-03-07 19:15:32 +03:00
Author
Owner

@007revad commented on GitHub (Apr 17, 2024):

When you run the script it will show you the vendor id.

Or you can run this command via SSH:

sudo -i nvme id-ctrl /dev/nvme0n1 | grep -E ^vid | awk '{print $NF}'

I fixed the link in you comment. GitHub had broken it.

<!-- gh-comment-id:2060591574 --> @007revad commented on GitHub (Apr 17, 2024): When you run the script it will show you the vendor id. Or you can run this command via SSH: ``` sudo -i nvme id-ctrl /dev/nvme0n1 | grep -E ^vid | awk '{print $NF}' ``` I fixed the link in you comment. GitHub had broken it.
Author
Owner

@tpc188 commented on GitHub (Apr 22, 2024):

非常感谢你的解答!

<!-- gh-comment-id:2068626542 --> @tpc188 commented on GitHub (Apr 22, 2024): 非常感谢你的解答!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Synology_HDD_db#102
No description provided.