Comments (29)
A couple of people have reported that they needed to run the script and reboot, 2 or 3 times to get their NVMe drives back.
Try the following command:
sudo -i synostorage --unlock-disk /dev/nvme0
Then reboot.
Apparently it can take a few hours for things to appear normal.
from synology_hdd_db.
Did you do the Online Assemble that the warning mentioned?
See how to do an online assemble
from synology_hdd_db.
@007revad No, because online assemble only available to the "available storage pool" That option wasn't there
from synology_hdd_db.
Try running the script again then rebooting.
from synology_hdd_db.
@jk1z not responding.
from synology_hdd_db.
@007revad Hi I have tried downloading new binary and run it. Still no luck. I have even taken the nvme drive out and format it.
from synology_hdd_db.
I think it's stuck in a place where it's "in" the storage pool config. However, because it's not in the UI, I cannot remove it and then repair it
from synology_hdd_db.
Is there a way you know I can ssh and remove the ssd disk storage config
from synology_hdd_db.
I have even taken the nvme drive out and format it.
As you have no data on the drive now you could try https://github.com/007revad/Synology_M2_volume which will create the DSM system and swap partitions and create a storage pool. After a reboot the online assemble option should appear.
from synology_hdd_db.
@007revad I'm getting this error :'(
from synology_hdd_db.
from synology_hdd_db.
DSM thinks that NVMe drive is part of a cache group. Maybe a read/write cache with 1 NVMe drive missing.
Did you previously have a cache setup for volume 1?
If you go to "Storage Manager > Storage" and click on "Create > Volume" is the NVMe drive available?
from synology_hdd_db.
Yes, I have in DSM 7.2.1 Update 2. but once upgraded to update 3 the nvme drive disappeared in the cache group.
from synology_hdd_db.
from synology_hdd_db.
A couple of people have reported that they needed to run the script and reboot, 2 or 3 times to get their NVMe drives back.
Try the following command:
sudo -i synostorage --unlock-disk /dev/nvme0
Then reboot.
Apparently it can take a few hours for things to appear normal.
when you referring to the script which script is it? use nvme as sdd drive or adding third party nvme to the db?
from synology_hdd_db.
Still no luck but I will perform a data scrubbing to see if it does any good
from synology_hdd_db.
when you referring to the script which script is it? use nvme as sdd drive or adding third party nvme to the db?
The syno_hdd_db script.
from synology_hdd_db.
The syno_hdd_db script.
I have tried 5 times. The drive still stuck in the detected state. And I cannot reassemble it
from synology_hdd_db.
You could try shutting down the NAS, remove the NVMe drive, bootup, shut down, insert NVMe drive and boot up to see if it clears the error.
What do the following commands return?
sudo nvme list
udevadm info /dev/nvme0n1
cat /proc/mdstat | grep -E -A 2 'nvme|unused'
ls /run/synostorage/disk_cache_target
for f in $(ls /run/synostorage/disks/nvme0n1); do echo -n "${f}: " && cat /run/synostorage/disks/nvme0n1/$f && echo; done
from synology_hdd_db.
Yesterday, a user using DS918+ was already using two Micron 1100 SSD 2TB products included in the compatibility list from Synology, but there was an issue where a problem occurred after the drive database information was updated.
For detailed inquiries, we will contact you as a separate issue.
It seems to me that this issue is also relevant.
This problem seems to have occurred due to a merge update to DB information already included in the compatibility list.
from synology_hdd_db.
for f in
$(ls /run/synostorage/disks/nvme0n1); do echo -n "$ {f}: " && cat /run/synostorage/disks/nvme0n1/$f && echo; done
ash-4.4# sudo nvme list
Node SN Model Namespace Usage Format FW Rev
---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
/dev/nvme0n1 S3X4NB0K300311M Samsung SSD 960 EVO 500GB 1 118.24 GB / 500.11 GB 512 B + 0 B 3B7QCXE7
/dev/nvme0n1p1 S3X4NB0K300311M Samsung SSD 960 EVO 500GB 1 118.24 GB / 500.11 GB 512 B + 0 B 3B7QCXE7
/dev/nvme0n1p2 S3X4NB0K300311M Samsung SSD 960 EVO 500GB 1 118.24 GB / 500.11 GB 512 B + 0 B 3B7QCXE7
/dev/nvme0n1p3 S3X4NB0K300311M Samsung SSD 960 EVO 500GB 1 118.24 GB / 500.11 GB 512 B + 0 B 3B7QCXE7
ash-4.4# udevadm info /dev/nvme0n1
P: /devices/pci0000:00/0000:00:1b.0/0000:01:00.0/nvme/nvme0/nvme0n1
N: nvme0n1
E: DEVNAME=/dev/nvme0n1
E: DEVPATH=/devices/pci0000:00/0000:00:1b.0/0000:01:00.0/nvme/nvme0/nvme0n1
E: DEVTYPE=disk
E: MAJOR=259
E: MINOR=0
E: PHYSDEVBUS=pci
E: PHYSDEVDRIVER=nvme
E: PHYSDEVPATH=/devices/pci0000:00/0000:00:1b.0/0000:01:00.0
E: SUBSYSTEM=block
E: SYNO_ATTR_SERIAL=S3X4NB0K300311M
E: SYNO_DEV_DISKPORTTYPE=CACHE
E: SYNO_INFO_PLATFORM_NAME=apollolake
E: SYNO_KERNEL_VERSION=4.4
E: SYNO_SUPPORT_USB_PRINTER=yes
E: SYNO_SUPPORT_XA=no
E: TAGS=:systemd:
E: USEC_INITIALIZED=973961
ash-4.4# cat /proc/mdstat | grep -E -A 2 'nvme|unused'
unused devices: <none>
ash-4.4# ls /run/synostorage/disk_cache_target
ash-4.4# for f in $(ls /run/synostorage/disks/nvme0n1); do echo -n "${f}: " && cat /run/synostorage/disks/nvme0n1/$f && echo; done
adv_damage_weight: 0
adv_status: not_support
bad_sec_ct: -1
below_remain_life_mail_notify_thr: 0
below_remain_life_show_thr: 0
below_remain_life_thr: 0
compatibility: disabled
compatibility_action: {"alert":false,"hide_alloc_status":false,"hide_is4Kn":false,"hide_remain_life":false,"hide_sb_days_left":false,"hide_serial":false,"hide_temperature":false,"hide_unc":false,"notification":false,"notify_health_status":true,"notify_lifetime":true,"notify_unc":true,"selectable":true,"send_health_report":true,"show_lifetime_chart":true,"ui_compatibility":"support"}
compatibility.lock:
container:
critical_warning: 0
dsl_cmd_support: 0
erase_time: 1
firm: 3B7QCXE7
firm_status_from_db: do_nothing
firm_status_from_db.lock:
force_compatibility: support
id: M.2 Drive 1
ironwolf: 0
is_bundle_ssd: 0
is_syno_drive: 1
low_perf_in_raid: normal
low_perf_in_raid_disk_list:
m2_pool_support: 1
mask_serial: 0
model: Samsung SSD 960 EVO 500GB
predict_status: not_support
predict_weight: 0
read_only: 0
remain_life: 99
remain_life_danger: 0
reset_fail_status: normal
reset_fail_weight: 0
sct_cmd_support: 0
seq_status: normal
serial: S3X4NB0K300311M
smart: normal
smart_attr_ignore: 1
smart_damage_weight: 0
smart_selftest_log_type: 0
smart_test_ignore: 1
smart_test_support: 0
ssd_bad_block_over_thr: 0
temperature: 32
timeout_status: normal
timeout_weight: 0
type: SSD
ui_serial: S3X4NB0K300311M
unc_status: normal
unc_weight: 0
vendor: Samsung
wdda_status: not_support
wdda_support: 0
from synology_hdd_db.
These 2 stand out to me:
compatibility: disabled
is_syno_drive: 1
Have you previously run Synology_enable_M2_volume?
What do these commands return?
ls -l /usr/lib/libhwcontrol.so.*
md5sum -b /usr/lib/libhwcontrol.so.1
The last command should return:
afdcbf2ca3aa188cd363e276a1f89754 */usr/lib/libhwcontrol.so.1
Also try the following:
- Disable any syno_hdd-db schedules you have.
- Run
sudo -i syno_hdd_db.sh --restore
then reboot. - Run this version of syno_hdd_db.sh with the -nr options: https://github.com/007revad/Synology_HDD_db/releases/tag/v3.3.74
from synology_hdd_db.
Have you previously run Synology_enable_M2_volume?
I don't think so. Should I?
from synology_hdd_db.
Looks like this file has been modified
from synology_hdd_db.
I will restore all of the files and try v3.3.74
from synology_hdd_db.
These 2 stand out to me:
compatibility: disabled
is_syno_drive: 1Have you previously run Synology_enable_M2_volume?
What do these commands return?
ls -l /usr/lib/libhwcontrol.so.*
md5sum -b /usr/lib/libhwcontrol.so.1
The last command should return:
afdcbf2ca3aa188cd363e276a1f89754 */usr/lib/libhwcontrol.so.1
Also try the following:
- Disable any syno_hdd-db schedules you have.
- Run
sudo -i syno_hdd_db.sh --restore
then reboot.- Run this version of syno_hdd_db.sh with the -nr options: https://github.com/007revad/Synology_HDD_db/releases/tag/v3.3.74
I did the following. It still stuck
from synology_hdd_db.
I ran the debug commands again. Here is the output.
overlord@Synology:~$ overlord@Synology:~$ sudo nvme list
Password:
Node SN Model Namespace Usage Format FW Rev
---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
/dev/nvme0n1 S3X4NB0K300311M Samsung SSD 960 EVO 500GB 1 118.24 GB / 500.11 GB 512 B + 0 B 3B7QCXE7
/dev/nvme0n1p1 S3X4NB0K300311M Samsung SSD 960 EVO 500GB 1 118.24 GB / 500.11 GB 512 B + 0 B 3B7QCXE7
/dev/nvme0n1p2 S3X4NB0K300311M Samsung SSD 960 EVO 500GB 1 118.24 GB / 500.11 GB 512 B + 0 B 3B7QCXE7
/dev/nvme0n1p3 S3X4NB0K300311M Samsung SSD 960 EVO 500GB 1 118.24 GB / 500.11 GB 512 B + 0 B 3B7QCXE7
overlord@Synology:~$ udevadm info /dev/nvme0n1
P: /devices/pci0000:00/0000:00:1b.0/0000:01:00.0/nvme/nvme0/nvme0n1
N: nvme0n1
E: DEVNAME=/dev/nvme0n1
E: DEVPATH=/devices/pci0000:00/0000:00:1b.0/0000:01:00.0/nvme/nvme0/nvme0n1
E: DEVTYPE=disk
E: MAJOR=259
E: MINOR=0
E: PHYSDEVBUS=pci
E: PHYSDEVDRIVER=nvme
E: PHYSDEVPATH=/devices/pci0000:00/0000:00:1b.0/0000:01:00.0
E: SUBSYSTEM=block
E: SYNO_ATTR_SERIAL=S3X4NB0K300311M
E: SYNO_DEV_DISKPORTTYPE=CACHE
E: SYNO_INFO_PLATFORM_NAME=apollolake
E: SYNO_KERNEL_VERSION=4.4
E: SYNO_SUPPORT_USB_PRINTER=yes
E: SYNO_SUPPORT_XA=no
E: TAGS=:systemd:
E: USEC_INITIALIZED=382185
overlord@Synology:~$ cat /proc/mdstat | grep -E -A 2 'nvme|unused'
unused devices: <none>
overlord@Synology:~$ ls /run/synostorage/disk_cache_target
overlord@Synology:~$ for f in $(ls /run/synostorage/disks/nvme0n1); do echo -n "${f}: " && cat /run/synostorage/disks/nvme0n1/$f && echo; done
adv_damage_weight: 0
adv_status: not_support
bad_sec_ct: -1
below_remain_life_mail_notify_thr: 0
below_remain_life_show_thr: 0
below_remain_life_thr: 0
compatibility: disabled
compatibility_action: {"alert":false,"hide_alloc_status":false,"hide_is4Kn":false,"hide_remain_life":false,"hide_sb_days_left":false,"hide_serial":false,"hide_temperature":false,"hide_unc":false,"notification":false,"notify_health_status":true,"notify_lifetime":true,"notify_unc":true,"selectable":true,"send_health_report":true,"show_lifetime_chart":true,"ui_compatibility":"support"}
compatibility.lock:
container:
critical_warning: 0
dsl_cmd_support: 0
erase_time: 1
firm: 3B7QCXE7
firm_status_from_db: do_nothing
firm_status_from_db.lock:
force_compatibility: support
id: M.2 Drive 1
ironwolf: 0
is_bundle_ssd: 0
is_syno_drive: 1
low_perf_in_raid: normal
low_perf_in_raid_disk_list:
m2_pool_support: 1
mask_serial: 0
model: Samsung SSD 960 EVO 500GB
predict_status: not_support
predict_weight: 0
read_only: 0
remain_life: 99
remain_life_danger: 0
reset_fail_status: normal
reset_fail_weight: 0
sct_cmd_support: 0
seq_status: normal
serial: S3X4NB0K300311M
smart: normal
smart_attr_ignore: 1
smart_damage_weight: 0
smart_selftest_log_type: 0
smart_test_ignore: 1
smart_test_support: 0
ssd_bad_block_over_thr: 0
temperature: 31
timeout_status: normal
timeout_weight: 0
type: SSD
ui_serial: S3X4NB0K300311M
unc_status: normal
unc_weight: 0
vendor: Samsung
wdda_status: not_support
wdda_support: 0
from synology_hdd_db.
I should have asked if you were using Xpenology. Hopefully PeterSuh-Q3 can help you.
from synology_hdd_db.
Ah, ok I see. I might replace the nvme with another one. It looks like this config is permanently stuck
from synology_hdd_db.
Related Issues (20)
- M2 FireCuda 530 Not Detected on Synology DS923+ HOT 14
- Need compatibility with Storage Cluster HOT 1
- How to delete the storage space created by ssd HOT 1
- When you are in an all-SSD environment, you may find an HDD error HOT 5
- Crucial CT4000P3SSD8 Unrecognized firmware version HOT 59
- Questions about DS1621+ using Synology nvme expansion card. HOT 2
- Failed to delete tmp files HOT 1
- Suggestion: Set Writemostly for DSM and Swap to HDD if have SSD HOT 12
- Unable to create SSD storage pool [DS920+; DSM 7.1.1-42962 Update 5] HOT 4
- Error: "This script is NOT runnning on a Synology NAS!"... but it is!! HOT 4
- DS1821+ E10M20-T1 PCIe card not recognised HOT 5
- After working fine for several months, Warning Emails for 1st of Month HOT 4
- Option -S for enabling write_mostly does not work HOT 9
- Expansion units not verified after scrub HOT 2
- RX1214 expansion unit in combination with RS2421+ HOT 22
- Failed to load attribute DB HOT 1
- E10M20-T1 displayed, but won't work. HOT 2
- DSM 7.2.2-72803 HOT 2
- this is off topic HOT 1
- Setting up Mac HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synology_hdd_db.