Comments (14)
Did storage manager show the NVMe drive before you ran the script?
from synology_hdd_db.
Actually, everything was working perfectly on DSM version 7.1.1, but then I updated DSM to its latest version and it started saying that the M2 disk was unknown. I completely formatted my DSM and now I realize it no longer detects my M2 disk even before running the script, and even after running the script, the disk remains undetectable. I suspect it might be due to the latest DSM version 7.2.1, but I'm not certain.
from synology_hdd_db.
Schedule syno_hdd_db.sh to run the with -n option at startup as root: /volume1/test/syno_hdd_db.sh -n
https://github.com/007revad/Synology_HDD_db/blob/main/how_to_schedule.md
Then reboot. If the NVMe drive is still missing, reboot again.
from synology_hdd_db.
I've scheduled the script and restart multiple times, but I still can't see my disk appearing.
from synology_hdd_db.
Make sure the only script scheduled to run at boot is syno_hdd_db.sh -n
Then remove the NVMe drive. Reboot the NAS. Shut down the NAS and reinstall the NVMe drive. Then boot the NAS.
While the NVMe drive is out of the NAS you could delete all the partitions that are on it (if you can connect it to a computer).
from synology_hdd_db.
I followed the procedure but the disk is still not found on DSM.
I formatted the disk and deleted all the partitions, but it didn't help. The only script scheduled to run at boot is syno_hdd_db.sh -n.
Despite these steps, the disk remains undetected on DSM.
from synology_hdd_db.
Can you run this script and reply with a screenshot of the output: https://github.com/007revad/Synology_HDD_db/blob/test/nvme_check.sh
from synology_hdd_db.
Here's the result :
/volume1/Scripts$ sudo ./nvme_check.sh
Password:
DS923+
DSM 7.2.1-69057 Update 5
2024-06-02 11:50:29
Checking support_m2_pool setting
/etc.defaults/synoinfo.conf: yes
/etc/synoinfo.conf: yes
Checking supportnvme setting
/etc.defaults/synoinfo.conf: yes
/etc/synoinfo.conf: yes
Checking synodisk --enum -t cache
Checking syno_slot_mapping
System Disk
Internal Disk
01: /dev/sata1
02:
03:
04:
05:
06:
07:
08:
09:
10:
11:
12:
13:
14:
15:
16:
Esata port count: 0
USB Device
01:
02:
03:
04:
05:
06:
07:
08:
09:
10:
11:
12:
13:
14:
15:
16:
17:
18:
Internal SSD Cache:
01:
Checking udevadm nvme paths
nvme0: /devices/pci0000:00/0000:00:1d.0/0000:6d:00.0/nvme/nvme0
Checking if nvme drives are detected with synonvme
nvme0: It is a NVMe SSD
nvme0: Vendor name: Seagate
nvme0: Model name: Seagate FireCuda 530 ZP2000GM30
Checking nvme drives in /run/synostorage/disks
Checking nvme block devices in /sys/block
nvme0n1
Checking logs
Current date/time: 2024-06-02 11:50:29
Last boot date/time: 2024-06-02 11:46:07
from synology_hdd_db.
Your NVMe drive is missing in syno_slot_mapping and /run/synostorage/disks. If I remember correctly this can be caused by the device tree blob (model.dtb) not containing the correct nvme information, or it's missing the power_limit which Synology added in DSM 7.2.1 Update 1.
Someone else has 2 NVMe drives that DSM is not seeing and they're sending those NVMe drives to me so I can work out why DSM is not seeing them.
You could reinstall DSM 7.2.1 which will restore any corrupt or missing files. It's no different than doing a DSM update.
- Disable the syno_hdd_db schedule.
- Run https://github.com/007revad/Synology_DSM_reinstall
- Manually install https://global.synologydownload.com/download/DSM/release/7.2.1/69057-1/DSM_DS923%2B_69057.pat
- DSM will automatically update itself to DSM 7.2.1 update 5.
- Check if the drive shows in storage manager as a M.2 Cache drive.
from synology_hdd_db.
I followed the steps exactly as described, and it successfully reinstalled DSM. However, when I go to Storage Manager, nothing is displayed.
I think the issue might be related to DSM 7.2.1 because I never had this problem with the previous version.
from synology_hdd_db.
Is it possible to downgrade to version 7.1.1 to confirm that the problem is with the new version ?
from synology_hdd_db.
You can downgrade to 7.1.1 but it's not easy. And you can lose all the data on the drives.
If you're going to try it you'd want to:
- Shut down the DS923+.
- Remove the existing drives.
- Insert any old spare HDD.
- Boot the DS923+.
- Use Synology Assistant to find the DS923+
- Do the initial setup process.
Then see if you can downgrade to DSM 7.1.1
I'd follow these steps https://www.blackvoid.club/dsm-7-to-dsm-6-downgrade/ but modify them for 7.2 to 7.1.1
In steps 3 and 5
Change the contents of the VERSION file to this:
majorversion="7"
minorversion="1"
major="7"
minor="1"
micro="0"
productversion="7.1"
buildphase="GM"
buildnumber="42661"
smallfixnumber="0"
nano="0"
base="42661"
builddate="2022/04/01"
buildtime="17:48:27"
In step 5
If the Telnet password is not 101-0101
you can generate the DSM telnet 'password of the day' with the following on any computer that can run bash:
#!/bin/bash
# Get current month and day
month=$(date +%m) # Month (01 to 12)
day=$(date +%d) # Day of the month (01 to 31)
# Function to calculate greatest common divisor in Bash
gcd(){
# $1 decimal month as decimal
# $2 decimal day as decimal
if [ $2 -eq 0 ]; then
echo $1
else
gcd $2 $(($1 % $2))
fi
}
# Calculate greatest common divisor between month and day
gcd_result=$(gcd $month $day)
# Format and print the password
printf "Password for today is: %x%02d-%02x%02d\n\n" $month $month $day $gcd_result
Or if you prefer python: https://blog.thomasmarcussen.com/synology-nas-recovery-password-telnet/
In step 6
Use this pat file: https://global.synologydownload.com/download/DSM/release/7.1.1/42962/DSM_DS923%2B_42962.pat
from synology_hdd_db.
Hello sorry for the delay.
I downgraded to version 7.1.1 and it actually works well :
![Screenshot 2024-06-22 at 13 18 31](https://private-user-images.githubusercontent.com/114397057/341964723-d4d0dbd8-668e-4f27-8c41-47294d7c478d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxMTEzNTAsIm5iZiI6MTcxOTExMTA1MCwicGF0aCI6Ii8xMTQzOTcwNTcvMzQxOTY0NzIzLWQ0ZDBkYmQ4LTY2OGUtNGYyNy04YzQxLTQ3Mjk0ZDdjNDc4ZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyM1QwMjUwNTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iZjMxMmYxZjMwZjFmNTlmNmU5YTdkMTFmZjVlZjUzZmFmMjJkMjI2YjNmYjQ3Yjg5Yzk3N2NhY2U5YmQwYWI3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Cn7AW-l_55vFyr2XjFK6JZF31AWCqXocaDAcXE78-DA)
from synology_hdd_db.
Weird that the M.2 drive isn't detected by DSM 7.2.1 but is in DSM 7.1.1
from synology_hdd_db.
Related Issues (20)
- No drive found and "bad substitution" errors HOT 4
- DS423+ Supported with 1 nvme driver only HOT 8
- same year/make/model HDD in different NAS with different results using --showedits HOT 3
- TEAMGROUP SPCC HOT 1
- Connnection lost and resumed repeatedly getting it every HOT 12
- System partitions on nvme storage pool HOT 2
- Online Readme.md doesn't have accurate flag descriptions HOT 3
- DS1821+ E10m20-t1 "no m.2 PCIe cards found HOT 2
- "Invalid json format" syslog output HOT 5
- Disable non-Synology recommended memory module configurations message. HOT 17
- Unexpected (positive!) issue: it works WITHOUT "synology_m2_volume" or "synology_enable_m2_volume"? HOT 5
- Can't Create Storate pool on M.2 SSD HOT 9
- 怎么获取nvme硬盘ID? HOT 2
- RS3621xs+ can not support third-party m2 expansion card using ASM2824 chip HOT 9
- script not add hdd to rx1214rp HOT 7
- 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 3
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.