Dave Russell
3206fc60bb
Add bug fix for DSM 7.3 database file issue
Add compactdb function to optimize database files to fix a bug in DSM 7.3 and later regarding spaces in new database files.
11 months ago
Dave Russell
457baa822f
Update syno_hdd_db.sh
Update version number. Issue #438
2 years ago
Dave Russell
ab010425ea
Update syno_hdd_db.sh
2 years ago
Dave Russell
302b4c0af9
Update syno_hdd_db.sh
Added support for M.2 volumes in PCIe adaptor card for DSM 7.1.1
2 years ago
Ing
63650fcbff
fixed SC2034
2 years ago
Ing
f21b27cc2d
fixed SC2091
2 years ago
Dave Russell
53902ccd39
Update syno_hdd_db.sh
2 years ago
007revad
051ba36f9b
Update syno_hdd_db.sh
2 years ago
Dave Russell
0105a09d85
Update syno_hdd_db.sh
2 years ago
007revad
7a02010681
Update syno_hdd_db.sh
2 years ago
Dave Russell
27364cfa35
Update syno_hdd_db.sh
2 years ago
Dave Russell
fef56aba7f
Update syno_hdd_db.sh
2 years ago
Dave Russell
7c4f0dfa5a
Update syno_hdd_db.sh
2 years ago
Dave Russell
8876f73299
Update syno_hdd_db.sh
2 years ago
Dave Russell
e4977afadd
Update syno_hdd_db.sh
- Installs IronWolf Health Management on '22 series and newer models that don't have IronWolf Health Management (untested).
2 years ago
Dave Russell
88f5858349
Update syno_hdd_db.sh
v3.6.109
- Added -I, --ihm option to update IronWolf Health Management to 2.5.1 to support recent model IronWolf and IronWolf Pro drives.
- For NAS with x86_64 CPUs only.
2 years ago
Dave Russell
907dcc09b6
Update syno_hdd_db.sh
2 years ago
Dave Russell
6d975b2450
Update syno_hdd_db.sh
v3.5.108
- Prevent error message if /tmpRoot exists but does not contain /usr/syno/bin/synosetkeyvalue and /etc.defaults/synoinfo.conf. Issue #411
2 years ago
Dave Russell
cda6a5641c
Update syno_hdd_db.sh
v3.5.107
- Bug fix for firmware version as "Found]" in db files. Issue #407
2 years ago
Dave Russell
5ce04615b8
Update syno_hdd_db.sh
2 years ago
Curtis Doty
aa4aacd3af
De-spaghettifi shell code
- reduce excesive subshells/piplines
- improve readability
- speed up performance
- fixes #397
2 years ago
Curtis Doty
8e7f56b80f
De-spaghettifi shell code
- reduce excesive subshells/piplines
- improve readability
- speed up performance
- fixes #397
2 years ago
Curtis Doty
f994433466
Make debugger pretty
2 years ago
Curtis Doty
46d3a2e673
Make executable
2 years ago
Dave Russell
bcfa4d2765
Update syno_hdd_db.sh
2 years ago
Dave Russell
7312b4c324
Update syno_hdd_db.sh
v3.5.105
- Bug fix for drives that return "HCST <model>" as the model, like HGST drives do. Issue #389
2 years ago
Dave Russell
6c4c2c173b
Update syno_hdd_db.sh
v3.5.104
- Bug fix for drives that return "HCST <model>" as the model, like HGST drives do. Issue #389
2 years ago
Dave Russell
a595132fa1
Update syno_hdd_db.sh
2 years ago
Ing
82f1163cae
Some disks will be blocked in special scenarios
2 years ago
Dave Russell
eba77306b1
Update syno_hdd_db.sh
get_size_gb() calculation error for 20GB HDDs.
2 years ago
richard
d684e3f6ee
get_size_gb() calculation error for 20GB HDDs.
Increased precision of GiB to GB, 2^30 / 1e9 = 1.073741824
2 years ago
Dave Russell
0109257af3
Update syno_hdd_db.sh
v3.5.102
- Changed to use a faster method of detecting if an expansion unit is connected, for models with the syno_slot_mapping command.
- Changed so XPE users using the hdddb addon don't need to reboot.
2 years ago
Dave Russell
3aff2b3ea6
Update syno_hdd_db.sh
2 years ago
Dave Russell
8f4d03b2a3
Update syno_hdd_db.sh
2 years ago
Dave Russell
acf8c0b941
Update syno_hdd_db.sh
2 years ago
Dave Russell
25981e01f6
Update syno_hdd_db.sh
v3.5.100-RC
- Changed to support "--restore --ssd=restore" to restore write_mostly when restoring all other changes. Issue #340
- When using --restore you can also use --ssd=restore, -e or --email
2 years ago
Dave Russell
3fbd1bb84c
Update syno_hdd_db.sh
v3.5.99-RC
- Changed to support "--restore --ssd=restore" to restore write_mostly when restoring all other changes. Issue #340
2 years ago
Dave Russell
613b54fff1
Update syno_hdd_db.sh
2 years ago
Dave Russell
8f6488e3bf
Update syno_hdd_db.sh
- Bug fix for "Enable write_mostly on slow internal drives so DSM runs from the fast internal drive(s)." Issue #340
2 years ago
Dave Russell
5cb43786c5
Update syno_hdd_db.sh
v3.5.98
- Changed to install dtc automatically if needed and script is running from task scheduler.
2 years ago
Dave Russell
738562251b
Update syno_hdd_db.sh
v3.5.97
- Changed silently skip empty .db.new files with showing an error. Issue #175
- Changed to warn if if db file is 0 bytes.
2 years ago
ツ
2af83c51b0
feat(write_mostly): More specific description
For further documentation check README.
2 years ago
Dave Russell
d874f14153
Update syno_hdd_db.sh
v3.5.96
- Added option to set writemostly for your internal HDDs so DSM will normally read from your faster internal SSD(s).
- It can automatically set DSM to read from your internal SSDs.
- Or you can tell the script which internal drive(s) DSM should read from.
2 years ago
Dave Russell
6f2416d5b8
Update syno_hdd_db.sh
v3.5.96
- Enable write_mostly on slow internal drives so DSM runs from the fast internal drive(s).
2 years ago
Dave Russell
621405a523
Update syno_hdd_db.sh
v3.5.94
- Updated to support newer drive db versions.
- Synology added size_gb in host v7 version 8051.
- Synology added barebone_installable_v2 in host v7 version 8054.
- Bug fix when restoring where memcheck service was only re-enabled on DVA models.
- Changed to add leading 0 to short vids reported by drive.
- Sets 2 vids in case DSM uses the short one (e.g. 0x05dc=brand and 0x5dc=brand).
2 years ago
Dave Russell
e52b20e3d9
Update syno_hdd_db.sh
v3.5.94
- Updated to support newer drive db versions.
- Synology added size_gb in host v7 version 8051.
- Synology added barebone_installable_v2 in host v7 version 8054.
Note: You may need to run syno_hdd_db without the -n or --noupdate option, then update the drive database from
"Storage Manager > HDD/SSD > Settings > Advanced > Update Now" then run syno_hdd_db with your preferred options.
2 years ago
Dave Russell
93bdd5c59d
Update syno_hdd_db.sh
v3.5.93
- Bug fix for false "Failed to delete tmp files" log entries. Issue #312
- Bug first appeared in v3.1.64
2 years ago
Dave Russell
57ac882d43
Update syno_hdd_db.sh
v3.5.92
- Changed to support M.2 SATA SSDs in M2D18 or M2D17.
- Change -s, --show option to show changes for each different drive model.
2 years ago
Dave Russell
c43662d443
Update syno_hdd_db.sh
v3.5.91
- Changed to not exit if no SATA or SAS drives found. Issue #303
- Now only exists if no SATA, SAS or NVMe drives found.
2 years ago
Dave Russell
7752f30df0
Update syno_hdd_db.sh
3 years ago