Dave Russell
ae78f33140
Fix syntax error in getopt command
2 months ago
Dave Russell
923533fb24
Fix options in getopt command
2 months ago
Dave Russell
b095f29ed7
Update script version and enhance whitespace handling
Updated script version and improved whitespace trimming for drive model and firmware revision.
2 months ago
Dave Russell
d25dd700b2
Update script version and improve whitespace trimming
2 months ago
Dave Russell
1324b62ce9
Change whitespace trimming method for drive model
2 months ago
Dave Russell
a9da09fc89
Update script version to v3.6.120 and add reboot option
Added a new option to reboot the NAS after DSM updates if the build number has changed, specifically for NVMe volumes or PCIe cards requiring a second reboot.
3 months ago
Dave Russell
14c25d9ffd
Update script to version 3.6.119
v3.6.119
- Bug fix for "cat: /sys/block//sys/block/sata1/device/vendor: No such file or directory" errors. Issue #554
3 months ago
Dave Russell
8ebe2fb58a
Update script to v3.6.118
v3.6.118
- Changed to enable creating M.2 storage pool and volume in Storage Manager after making DSM check disk compatibility. # GitHub issue #441
3 months ago
Dave Russell
83f9948f08
Update syno_hdd_db.sh to v3.6.117
v3.6.117
- Added SSD TRIM warning of possible data loss if non-Synology SSDs or NVMes are in RAID 5, 6 or SHR with more than 3 drives.
- See https://kb.synology.com/en-global/DSM/tutorial/Why_is_SSD_TRIM_available_only_for_SSDs_in_the_compatibility_list
3 months ago
Dave Russell
f6672d4d45
Update script version to v3.6.116
Moved NVMe warning code and fixed false warnings for SHR HDD volumes with mixed drive sizes.
4 months ago
Dave Russell
4f34ffc5f1
Update script version to v3.6.115
4 months ago
Dave Russell
71a5d91383
Update script to v3.6.114
v3.6.114
- Added syno_hdd_shutdown.sh to the auto update code.
- Now if script is located on an NVMe volume it warns you and exits. Previously it just warned you and continued.
- Bug fix for DSM 7.3 not disabling compatible drive database auto update.
4 months ago
Dave Russell
8bbeaeec7d
Update script version and add duplicate check function
v3.6.113
- Added check that DSM 7.3 db file was successfully compacted.
- Added drive's firmware version to messages.
- Improved checking if drive and firmware version were successfully added to db file.
- Bug fix for adding duplicate drive if 2 or more of the same drive model had different firmware versions.
- Also removes duplicate drive entries if they exist (before correctly editing the file).
- Bug fix adding size_gb to to drive firmware version entries instead of just the "default" key section.
4 months ago
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.
4 months ago
Dave Russell
457baa822f
Update syno_hdd_db.sh
Update version number. Issue #438
1 year ago
Dave Russell
ab010425ea
Update syno_hdd_db.sh
1 year ago
Dave Russell
302b4c0af9
Update syno_hdd_db.sh
Added support for M.2 volumes in PCIe adaptor card for DSM 7.1.1
1 year ago
Ing
63650fcbff
fixed SC2034
1 year ago
Ing
f21b27cc2d
fixed SC2091
1 year ago
Dave Russell
53902ccd39
Update syno_hdd_db.sh
1 year ago
007revad
051ba36f9b
Update syno_hdd_db.sh
1 year ago
Dave Russell
0105a09d85
Update syno_hdd_db.sh
1 year ago
007revad
7a02010681
Update syno_hdd_db.sh
1 year ago
Dave Russell
27364cfa35
Update syno_hdd_db.sh
1 year ago
Dave Russell
fef56aba7f
Update syno_hdd_db.sh
1 year ago
Dave Russell
7c4f0dfa5a
Update syno_hdd_db.sh
1 year ago
Dave Russell
8876f73299
Update syno_hdd_db.sh
1 year 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).
1 year 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.
1 year ago
Dave Russell
907dcc09b6
Update syno_hdd_db.sh
1 year 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
1 year ago
Dave Russell
cda6a5641c
Update syno_hdd_db.sh
v3.5.107
- Bug fix for firmware version as "Found]" in db files. Issue #407
1 year ago
Dave Russell
5ce04615b8
Update syno_hdd_db.sh
1 year ago
Curtis Doty
aa4aacd3af
De-spaghettifi shell code
- reduce excesive subshells/piplines
- improve readability
- speed up performance
- fixes #397
1 year ago
Curtis Doty
8e7f56b80f
De-spaghettifi shell code
- reduce excesive subshells/piplines
- improve readability
- speed up performance
- fixes #397
1 year ago
Curtis Doty
f994433466
Make debugger pretty
1 year ago
Curtis Doty
46d3a2e673
Make executable
1 year ago
Dave Russell
bcfa4d2765
Update syno_hdd_db.sh
1 year 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
1 year 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
1 year ago
Dave Russell
a595132fa1
Update syno_hdd_db.sh
1 year ago
Ing
82f1163cae
Some disks will be blocked in special scenarios
1 year 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