Comments (8)
It definitely helps ;)
Thanks for the support and reactiveness !
bash-4.4# ./syno_hdd_db.sh -nr --showedits
Synology_HDD_db v3.4.77
DS220+ DSM 7.2.1-69057-3
StorageManager 1.0.0-0017
Using options: -nr --showedits
Running from: /volume1/scripts/syno_hdd_db.sh
HDD/SSD models found: 1
WD160EDGZ-11B2DA0,85.00A85
No M.2 drives found
No M.2 PCIe cards found
No Expansion Units found
WD160EDGZ-11B2DA0 already exists in ds220+_host_v7.db
Support disk compatibility already enabled.
Support memory compatibility already disabled.
Max memory already set to 18 GB.
Drive db auto updates already disabled.
"WD160EDGZ-11B2DA0": {
"85.00A85": {
"compatibility_interval": [
{
"compatibility": "support",
"not_yet_rolling_status": "support",
"fw_dsm_update_status_notify": false,
"barebone_installable": true,
"smart_test_ignore": false,
"smart_attr_ignore": false
}
]
DSM successfully checked disk compatibility.
You may need to reboot the Synology to see the changes.
from synology_hdd_db.
I suspect if you run it again with --showedits it will show the same error.
And if you run it without --showedits it won't show the error.
Does the following command give the same error?
jq . ds220+_host_v7.db | grep -A 11 WD160EDGZ-11B2DA0
If it does give the same error can you attach a zipped copy of your ds220+_host_v7.db file.
You can copy the file to the script shared folder with:
sudo cp /var/lib/disk-compatibility/ds220+_host_v7.db /volume1/script/ds220+_host_v7.db
from synology_hdd_db.
Ok, I've found the issue. My script has added an extra comma so the file ends in ,,"nas_model":"ds220+"}
when it should end in ,"nas_model":"ds220+"}
I'll update the script to prevent that, and fix it in the db file for people who've already run Synology_HDD_db v3.3.75
from synology_hdd_db.
This new version v3.4.76 should work correctly with the -s or --showedits option. It also edits the ,db files to fix the ,, left from v3.3.75
https://github.com/007revad/Synology_HDD_db/releases/tag/v3.4.76
from synology_hdd_db.
I guess it helps if I tell sed which files to edit :(
All fixed now: https://github.com/007revad/Synology_HDD_db/releases/tag/v3.4.77
from synology_hdd_db.
I've encountered a similar error. It only happens when running with --showedits.
from synology_hdd_db.
I suspect if you run it again with --showedits it will show the same error.
Yes
And if you run it without --showedits it won't show the error.
Exact
Does the following command give the same error?
jq . ds220+_host_v7.db | grep -A 11 WD160EDGZ-11B2DA0
root@nas:/volume1/scripts# jq . ds220+_host_v7.db | grep -A 11 WD160EDGZ-11B2DA0 parse error: Expected value before ',' at line 1, column 96319
Exact same error
If it does give the same error can you attach a zipped copy of your ds220+_host_v7.db file.
You can copy the file to the script shared folder with:
sudo cp /var/lib/disk-compatibility/ds220+_host_v7.db /volume1/script/ds220+_host_v7.db
You can find the .db file in attachment
Thanks !
from synology_hdd_db.
I think there's still a problem with the sed command :
root@nas:/volume1/scripts# ./syno_hdd_db.sh -nr --showedits
Synology_HDD_db v3.4.76
DS220+ DSM 7.2.1-69057-3
StorageManager 1.0.0-0017
Using options: -nr --showedits
Running from: /volume1/scripts/syno_hdd_db.sh
HDD/SSD models found: 1
WD160EDGZ-11B2DA0,85.00A85
No M.2 drives found
No M.2 PCIe cards found
No Expansion Units found
sed: no input files
WD160EDGZ-11B2DA0 already exists in ds220+_host_v7.db
Support disk compatibility already enabled.
Support memory compatibility already disabled.
Max memory already set to 18 GB.
Drive db auto updates already disabled.
parse error: Expected value before ',' at line 1, column 96319
DSM successfully checked disk compatibility.
You may need to reboot the Synology to see the changes.
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.