[GH-ISSUE #33] Enable syno_smart_info to detect and report SMART value changes #9

Closed
opened 2026-03-07 19:22:02 +03:00 by kerem · 88 comments
Owner

Originally created by @framps on GitHub (Oct 1, 2025).
Original GitHub issue: https://github.com/007revad/Synology_SMART_info/issues/33

Originally assigned to: @007revad on GitHub.

I run your script on my system and get an eMail notification only if there are any SMART values reported. This works great.

I also installed your script on four DS1821+ and right now every time all SMART reports are sent via eMail. This will be changed to send a report only if any SMART values are out of bounds. Unfortunately on one system the UDMA counts are high because the disks were used in a DX which had power issues and therefore increased UDMA counters.

It would be great to (1) get any notification only if existing SMART values increase. This way the UDMA values of disks caused by power instabilities on a DX and now used in another DS pool wouldn't be reported any more.

As a mitigation (2) for me it would make sense to add an option which causes the script to report only the SMART values for a disk where some values exceed any limits and no longer report all SMART values of all disks. This indeed will need much more coding than (1).

Just my thoughts ... maybe there is a chance to get either (1) or (2) implemented?

Originally created by @framps on GitHub (Oct 1, 2025). Original GitHub issue: https://github.com/007revad/Synology_SMART_info/issues/33 Originally assigned to: @007revad on GitHub. I run your script on my system and get an eMail notification only if there are any SMART values reported. This works great. I also installed your script on four DS1821+ and right now every time all SMART reports are sent via eMail. This will be changed to send a report only if any SMART values are out of bounds. Unfortunately on one system the UDMA counts are high because the disks were used in a DX which had power issues and therefore increased UDMA counters. It would be great to (1) get any notification only if existing SMART values increase. This way the UDMA values of disks caused by power instabilities on a DX and now used in another DS pool wouldn't be reported any more. As a mitigation (2) for me it would make sense to add an option which causes the script to report only the SMART values for a disk where some values exceed any limits and no longer report all SMART values of all disks. This indeed will need much more coding than (1). Just my thoughts ... maybe there is a chance to get either (1) or (2) implemented?
kerem closed this issue 2026-03-07 19:22:02 +03:00
Author
Owner

@007revad commented on GitHub (Oct 1, 2025):

I think (2) would actually take a lot less coding than (1).

One of the Xpenology developers uses my syno_smart_info.sh script in their SynoSmartInfo package.
https://github.com/PeterSuh-Q3/SynoSmartInfo

A month ago they added check_udma_crc.sh which logs UDMA CRC errors for Seagate HDDs and sends a message to telegram when the UDMA CRC error count increases. I don't know why they only log Seagate drives, or if they intend adding logging for other important attributes as well

I could adapt their code to log all of the important SMART attributes and only exit with an error code (to send the email) if those attributes change.

Image Image Image
<!-- gh-comment-id:3358361951 --> @007revad commented on GitHub (Oct 1, 2025): I think (2) would actually take a lot less coding than (1). One of the Xpenology developers uses my syno_smart_info.sh script in their SynoSmartInfo package. https://github.com/PeterSuh-Q3/SynoSmartInfo A month ago they added check_udma_crc.sh which logs UDMA CRC errors for Seagate HDDs and sends a message to telegram when the UDMA CRC error count increases. I don't know why they only log Seagate drives, or if they intend adding logging for other important attributes as well I could adapt their code to log all of the important SMART attributes and only exit with an error code (to send the email) if those attributes change. <img width="1008" height="564" alt="Image" src="https://github.com/user-attachments/assets/acf31c4a-e34e-4bd0-aa2e-0f5c227bbd05" /> <img width="640" height="986" alt="Image" src="https://github.com/user-attachments/assets/363efb4f-2682-4fcd-b8a5-71a3ce60de15" /> <img width="1080" height="982" alt="Image" src="https://github.com/user-attachments/assets/c0ac690b-e778-4185-9851-9dce9b4fffaf" />
Author
Owner

@framps commented on GitHub (Oct 2, 2025):

It would be great to (1) get any notification only if existing SMART values increase. This way the UDMA values of disks caused by power instabilities on a DX and now used in another DS pool wouldn't be reported any more.

Another option would be to use a config file which allows to set the limits for any SMART value. That way it's possible to define the actual UDMA value and a warning is created if this value exceeds this defined value. If a SMART value is not defined in the config file the defaults are used. This will need more effort than (2) but less than (1).

The config file may just contain lines with the SMART names and the threshold - no complicated JSON, YAML or other structured format.

<!-- gh-comment-id:3361623601 --> @framps commented on GitHub (Oct 2, 2025): > It would be great to (1) get any notification only if existing SMART values increase. This way the UDMA values of disks caused by power instabilities on a DX and now used in another DS pool wouldn't be reported any more. Another option would be to use a config file which allows to set the limits for any SMART value. That way it's possible to define the actual UDMA value and a warning is created if this value exceeds this defined value. If a SMART value is not defined in the config file the defaults are used. This will need more effort than (2) but less than (1). The config file may just contain lines with the SMART names and the threshold - no complicated JSON, YAML or other structured format.
Author
Owner

@007revad commented on GitHub (Oct 2, 2025):

I could use Synology's own tools that read and write ini files. So the attributes log file would contain something like:

[<drive-serial-number>]
1=
5=
7=
10=
187=
194=
195=
197=
198=
199=40
200=

And if any of the values for a drive's important attributes have increased from what's in the ini file I update the ini file and send the email for that drive listing the SMART attributes that have increased.

<!-- gh-comment-id:3363606086 --> @007revad commented on GitHub (Oct 2, 2025): I could use Synology's own tools that read and write ini files. So the attributes log file would contain something like: ``` [<drive-serial-number>] 1= 5= 7= 10= 187= 194= 195= 197= 198= 199=40 200= ``` And if any of the values for a drive's important attributes have increased from what's in the ini file I update the ini file and send the email for that drive listing the SMART attributes that have increased.
Author
Owner

@007revad commented on GitHub (Oct 3, 2025):

And if any of the values for a drive's important attributes have increased from what's in the ini file I update the ini file and send the email for that drive listing the SMART attributes that have increased.

Actually, the script would have to send the email which makes it a lot more complicated. Currently the script finishes with an exit code greater than zero to make task scheduler send the email, which contains the whole output of the script.

The easiest solution is to make the script only finish with an exit code greater than zero if any drive's important smart attributes have increased.

At the end of script it could output which drive(s) attributes have increased, like:

Drive 6 : Reallocated_Sector_Ct has increased to 9
Drive 8 : UDMA_CRC_Error_Count has increased to 17523
<!-- gh-comment-id:3363786590 --> @007revad commented on GitHub (Oct 3, 2025): > And if any of the values for a drive's important attributes have increased from what's in the ini file I update the ini file and send the email for that drive listing the SMART attributes that have increased. Actually, the script would have to send the email which makes it a lot more complicated. Currently the script finishes with an exit code greater than zero to make task scheduler send the email, which contains the whole output of the script. The easiest solution is to make the script only finish with an exit code greater than zero if any drive's important smart attributes have increased. At the end of script it could output which drive(s) attributes have increased, like: ``` Drive 6 : Reallocated_Sector_Ct has increased to 9 Drive 8 : UDMA_CRC_Error_Count has increased to 17523 ```
Author
Owner

@framps commented on GitHub (Oct 3, 2025):

. So the attributes log file would contain something like:

Great idea. Less typing required and less chance to create a typo

The easiest solution is to make the script only finish with an exit code greater than zero if any drive's important smart attributes have increased.

Agree. Just pass the email burdon to the task manager 😄

How do you want to control whether all disks are reported, as it's done right now, and enable the report for error disks only? Indirect if the threshold file exists or with a new option?

<!-- gh-comment-id:3364667821 --> @framps commented on GitHub (Oct 3, 2025): > . So the attributes log file would contain something like: Great idea. Less typing required and less chance to create a typo > The easiest solution is to make the script only finish with an exit code greater than zero if any drive's important smart attributes have increased. Agree. Just pass the email burdon to the task manager 😄 How do you want to control whether all disks are reported, as it's done right now, and enable the report for error disks only? Indirect if the threshold file exists or with a new option?
Author
Owner

@007revad commented on GitHub (Oct 4, 2025):

I was going to report all disks as it's done now, but append a message at the end showing which drive's attributes increased and which attribute. This is definitely the easiest to do.

Another option I've been considering is:

  • Redirect stdout to a temp file.
  • Redirect the "attributes have increased" message to a 2nd temp file.
  • At the end do the following:
    • If there is no 2nd temp file cat the 1st temp file to display the normal results.
    • If there is a 2nd temp file cat the 2nd temp file to display the "attributes increased" info then "exit 1" to trigger the email.

This way I can control what gets emailed when the important attributes have increased.

Once I have it working I might change the temp files to arrays.

Or maybe I can use the 2nd temp file and if it exists clear the screen and cat the 2nd temp file. I don't know if that would work with storage manager. I might test that now.

<!-- gh-comment-id:3367732087 --> @007revad commented on GitHub (Oct 4, 2025): I was going to report all disks as it's done now, but append a message at the end showing which drive's attributes increased and which attribute. This is definitely the easiest to do. Another option I've been considering is: - Redirect stdout to a temp file. - Redirect the "attributes have increased" message to a 2nd temp file. - At the end do the following: - If there is no 2nd temp file cat the 1st temp file to display the normal results. - If there is a 2nd temp file cat the 2nd temp file to display the "attributes increased" info then "exit 1" to trigger the email. This way I can control what gets emailed when the important attributes have increased. Once I have it working I might change the temp files to arrays. Or maybe I can use the 2nd temp file and if it exists clear the screen and cat the 2nd temp file. I don't know if that would work with storage manager. I might test that now.
Author
Owner

@007revad commented on GitHub (Oct 4, 2025):

Or maybe I can use the 2nd temp file and if it exists clear the screen and cat the 2nd temp file.

Task scheduler complains about the clear command: TERM environment variable not set. It looks like task scheduler has it's own terminal.

<!-- gh-comment-id:3367748265 --> @007revad commented on GitHub (Oct 4, 2025): > Or maybe I can use the 2nd temp file and if it exists clear the screen and cat the 2nd temp file. Task scheduler complains about the `clear` command: `TERM environment variable not set.` It looks like task scheduler has it's own terminal.
Author
Owner

@007revad commented on GitHub (Oct 4, 2025):

I tried add export TERM-xterm at the top of the script and it still doesn't like the clear command:

Image

So it looks like I'll have to redirect stdout.

<!-- gh-comment-id:3367758791 --> @007revad commented on GitHub (Oct 4, 2025): I tried add `export TERM-xterm` at the top of the script and it still doesn't like the `clear` command: <img width="536" height="491" alt="Image" src="https://github.com/user-attachments/assets/d68ab0cf-65dd-45de-b08d-77dafb49d0de" /> So it looks like I'll have to redirect stdout.
Author
Owner

@007revad commented on GitHub (Oct 5, 2025):

I'm getting there. Synology's set_section_key_value command has a few bugs that took a while to work around.

The script enters each drive's serial number, drive number, model and device. Then if any important smart attributes are greater than 0 that attrubute name and value get logged.

I'm testing with 2 HDDs that I know have errors.

[WD-WCAU4D418299]
drive_num=Drive 4
model=WD10EADS-00L5B1
Current_Pending_Sector=2     <-----
Multi_Zone_Error_Rate=2      <-----
device=/dev/sata2
UDMA_CRC_Error_Count=17523   <-----
Offline_Uncorrectable=2      <-----

[2450E999FF39]
drive_num=Drive 1
model=CT500BX500SSD1
device=/dev/sata3

[WD-WX22D40J9JAJ]
drive_num=Drive 3
model=WD60EFRX-68L0BN1
Current_Pending_Sector=52    <-----
device=/dev/sata4
UDMA_CRC_Error_Count=5       <-----
Reallocated_Sector_Ct=438    <-----

[25084E974BA9]
drive_num=M.2 Drive 1
Unsafe_Shutdowns=1           <-----
model=CT500P3PSSD8
device=/dev/nvme0n1
<!-- gh-comment-id:3368745125 --> @007revad commented on GitHub (Oct 5, 2025): I'm getting there. Synology's `set_section_key_value` command has a few bugs that took a while to work around. The script enters each drive's serial number, drive number, model and device. Then if any important smart attributes are greater than 0 that attrubute name and value get logged. I'm testing with 2 HDDs that I know have errors. ``` [WD-WCAU4D418299] drive_num=Drive 4 model=WD10EADS-00L5B1 Current_Pending_Sector=2 <----- Multi_Zone_Error_Rate=2 <----- device=/dev/sata2 UDMA_CRC_Error_Count=17523 <----- Offline_Uncorrectable=2 <----- [2450E999FF39] drive_num=Drive 1 model=CT500BX500SSD1 device=/dev/sata3 [WD-WX22D40J9JAJ] drive_num=Drive 3 model=WD60EFRX-68L0BN1 Current_Pending_Sector=52 <----- device=/dev/sata4 UDMA_CRC_Error_Count=5 <----- Reallocated_Sector_Ct=438 <----- [25084E974BA9] drive_num=M.2 Drive 1 Unsafe_Shutdowns=1 <----- model=CT500P3PSSD8 device=/dev/nvme0n1 ```
Author
Owner

@framps commented on GitHub (Oct 5, 2025):

Looks pretty cool 👍

<!-- gh-comment-id:3368869672 --> @framps commented on GitHub (Oct 5, 2025): Looks pretty cool 👍
Author
Owner

@007revad commented on GitHub (Oct 5, 2025):

I thought I might as well use the logged info for the regular output as well 😃

Image
<!-- gh-comment-id:3368917467 --> @007revad commented on GitHub (Oct 5, 2025): I thought I might as well use the logged info for the regular output as well :smiley: <img width="607" height="243" alt="Image" src="https://github.com/user-attachments/assets/fdb44852-b475-40fa-ab72-723bc866cdb0" />
Author
Owner

@framps commented on GitHub (Oct 5, 2025):

Great idea 👍

Maybe report the increase amount and the old amount like Increased by 17348 from 175 or some similar format? I think the increase amount is much more important than the old value.

<!-- gh-comment-id:3368976347 --> @framps commented on GitHub (Oct 5, 2025): Great idea 👍 Maybe report the increase amount and the old amount like `Increased by 17348 from 175` or some similar format? I think the increase amount is much more important than the old value.
Author
Owner

@007revad commented on GitHub (Oct 5, 2025):

You can see 17523 has increased from 175

I'm working on only showing the changed attributes. I've still got work to do but I'm close.

Image
<!-- gh-comment-id:3368980807 --> @007revad commented on GitHub (Oct 5, 2025): You can see 17523 has increased from 175 I'm working on only showing the changed attributes. I've still got work to do but I'm close. <img width="661" height="418" alt="Image" src="https://github.com/user-attachments/assets/873f3a4f-35f7-4b80-b54f-e6355405f24c" />
Author
Owner

@framps commented on GitHub (Oct 5, 2025):

You can see 17523 has increased from 175

Yes. My point is, the increase amount is most probably more important than the old value. If an increase amount is high that's a serious issue whereas a small increase isn't that serious in most cases. That's why I suggest to report either the increase amount and the old value or the increase amount only. JM2C.

<!-- gh-comment-id:3368986878 --> @framps commented on GitHub (Oct 5, 2025): > You can see 17523 has increased from 175 Yes. My point is, the increase amount is most probably more important than the old value. If an increase amount is high that's a serious issue whereas a small increase isn't that serious in most cases. That's why I suggest to report either the increase amount and the old value or the increase amount only. JM2C.
Author
Owner

@007revad commented on GitHub (Oct 5, 2025):

Oh, so you want me to do some math 😄

So instead of "17523 Increased from 175" it would be "17523 Increased by 17348".

I've just made that change so it will now show "17523 Increased by 17348".

<!-- gh-comment-id:3368989747 --> @007revad commented on GitHub (Oct 5, 2025): Oh, so you want me to do some math :smile: So instead of "17523 Increased from 175" it would be "17523 Increased by 17348". I've just made that change so it will now show "17523 Increased by 17348".
Author
Owner

@framps commented on GitHub (Oct 5, 2025):

Much better than my proposed message format 😉

<!-- gh-comment-id:3368993390 --> @framps commented on GitHub (Oct 5, 2025): Much better than my proposed message format 😉
Author
Owner

@007revad commented on GitHub (Oct 5, 2025):

Try v1.4.21-RC

Image

To test it run the script once so it creates and populates the smart.log, which will be in the same folder as the script. Then you can reduce or delete the values in smart.log and run the scheduled task again.

<!-- gh-comment-id:3369382579 --> @007revad commented on GitHub (Oct 5, 2025): Try [v1.4.21-RC](https://github.com/007revad/Synology_SMART_info/releases/tag/v1.4.21) <img width="661" height="259" alt="Image" src="https://github.com/user-attachments/assets/0b008025-73b8-4067-9af1-a92259dba510" /> To test it run the script once so it creates and populates the smart.log, which will be in the same folder as the script. Then you can reduce or delete the values in smart.log and run the scheduled task again.
Author
Owner

@007revad commented on GitHub (Oct 6, 2025):

Try v1.4.22-RC instead. It also shows when important SMART attributes have decreased (like current pending sectors). I also improved the formatting so all the "Increased" or "Decreased" line up better.

Image

To test it run the script once so it creates and populates the smart.log, which will be in the same folder as the script. Then you can reduce or delete the values in smart.log and run the scheduled task again.

<!-- gh-comment-id:3369793564 --> @007revad commented on GitHub (Oct 6, 2025): Try [v1.4.22-RC](https://github.com/007revad/Synology_SMART_info/releases/tag/v1.4.22) instead. It also shows when important SMART attributes have decreased (like current pending sectors). I also improved the formatting so all the "Increased" or "Decreased" line up better. <img width="661" height="275" alt="Image" src="https://github.com/user-attachments/assets/4d5691d4-3cde-4af0-89ae-729ffd0eec0b" /> To test it run the script once so it creates and populates the smart.log, which will be in the same folder as the script. Then you can reduce or delete the values in smart.log and run the scheduled task again.
Author
Owner

@framps commented on GitHub (Oct 6, 2025):

Thank you very much for 1.4.22-RC.

That's what I did in order to get informed about an increased value:

Initially I got following contents in smart.log when I used option -i.

[WD-WCC7K0AHV@@@]
drive_num=Drive 1
model=WD40EFRX-68N32N0
device=/dev/sda
[WD-WCC7K6SS5@@@]
drive_num=Drive 2
model=WD40EFRX-68N32N0
device=/dev/sdb
[WD-WCC4N0600@@@]
drive_num=Drive 3
model=WD30EURX-63T0FY0
device=/dev/sdc
Raw_Read_Error_Rate=1
[WD-WCC4N0586@@@]
drive_num=Drive 4
model=WD30EURX-63T0FY0
device=/dev/sdd

For my drive 3 I get following smart values:

Drive 3  WD30EURX-63T0FY0  WD-WCC@@@@@@@@@  /dev/sdc
SMART overall-health self-assessment test result: PASSED
SMART Error Counter Log:         No Errors Logged
  1 Raw_Read_Error_Rate          3
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               54497
 10 Spin_Retry_Count             0
194 Temperature_Celsius          25
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         0
200 Multi_Zone_Error_Rate        0

Then I added one line for Raw_Read_Error_Rate to simulate a smaller rate.

[WD-WCC7K0AHV@@@]
drive_num=Drive 1
model=WD40EFRX-68N32N0
device=/dev/sda
[WD-WCC7K6SS5@@@]
drive_num=Drive 2
model=WD40EFRX-68N32N0
device=/dev/sdb
[WD-WCC4N0600@@@]
drive_num=Drive 3
model=WD30EURX-63T0FY0
device=/dev/sdc
Raw_Read_Error_Rate=1
[WD-WCC4N0586@@@]
drive_num=Drive 4
model=WD30EURX-63T0FY0
device=/dev/sdd

But I don't get any warning about an increase Raw_Read_Error_Rate 🤔

Looks like there is some misunderstanding on my side. What do I do wrong?

PS: I noticed you now use some python code inside your script. 👍

<!-- gh-comment-id:3370988590 --> @framps commented on GitHub (Oct 6, 2025): Thank you very much for 1.4.22-RC. That's what I did in order to get informed about an increased value: Initially I got following contents in smart.log when I used option -i. ``` [WD-WCC7K0AHV@@@] drive_num=Drive 1 model=WD40EFRX-68N32N0 device=/dev/sda [WD-WCC7K6SS5@@@] drive_num=Drive 2 model=WD40EFRX-68N32N0 device=/dev/sdb [WD-WCC4N0600@@@] drive_num=Drive 3 model=WD30EURX-63T0FY0 device=/dev/sdc Raw_Read_Error_Rate=1 [WD-WCC4N0586@@@] drive_num=Drive 4 model=WD30EURX-63T0FY0 device=/dev/sdd ``` For my drive 3 I get following smart values: ``` Drive 3 WD30EURX-63T0FY0 WD-WCC@@@@@@@@@ /dev/sdc SMART overall-health self-assessment test result: PASSED SMART Error Counter Log: No Errors Logged 1 Raw_Read_Error_Rate 3 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 54497 10 Spin_Retry_Count 0 194 Temperature_Celsius 25 197 Current_Pending_Sector 0 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 0 200 Multi_Zone_Error_Rate 0 ``` Then I added one line for Raw_Read_Error_Rate to simulate a smaller rate. ``` [WD-WCC7K0AHV@@@] drive_num=Drive 1 model=WD40EFRX-68N32N0 device=/dev/sda [WD-WCC7K6SS5@@@] drive_num=Drive 2 model=WD40EFRX-68N32N0 device=/dev/sdb [WD-WCC4N0600@@@] drive_num=Drive 3 model=WD30EURX-63T0FY0 device=/dev/sdc Raw_Read_Error_Rate=1 [WD-WCC4N0586@@@] drive_num=Drive 4 model=WD30EURX-63T0FY0 device=/dev/sdd ``` But I don't get any warning about an increase Raw_Read_Error_Rate 🤔 Looks like there is some misunderstanding on my side. What do I do wrong? PS: I noticed you now use some python code inside your script. 👍
Author
Owner

@007revad commented on GitHub (Oct 6, 2025):

I see the problem. Lines 593, 607 and 636 were missing zero at the end.

Fixed in v1.4.23

The python code was added by PeterSuh-Q3 for his Synosmartinfo package. The package is really nice. Though it's still using syno_smart_info.sh v1.3.15.

Image Image Image

I updated the installed package on my Synology to add the -i option and make sure none of my recent script changes had broken anything for the package.

Image Image
<!-- gh-comment-id:3374247043 --> @007revad commented on GitHub (Oct 6, 2025): I see the problem. Lines 593, 607 and 636 were missing ` zero` at the end. Fixed in [v1.4.23](https://github.com/007revad/Synology_SMART_info/releases/tag/v1.4.23) The python code was added by PeterSuh-Q3 for his [Synosmartinfo package](https://github.com/PeterSuh-Q3/SynoSmartInfo). The package is really nice. Though it's still using syno_smart_info.sh v1.3.15. <img width="1008" height="564" alt="Image" src="https://github.com/user-attachments/assets/92f4b1a6-7663-4cde-8607-8eb858038d41" /> <img width="640" height="986" alt="Image" src="https://github.com/user-attachments/assets/2e4e9c73-763a-4f89-8084-9965032243a6" /> <img width="1080" height="982" alt="Image" src="https://github.com/user-attachments/assets/384d4d4f-ee79-4860-b083-3132e7a49b24" /> I updated the installed package on my Synology to add the `-i` option and make sure none of my recent script changes had broken anything for the package. <img width="700" height="851" alt="Image" src="https://github.com/user-attachments/assets/c25b83b2-4cd6-41a0-9bc0-9f4183b4ecaf" /> <img width="703" height="799" alt="Image" src="https://github.com/user-attachments/assets/276bd634-8e0e-435c-b2e1-73c9175447b4" />
Author
Owner

@007revad commented on GitHub (Oct 7, 2025):

v1.4.23 had a bug where the first time an attribute with a value greater than zero was added to the log it was displayed as having increased.

Fixed in v1.4.24

<!-- gh-comment-id:3374738179 --> @007revad commented on GitHub (Oct 7, 2025): v1.4.23 had a bug where the first time an attribute with a value greater than zero was added to the log it was displayed as having increased. Fixed in [v1.4.24](https://github.com/007revad/Synology_SMART_info/releases/tag/v1.4.24)
Author
Owner

@framps commented on GitHub (Oct 7, 2025):

1.4.24 works great now 👍

I did some additional testing with invalid data 🤡 (I think it doesn't make sense to write a parser but makes sense to check for and report common typos) and had following findings:

  1. If a negative number is used that works perfect 👍
  2. If no number follows = or =misses it's ignored. Maybe interpret an empty argument as zero? That way a user gets an indication about the typo.
  3. If some invalid number is used, e.g. abc it looks like the actual value is reported as the increased value. Same as in (2) ?
  4. If an unknown SMART value is used it's ignored. Maybe write a warning message?

So I'm fine with the current implementation. Again: Great work 👍Thank you very much.

Another idea popped up when I did some testing but question is whether there is actually need for this feature. It will definitely require much more coding 😟

The temperature and power on hours are not monitored. Not sure whether there will be need to check whether a value gets greater or lower than a defined threshold. For example it may be interesting for the temperature or power on hours. It also may be interesting for folks who don't care about an increase of a raw error read rate until it exceeds a defined threshold. Maybe just wait until somebody asks for this feature?

<!-- gh-comment-id:3375717814 --> @framps commented on GitHub (Oct 7, 2025): 1.4.24 works great now 👍 I did some additional testing with invalid data 🤡 (I think it doesn't make sense to write a parser but makes sense to check for and report common typos) and had following findings: 1) If a negative number is used that works perfect 👍 2) If no number follows `=` or `=`misses it's ignored. Maybe interpret an empty argument as zero? That way a user gets an indication about the typo. 3) If some invalid number is used, e.g. `abc` it looks like the actual value is reported as the increased value. Same as in (2) ? 4) If an unknown SMART value is used it's ignored. Maybe write a warning message? So I'm fine with the current implementation. Again: Great work 👍Thank you very much. Another idea popped up when I did some testing but question is whether there is actually need for this feature. It will definitely require much more coding 😟 The temperature and power on hours are not monitored. Not sure whether there will be need to check whether a value gets greater or lower than a defined threshold. For example it may be interesting for the temperature or power on hours. It also may be interesting for folks who don't care about an increase of a raw error read rate until it exceeds a defined threshold. Maybe just wait until somebody asks for this feature?
Author
Owner

@framps commented on GitHub (Oct 7, 2025):

I support somebody who has four DS1821+ and an attached DX517. Unfortunately I don't have access rights right now to execute tests. But I'm going to update your script on the systems and will execute tests 😉

<!-- gh-comment-id:3375801543 --> @framps commented on GitHub (Oct 7, 2025): I support somebody who has four DS1821+ and an attached DX517. Unfortunately I don't have access rights right now to execute tests. But I'm going to update your script on the systems and will execute tests 😉
Author
Owner

@PeterSuh-Q3 commented on GitHub (Oct 12, 2025):

I think (2) would actually take a lot less coding than (1).

One of the Xpenology developers uses my syno_smart_info.sh script in their SynoSmartInfo package. https://github.com/PeterSuh-Q3/SynoSmartInfo

A month ago they added check_udma_crc.sh which logs UDMA CRC errors for Seagate HDDs and sends a message to telegram when the UDMA CRC error count increases. I don't know why they only log Seagate drives, or if they intend adding logging for other important attributes as well

You already analyzed my check_udma_crc.sh script last week.
It's not a script specifically for Seagate HDDs.
I only distinguished Seagate HDDs by the different syntax of the "Device Model"/"Serial Number" text. It works fine for other HDDs as well.

I think you can close my idea from yesterday's discussion.
It seems you've already covered what I suggested and are ahead of the curve. ^^

https://github.com/007revad/Synology_SMART_info/discussions/37

I also tested your final script to see how error values ​​are recorded on disks experiencing errors.
As expected, SAS disks lack sufficient information, so I can't gain anything.

Image
root@NAS5:/var/packages/Synosmartinfo/target/bin# cat smart.log

[WDZD5V93]
drive_num=Drive 1
Command_Timeout=12885098500
model=ST2000LM015-2E8174
device=/dev/sata1

[406SD27AS]
drive_num=Drive 2
model=DT01ABA200V
device=/dev/sata2
UDMA_CRC_Error_Count=176

[WDZBNLC9]
drive_num=Drive 3
model=ST2000LM015-2E8174
device=/dev/sata3
UDMA_CRC_Error_Count=1

[WD-WMC4N0L5M77D]
drive_num=Drive 4
model=WD30PURX-64P6ZY0
Current_Pending_Sector=1
device=/dev/sata4
UDMA_CRC_Error_Count=54
Raw_Read_Error_Rate=250

[YXGKR64K]
drive_num=Drive 5
model=HUS72303CLAR3000
device=/dev/sata5

[YXGLMV7K]
drive_num=Drive 6
model=HUS72303CLAR3000
device=/dev/sata6

[YXGKYMKK]
drive_num=Drive 7
model=HUS72303CLAR3000
device=/dev/sata7

[YXGM31PK]
drive_num=Drive 8
model=HUS72303CLAR3000
device=/dev/sata8
<!-- gh-comment-id:3393796231 --> @PeterSuh-Q3 commented on GitHub (Oct 12, 2025): > I think (2) would actually take a lot less coding than (1). > > One of the Xpenology developers uses my syno_smart_info.sh script in their SynoSmartInfo package. https://github.com/PeterSuh-Q3/SynoSmartInfo > > A month ago they added check_udma_crc.sh which logs UDMA CRC errors for Seagate HDDs and sends a message to telegram when the UDMA CRC error count increases. I don't know why they only log Seagate drives, or if they intend adding logging for other important attributes as well > You already analyzed my check_udma_crc.sh script last week. It's not a script specifically for Seagate HDDs. I only distinguished Seagate HDDs by the different syntax of the "Device Model"/"Serial Number" text. It works fine for other HDDs as well. I think you can close my idea from yesterday's discussion. It seems you've already covered what I suggested and are ahead of the curve. ^^ https://github.com/007revad/Synology_SMART_info/discussions/37 I also tested your final script to see how error values ​​are recorded on disks experiencing errors. As expected, SAS disks lack sufficient information, so I can't gain anything. <img width="672" height="631" alt="Image" src="https://github.com/user-attachments/assets/0487021e-b4d2-46cb-a1d7-31cbc08e25d8" /> ``` root@NAS5:/var/packages/Synosmartinfo/target/bin# cat smart.log [WDZD5V93] drive_num=Drive 1 Command_Timeout=12885098500 model=ST2000LM015-2E8174 device=/dev/sata1 [406SD27AS] drive_num=Drive 2 model=DT01ABA200V device=/dev/sata2 UDMA_CRC_Error_Count=176 [WDZBNLC9] drive_num=Drive 3 model=ST2000LM015-2E8174 device=/dev/sata3 UDMA_CRC_Error_Count=1 [WD-WMC4N0L5M77D] drive_num=Drive 4 model=WD30PURX-64P6ZY0 Current_Pending_Sector=1 device=/dev/sata4 UDMA_CRC_Error_Count=54 Raw_Read_Error_Rate=250 [YXGKR64K] drive_num=Drive 5 model=HUS72303CLAR3000 device=/dev/sata5 [YXGLMV7K] drive_num=Drive 6 model=HUS72303CLAR3000 device=/dev/sata6 [YXGKYMKK] drive_num=Drive 7 model=HUS72303CLAR3000 device=/dev/sata7 [YXGM31PK] drive_num=Drive 8 model=HUS72303CLAR3000 device=/dev/sata8 ```
Author
Owner

@007revad commented on GitHub (Oct 12, 2025):

I wasn't aware that the smartctl output for SAS HDDs was so different to SATA HDDs. Is the output for SAS SSDs the same as for SATA SSDs?

I can monitor "Elements in grown defect list" and possibly "Total uncorrected errors" from the Error counter log.

<!-- gh-comment-id:3393855083 --> @007revad commented on GitHub (Oct 12, 2025): I wasn't aware that the smartctl output for SAS HDDs was so different to SATA HDDs. Is the output for SAS SSDs the same as for SATA SSDs? I can monitor "Elements in grown defect list" and possibly "Total uncorrected errors" from the Error counter log.
Author
Owner

@007revad commented on GitHub (Oct 12, 2025):

What does the following output?
smartctl7 -H -d scsi -T permissive /dev/sata5

And this?
smartctl7 -A -d scsi /dev/sata5

And the smartctl v6 outputs:
smartctl -H -d scsi -T permissive /dev/sata5

smartctl -A -d scsi /dev/sata5

<!-- gh-comment-id:3393865122 --> @007revad commented on GitHub (Oct 12, 2025): What does the following output? `smartctl7 -H -d scsi -T permissive /dev/sata5` And this? `smartctl7 -A -d scsi /dev/sata5` And the smartctl v6 outputs: `smartctl -H -d scsi -T permissive /dev/sata5` `smartctl -A -d scsi /dev/sata5`
Author
Owner

@PeterSuh-Q3 commented on GitHub (Oct 12, 2025):

What does the following output? smartctl7 -H -d scsi -T permissive /dev/sata5

And this? smartctl7 -A -d scsi /dev/sata5

And the smartctl v6 outputs: smartctl -H -d scsi -T permissive /dev/sata5

smartctl -A -d scsi /dev/sata5

root@NAS5:~# smartctl7 -H -d scsi -T permissive /dev/sata5
smartctl 7.5 2025-04-30 r5714 [x86_64-linux-5.10.55+] (local build)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

root@NAS5:~# smartctl7 -A -d scsi /dev/sata5
smartctl 7.5 2025-04-30 r5714 [x86_64-linux-5.10.55+] (local build)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
Current Drive Temperature:     32 C
Drive Trip Temperature:        85 C

Accumulated power on time, hours:minutes 888:46
Manufactured in week 03 of year 2014
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  114
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  2628
Elements in grown defect list: 0

root@NAS5:~# smartctl -H -d scsi -T permissive /dev/sata5
smartctl 6.5 (build date Sep 26 2022) [x86_64-linux-5.10.55+] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

root@NAS5:~# smartctl -A -d scsi /dev/sata5
smartctl 6.5 (build date Sep 26 2022) [x86_64-linux-5.10.55+] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
Current Drive Temperature:     32 C
Drive Trip Temperature:        85 C

Manufactured in week 03 of year 2014
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  114
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  2628
Elements in grown defect list: 0

Vendor (Seagate) cache information
  Blocks sent to initiator = 9288674231451648

<!-- gh-comment-id:3393934444 --> @PeterSuh-Q3 commented on GitHub (Oct 12, 2025): > What does the following output? `smartctl7 -H -d scsi -T permissive /dev/sata5` > > And this? `smartctl7 -A -d scsi /dev/sata5` > > And the smartctl v6 outputs: `smartctl -H -d scsi -T permissive /dev/sata5` > > `smartctl -A -d scsi /dev/sata5` ``` root@NAS5:~# smartctl7 -H -d scsi -T permissive /dev/sata5 smartctl 7.5 2025-04-30 r5714 [x86_64-linux-5.10.55+] (local build) Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === SMART Health Status: OK root@NAS5:~# smartctl7 -A -d scsi /dev/sata5 smartctl 7.5 2025-04-30 r5714 [x86_64-linux-5.10.55+] (local build) Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === Current Drive Temperature: 32 C Drive Trip Temperature: 85 C Accumulated power on time, hours:minutes 888:46 Manufactured in week 03 of year 2014 Specified cycle count over device lifetime: 50000 Accumulated start-stop cycles: 114 Specified load-unload count over device lifetime: 600000 Accumulated load-unload cycles: 2628 Elements in grown defect list: 0 root@NAS5:~# smartctl -H -d scsi -T permissive /dev/sata5 smartctl 6.5 (build date Sep 26 2022) [x86_64-linux-5.10.55+] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === SMART Health Status: OK root@NAS5:~# smartctl -A -d scsi /dev/sata5 smartctl 6.5 (build date Sep 26 2022) [x86_64-linux-5.10.55+] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === Current Drive Temperature: 32 C Drive Trip Temperature: 85 C Manufactured in week 03 of year 2014 Specified cycle count over device lifetime: 50000 Accumulated start-stop cycles: 114 Specified load-unload count over device lifetime: 600000 Accumulated load-unload cycles: 2628 Elements in grown defect list: 0 Vendor (Seagate) cache information Blocks sent to initiator = 9288674231451648 ```
Author
Owner

@PeterSuh-Q3 commented on GitHub (Oct 12, 2025):

This is something you should consider after all your tests are complete.

If the -i option detects an error and sends an email notification, wouldn't that only happen when the user performs the test?

Shouldn't it detect errors periodically and send email notifications to the user?

My udma-crc-check uses a timer and service, as shown below, to check every hour and notify the user via Telegram when an increase in the ID:199 UDMA CRC count is detected.

https://github.com/PeterSuh-Q3/tcrp-addons/tree/main/udma-crc-check/auxfiles

https://github.com/PeterSuh-Q3/tcrp-addons/blob/main/udma-crc-check/src/install.sh

Shouldn't this kind of periodic detection be necessary?

<!-- gh-comment-id:3393939060 --> @PeterSuh-Q3 commented on GitHub (Oct 12, 2025): This is something you should consider after all your tests are complete. If the -i option detects an error and sends an email notification, wouldn't that only happen when the user performs the test? Shouldn't it detect errors periodically and send email notifications to the user? My udma-crc-check uses a timer and service, as shown below, to check every hour and notify the user via Telegram when an increase in the ID:199 UDMA CRC count is detected. https://github.com/PeterSuh-Q3/tcrp-addons/tree/main/udma-crc-check/auxfiles https://github.com/PeterSuh-Q3/tcrp-addons/blob/main/udma-crc-check/src/install.sh Shouldn't this kind of periodic detection be necessary?
Author
Owner

@PeterSuh-Q3 commented on GitHub (Oct 12, 2025):

If you want to see it in more detail, you can see it like this.

root@NAS5:~# smartctl -d scsi --all /dev/sata5
smartctl 6.5 (build date Sep 26 2022) [x86_64-linux-5.10.55+] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HITACHI
Product:              HUS72303CLAR3000
Revision:             C442
Compliance:           SPC-4
User Capacity:        3,000,592,982,016 bytes [3.00 TB]
Logical block size:   512 bytes
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000cca04620368c
Serial number:        YXGKR64K
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sun Oct 12 14:15:17 2025 KST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Disabled or Not Supported

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     37 C
Drive Trip Temperature:        85 C

Manufactured in week 03 of year 2014
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  114
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  2628
Elements in grown defect list: 0

Vendor (Seagate) cache information
  Blocks sent to initiator = 9288674231451648

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0       28         0        28   32655674     363169.530           0
write:         0        0         0         0    1114316     451282.434           0
verify:        0        2         0         2    5587833      21637.281           0

Non-medium error count:        0

No self-tests have been logged
<!-- gh-comment-id:3393942531 --> @PeterSuh-Q3 commented on GitHub (Oct 12, 2025): If you want to see it in more detail, you can see it like this. ``` root@NAS5:~# smartctl -d scsi --all /dev/sata5 smartctl 6.5 (build date Sep 26 2022) [x86_64-linux-5.10.55+] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Vendor: HITACHI Product: HUS72303CLAR3000 Revision: C442 Compliance: SPC-4 User Capacity: 3,000,592,982,016 bytes [3.00 TB] Logical block size: 512 bytes Rotation Rate: 7200 rpm Form Factor: 3.5 inches Logical Unit id: 0x5000cca04620368c Serial number: YXGKR64K Device type: disk Transport protocol: SAS (SPL-3) Local Time is: Sun Oct 12 14:15:17 2025 KST SMART support is: Available - device has SMART capability. SMART support is: Enabled Temperature Warning: Disabled or Not Supported === START OF READ SMART DATA SECTION === SMART Health Status: OK Current Drive Temperature: 37 C Drive Trip Temperature: 85 C Manufactured in week 03 of year 2014 Specified cycle count over device lifetime: 50000 Accumulated start-stop cycles: 114 Specified load-unload count over device lifetime: 600000 Accumulated load-unload cycles: 2628 Elements in grown defect list: 0 Vendor (Seagate) cache information Blocks sent to initiator = 9288674231451648 Error counter log: Errors Corrected by Total Correction Gigabytes Total ECC rereads/ errors algorithm processed uncorrected fast | delayed rewrites corrected invocations [10^9 bytes] errors read: 0 28 0 28 32655674 363169.530 0 write: 0 0 0 0 1114316 451282.434 0 verify: 0 2 0 2 5587833 21637.281 0 Non-medium error count: 0 No self-tests have been logged ```
Author
Owner

@PeterSuh-Q3 commented on GitHub (Oct 12, 2025):

I tried using the third-party SMART utility provided by Seagate, but it didn't provide the information I wanted for SAS disks. I'll continue to investigate to see if there are any alternatives.

https://github.com/Seagate/ToolBin/blob/master/openSeaChest/bin-build/22.07.26/Lin64/openSeaChest_SMART

root@NAS5:/opt/openseachest# ./openSeaChest_SMART -d /dev/sg5 -i
==========================================================================================
 openSeaChest_SMART - openSeaChest drive utilities - NVMe Enabled
 Copyright (c) 2014-2022 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
 openSeaChest_SMART Version: 2.1.1-3_2_1 X86_64
 Build Date: Jul 26 2022
 Today: Sun Oct 12 14:35:04 2025        User: root
==========================================================================================

/dev/sg5 - HUS72303CLAR3000 - YXGKR64K - C442 - SCSI
        Vendor ID: HITACHI 
        Model Number: HUS72303CLAR3000
        Serial Number: YXGKR64K
        Firmware Revision: C442
        World Wide Name: 5000CCA04620368C
        Drive Capacity (TB/TiB): 3.00/2.73
        Temperature Data:
                Current Temperature (C): 40
                Highest Temperature (C): Not Reported
                Lowest Temperature (C): Not Reported
        Power On Time:  37 days 1 hour 20 minutes 
        Power On Hours: 889.33
        MaxLBA: 5860533167
        Native MaxLBA: Not Reported
        Logical Sector Size (B): 512
        Physical Sector Size (B): 512
        Sector Alignment: 0
        Rotation Rate (RPM): 7200
        Form Factor: 3.5"
        Last DST information:
                DST has never been run
        Long Drive Self Test Time:  1 minute 
        Interface speed:
                Port 0
                        Max Speed (GB/s): 6.0
                        Negotiated Speed (Gb/s): 6.0
                Port 1
                        Max Speed (GB/s): 6.0
                        Negotiated Speed (Gb/s): Not Reported
        Annualized Workload Rate (TB/yr): 8022.41
        Total Bytes Read (TB): 363.17
        Total Bytes Written (TB): 451.28
        Encryption Support: Not Supported
        Cache Size (MiB): Not Reported
        Read Look-Ahead: Enabled
        Write Cache: Disabled
        SMART Status: Good
        ATA Security Information: Not Supported
        Firmware Download Support: Full, Segmented
        Number of Logical Units: 1
        Specifications Supported:
                SPC-4
                ----
                ----
                ----
                ----
                ----
                ----
                ----
                ----
        Features Supported:
                Protection Type 1
                Protection Type 2
                Persistent Reservations
                Application Client Logging
                Self Test
                EPC
                Informational Exceptions [Mode 4]
                Translate Address
                Format Unit
        Adapter Information:
                Adapter Type: PCI
                Vendor ID: 1000h
                Product ID: 0072h
                Revision: 0003h
<!-- gh-comment-id:3393953457 --> @PeterSuh-Q3 commented on GitHub (Oct 12, 2025): I tried using the third-party SMART utility provided by Seagate, but it didn't provide the information I wanted for SAS disks. I'll continue to investigate to see if there are any alternatives. https://github.com/Seagate/ToolBin/blob/master/openSeaChest/bin-build/22.07.26/Lin64/openSeaChest_SMART ``` root@NAS5:/opt/openseachest# ./openSeaChest_SMART -d /dev/sg5 -i ========================================================================================== openSeaChest_SMART - openSeaChest drive utilities - NVMe Enabled Copyright (c) 2014-2022 Seagate Technology LLC and/or its Affiliates, All Rights Reserved openSeaChest_SMART Version: 2.1.1-3_2_1 X86_64 Build Date: Jul 26 2022 Today: Sun Oct 12 14:35:04 2025 User: root ========================================================================================== /dev/sg5 - HUS72303CLAR3000 - YXGKR64K - C442 - SCSI Vendor ID: HITACHI Model Number: HUS72303CLAR3000 Serial Number: YXGKR64K Firmware Revision: C442 World Wide Name: 5000CCA04620368C Drive Capacity (TB/TiB): 3.00/2.73 Temperature Data: Current Temperature (C): 40 Highest Temperature (C): Not Reported Lowest Temperature (C): Not Reported Power On Time: 37 days 1 hour 20 minutes Power On Hours: 889.33 MaxLBA: 5860533167 Native MaxLBA: Not Reported Logical Sector Size (B): 512 Physical Sector Size (B): 512 Sector Alignment: 0 Rotation Rate (RPM): 7200 Form Factor: 3.5" Last DST information: DST has never been run Long Drive Self Test Time: 1 minute Interface speed: Port 0 Max Speed (GB/s): 6.0 Negotiated Speed (Gb/s): 6.0 Port 1 Max Speed (GB/s): 6.0 Negotiated Speed (Gb/s): Not Reported Annualized Workload Rate (TB/yr): 8022.41 Total Bytes Read (TB): 363.17 Total Bytes Written (TB): 451.28 Encryption Support: Not Supported Cache Size (MiB): Not Reported Read Look-Ahead: Enabled Write Cache: Disabled SMART Status: Good ATA Security Information: Not Supported Firmware Download Support: Full, Segmented Number of Logical Units: 1 Specifications Supported: SPC-4 ---- ---- ---- ---- ---- ---- ---- ---- Features Supported: Protection Type 1 Protection Type 2 Persistent Reservations Application Client Logging Self Test EPC Informational Exceptions [Mode 4] Translate Address Format Unit Adapter Information: Adapter Type: PCI Vendor ID: 1000h Product ID: 0072h Revision: 0003h ```
Author
Owner

@PeterSuh-Q3 commented on GitHub (Oct 12, 2025):

I used this tool to find information matching ID:199, but I'm not sure how to use it. Apparently, these three items with numbers greater than 0 correspond to ID:199.

Image
<!-- gh-comment-id:3393967719 --> @PeterSuh-Q3 commented on GitHub (Oct 12, 2025): I used this tool to find information matching ID:199, but I'm not sure how to use it. Apparently, these three items with numbers greater than 0 correspond to ID:199. <img width="810" height="229" alt="Image" src="https://github.com/user-attachments/assets/ea7f55ff-a7a1-4725-93c3-4182ba6cec35" />
Author
Owner

@007revad commented on GitHub (Oct 12, 2025):

If the -i option detects an error and sends an email notification, wouldn't that only happen when the user performs the test?

The email gets sent by task scheduler, and only if the user has enabled "Send run details by email" and "Send run details only when the script terminates abnormally" for the scheduled task, and enabled email notifications in Control Panel.

Image

Shouldn't it detect errors periodically and send email notifications to the user?

Some people who downloaded the script schedule it to run every day. People who have installed your package could schedule /var/packages/Synosmartinfo/target/bin/syno_smart_info.sh -i

<!-- gh-comment-id:3393974302 --> @007revad commented on GitHub (Oct 12, 2025): > If the -i option detects an error and sends an email notification, wouldn't that only happen when the user performs the test? The email gets sent by task scheduler, and only if the user has enabled "Send run details by email" and "Send run details only when the script terminates abnormally" for the scheduled task, and enabled email notifications in Control Panel. <img width="534" height="421" alt="Image" src="https://github.com/user-attachments/assets/84974e8b-c04c-4e6f-b699-c5744872eb18" /> > Shouldn't it detect errors periodically and send email notifications to the user? Some people who downloaded the script schedule it to run every day. People who have installed your package could schedule `/var/packages/Synosmartinfo/target/bin/syno_smart_info.sh -i`
Author
Owner

@007revad commented on GitHub (Oct 12, 2025):

Maybe Seagate adds "Invalid Dword Count", "Running Disparit Error Count" and "Loss of Dword Snchronization Count" together for the UDMA CRC Error Count.

<!-- gh-comment-id:3393979865 --> @007revad commented on GitHub (Oct 12, 2025): Maybe Seagate adds "Invalid Dword Count", "Running Disparit Error Count" and "Loss of Dword Snchronization Count" together for the UDMA CRC Error Count.
Author
Owner

@007revad commented on GitHub (Oct 12, 2025):

@PeterSuh-Q3
Can you try this one: syno_smart_info.zip

Please run it as syno_smart_info.sh and syno_smart_info.sh -i

And show me what output looks like for one of the SAS drives. And the contents of smart.log after running syno_smart_info.sh -i

<!-- gh-comment-id:3394157645 --> @007revad commented on GitHub (Oct 12, 2025): @PeterSuh-Q3 Can you try this one: [syno_smart_info.zip](https://github.com/user-attachments/files/22870868/syno_smart_info.zip) Please run it as `syno_smart_info.sh` and `syno_smart_info.sh -i` And show me what output looks like for one of the SAS drives. And the contents of smart.log after running `syno_smart_info.sh -i`
Author
Owner

@PeterSuh-Q3 commented on GitHub (Oct 12, 2025):

root@NAS5:/var/packages/Synosmartinfo/target/bin# ./syno_smart_info.sh
Synology_SMART_info v1.4.25 - by 007revad
NAS5 SA6400 DSM 7.2.2-72806-3 
Using smartctl 7.5

Drive 1  ST2000LM015-2E8174  WDZD5V93  /dev/sata1
SMART overall-health self-assessment test result: PASSED
Please note the following marginal Attributes:
ID# ATTRIBUTE_NAME          FLAG    N_FAILED RAW_VALUE
190 Airflow_Temperature_Cel 0x0022  the_past 30 (0 17 30 24 0)
SMART Error Counter Log:         2
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               14727
 10 Spin_Retry_Count             0
187 Reported_Uncorrect           0
188 Command_Timeout              12885098500
194 Temperature_Celsius          30
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         0

Drive 2  DT01ABA200V  406SD27AS  /dev/sata2
SMART overall-health self-assessment test result: PASSED
SMART Error Counter Log:         176
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               3077
 10 Spin_Retry_Count             0
194 Temperature_Celsius          30
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         176

Drive 3  ST2000LM015-2E8174  WDZBNLC9  /dev/sata3
SMART overall-health self-assessment test result: PASSED
Please note the following marginal Attributes:
ID# ATTRIBUTE_NAME          FLAG    N_FAILED RAW_VALUE
190 Airflow_Temperature_Cel 0x0022  the_past 31 (Min/Max 25/31)
SMART Error Counter Log:         4
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               10471
 10 Spin_Retry_Count             0
187 Reported_Uncorrect           0
188 Command_Timeout              0
194 Temperature_Celsius          31
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         1

Drive 4  WD30PURX-64P6ZY0  WD-WMC4N0L5M77D  /dev/sata4
SMART overall-health self-assessment test result: PASSED
SMART Error Counter Log:         No Errors Logged
  1 Raw_Read_Error_Rate          250
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               4701
 10 Spin_Retry_Count             0
194 Temperature_Celsius          28
197 Current_Pending_Sector       1
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         54
200 Multi_Zone_Error_Rate        0

Drive 5  HUS72303CLAR3000  YXGKR64K  /dev/sata5
SMART Health Status: OK
SMART Error Counter Log:         No Errors Logged
194 Current Drive Temperature:      34 C
  5 Elements in grown defect list:  0

Drive 6  HUS72303CLAR3000  YXGLMV7K  /dev/sata6
SMART Health Status: OK
SMART Error Counter Log:         No Errors Logged
194 Current Drive Temperature:      36 C
  5 Elements in grown defect list:  0

Drive 7  HUS72303CLAR3000  YXGKYMKK  /dev/sata7
SMART Health Status: OK
SMART Error Counter Log:         No Errors Logged
194 Current Drive Temperature:      36 C
  5 Elements in grown defect list:  0

Drive 8  HUS72303CLAR3000  YXGM31PK  /dev/sata8
SMART Health Status: OK
SMART Error Counter Log:         No Errors Logged
194 Current Drive Temperature:      36 C
  5 Elements in grown defect list:  0

Finished

root@NAS5:/var/packages/Synosmartinfo/target/bin# ./syno_smart_info.sh -i
Synology_SMART_info v1.4.25 - by 007revad
NAS5 SA6400 DSM 7.2.2-72806-3 
Using smartctl 7.5
Using options: -i

No drives have increased important SMART attributes

Finished

root@NAS5:/var/packages/Synosmartinfo/target/bin# ll
total 48
drwxr-xr-x 1 Synosmartinfo Synosmartinfo    54 Oct 12 20:10 .
drwxr-xr-x 1 Synosmartinfo Synosmartinfo    30 Aug 15 01:05 ..
-rw-rw-rw- 1 root          root           1320 Oct 12 20:10 smart.log
-rwxr-xr-x 1 Synosmartinfo Synosmartinfo 44104 Oct 12 20:09 syno_smart_info.sh
root@NAS5:/var/packages/Synosmartinfo/target/bin# cat smart.log
[WDZD5V93]
drive_num=Drive 1
Command_Timeout=12885098500
model=ST2000LM015-2E8174
Current_Pending_Sector=0
device=/dev/sata1
UDMA_CRC_Error_Count=0
Seek_Error_Rate=0
Reported_Uncorrect=0
Offline_Uncorrectable=0
Reallocated_Sector_Ct=0
Raw_Read_Error_Rate=0
Spin_Retry_Count=0
[406SD27AS]
drive_num=Drive 2
model=DT01ABA200V
Current_Pending_Sector=0
device=/dev/sata2
UDMA_CRC_Error_Count=176
Seek_Error_Rate=0
Offline_Uncorrectable=0
Reallocated_Sector_Ct=0
Raw_Read_Error_Rate=0
Spin_Retry_Count=0
[WDZBNLC9]
drive_num=Drive 3
Command_Timeout=0
model=ST2000LM015-2E8174
Current_Pending_Sector=0
device=/dev/sata3
UDMA_CRC_Error_Count=1
Seek_Error_Rate=0
Reported_Uncorrect=0
Offline_Uncorrectable=0
Reallocated_Sector_Ct=0
Raw_Read_Error_Rate=0
Spin_Retry_Count=0
[WD-WMC4N0L5M77D]
drive_num=Drive 4
model=WD30PURX-64P6ZY0
Current_Pending_Sector=1
Multi_Zone_Error_Rate=0
device=/dev/sata4
UDMA_CRC_Error_Count=54
Seek_Error_Rate=0
Offline_Uncorrectable=0
Reallocated_Sector_Ct=0
Raw_Read_Error_Rate=250
Spin_Retry_Count=0
[YXGKR64K]
drive_num=Drive 5
model=HUS72303CLAR3000
device=/dev/sata5
in=
[YXGLMV7K]
drive_num=Drive 6
model=HUS72303CLAR3000
device=/dev/sata6
in=
[YXGKYMKK]
drive_num=Drive 7
model=HUS72303CLAR3000
device=/dev/sata7
in=
[YXGM31PK]
drive_num=Drive 8
model=HUS72303CLAR3000
device=/dev/sata8
in=
root@NAS5:/var/packages/Synosmartinfo/target/bin# 
<!-- gh-comment-id:3394178554 --> @PeterSuh-Q3 commented on GitHub (Oct 12, 2025): ``` root@NAS5:/var/packages/Synosmartinfo/target/bin# ./syno_smart_info.sh Synology_SMART_info v1.4.25 - by 007revad NAS5 SA6400 DSM 7.2.2-72806-3 Using smartctl 7.5 Drive 1 ST2000LM015-2E8174 WDZD5V93 /dev/sata1 SMART overall-health self-assessment test result: PASSED Please note the following marginal Attributes: ID# ATTRIBUTE_NAME FLAG N_FAILED RAW_VALUE 190 Airflow_Temperature_Cel 0x0022 the_past 30 (0 17 30 24 0) SMART Error Counter Log: 2 1 Raw_Read_Error_Rate 0 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 14727 10 Spin_Retry_Count 0 187 Reported_Uncorrect 0 188 Command_Timeout 12885098500 194 Temperature_Celsius 30 197 Current_Pending_Sector 0 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 0 Drive 2 DT01ABA200V 406SD27AS /dev/sata2 SMART overall-health self-assessment test result: PASSED SMART Error Counter Log: 176 1 Raw_Read_Error_Rate 0 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 3077 10 Spin_Retry_Count 0 194 Temperature_Celsius 30 197 Current_Pending_Sector 0 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 176 Drive 3 ST2000LM015-2E8174 WDZBNLC9 /dev/sata3 SMART overall-health self-assessment test result: PASSED Please note the following marginal Attributes: ID# ATTRIBUTE_NAME FLAG N_FAILED RAW_VALUE 190 Airflow_Temperature_Cel 0x0022 the_past 31 (Min/Max 25/31) SMART Error Counter Log: 4 1 Raw_Read_Error_Rate 0 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 10471 10 Spin_Retry_Count 0 187 Reported_Uncorrect 0 188 Command_Timeout 0 194 Temperature_Celsius 31 197 Current_Pending_Sector 0 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 1 Drive 4 WD30PURX-64P6ZY0 WD-WMC4N0L5M77D /dev/sata4 SMART overall-health self-assessment test result: PASSED SMART Error Counter Log: No Errors Logged 1 Raw_Read_Error_Rate 250 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 4701 10 Spin_Retry_Count 0 194 Temperature_Celsius 28 197 Current_Pending_Sector 1 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 54 200 Multi_Zone_Error_Rate 0 Drive 5 HUS72303CLAR3000 YXGKR64K /dev/sata5 SMART Health Status: OK SMART Error Counter Log: No Errors Logged 194 Current Drive Temperature: 34 C 5 Elements in grown defect list: 0 Drive 6 HUS72303CLAR3000 YXGLMV7K /dev/sata6 SMART Health Status: OK SMART Error Counter Log: No Errors Logged 194 Current Drive Temperature: 36 C 5 Elements in grown defect list: 0 Drive 7 HUS72303CLAR3000 YXGKYMKK /dev/sata7 SMART Health Status: OK SMART Error Counter Log: No Errors Logged 194 Current Drive Temperature: 36 C 5 Elements in grown defect list: 0 Drive 8 HUS72303CLAR3000 YXGM31PK /dev/sata8 SMART Health Status: OK SMART Error Counter Log: No Errors Logged 194 Current Drive Temperature: 36 C 5 Elements in grown defect list: 0 Finished root@NAS5:/var/packages/Synosmartinfo/target/bin# ./syno_smart_info.sh -i Synology_SMART_info v1.4.25 - by 007revad NAS5 SA6400 DSM 7.2.2-72806-3 Using smartctl 7.5 Using options: -i No drives have increased important SMART attributes Finished root@NAS5:/var/packages/Synosmartinfo/target/bin# ll total 48 drwxr-xr-x 1 Synosmartinfo Synosmartinfo 54 Oct 12 20:10 . drwxr-xr-x 1 Synosmartinfo Synosmartinfo 30 Aug 15 01:05 .. -rw-rw-rw- 1 root root 1320 Oct 12 20:10 smart.log -rwxr-xr-x 1 Synosmartinfo Synosmartinfo 44104 Oct 12 20:09 syno_smart_info.sh root@NAS5:/var/packages/Synosmartinfo/target/bin# cat smart.log [WDZD5V93] drive_num=Drive 1 Command_Timeout=12885098500 model=ST2000LM015-2E8174 Current_Pending_Sector=0 device=/dev/sata1 UDMA_CRC_Error_Count=0 Seek_Error_Rate=0 Reported_Uncorrect=0 Offline_Uncorrectable=0 Reallocated_Sector_Ct=0 Raw_Read_Error_Rate=0 Spin_Retry_Count=0 [406SD27AS] drive_num=Drive 2 model=DT01ABA200V Current_Pending_Sector=0 device=/dev/sata2 UDMA_CRC_Error_Count=176 Seek_Error_Rate=0 Offline_Uncorrectable=0 Reallocated_Sector_Ct=0 Raw_Read_Error_Rate=0 Spin_Retry_Count=0 [WDZBNLC9] drive_num=Drive 3 Command_Timeout=0 model=ST2000LM015-2E8174 Current_Pending_Sector=0 device=/dev/sata3 UDMA_CRC_Error_Count=1 Seek_Error_Rate=0 Reported_Uncorrect=0 Offline_Uncorrectable=0 Reallocated_Sector_Ct=0 Raw_Read_Error_Rate=0 Spin_Retry_Count=0 [WD-WMC4N0L5M77D] drive_num=Drive 4 model=WD30PURX-64P6ZY0 Current_Pending_Sector=1 Multi_Zone_Error_Rate=0 device=/dev/sata4 UDMA_CRC_Error_Count=54 Seek_Error_Rate=0 Offline_Uncorrectable=0 Reallocated_Sector_Ct=0 Raw_Read_Error_Rate=250 Spin_Retry_Count=0 [YXGKR64K] drive_num=Drive 5 model=HUS72303CLAR3000 device=/dev/sata5 in= [YXGLMV7K] drive_num=Drive 6 model=HUS72303CLAR3000 device=/dev/sata6 in= [YXGKYMKK] drive_num=Drive 7 model=HUS72303CLAR3000 device=/dev/sata7 in= [YXGM31PK] drive_num=Drive 8 model=HUS72303CLAR3000 device=/dev/sata8 in= root@NAS5:/var/packages/Synosmartinfo/target/bin# ```
Author
Owner

@007revad commented on GitHub (Oct 13, 2025):

@PeterSuh-Q3
Can you try this one: syno_smart_info2.zip

Again, please run it as syno_smart_info.sh and syno_smart_info.sh -i

And show me what output looks like for one of the SAS drives. And the contents of smart.log after running syno_smart_info.sh -i

<!-- gh-comment-id:3395561236 --> @007revad commented on GitHub (Oct 13, 2025): @PeterSuh-Q3 Can you try this one: [syno_smart_info2.zip](https://github.com/user-attachments/files/22875500/syno_smart_info2.zip) Again, please run it as `syno_smart_info.sh` and `syno_smart_info.sh -i` And show me what output looks like for one of the SAS drives. And the contents of smart.log after running `syno_smart_info.sh -i`
Author
Owner

@PeterSuh-Q3 commented on GitHub (Oct 13, 2025):

@PeterSuh-Q3 Can you try this one: syno_smart_info2.zip

Again, please run it as syno_smart_info.sh and syno_smart_info.sh -i

And show me what output looks like for one of the SAS drives. And the contents of smart.log after running syno_smart_info.sh -i

Coincidentally, my SAS system was running the version 2 script test at the same time the reservation ended.

After this ended, my SAS system (NAS5) became unable to post.

I will diagnose or replace the board tomorrow and then retake the test.

<!-- gh-comment-id:3397686940 --> @PeterSuh-Q3 commented on GitHub (Oct 13, 2025): > [@PeterSuh-Q3](https://github.com/PeterSuh-Q3) Can you try this one: [syno_smart_info2.zip](https://github.com/user-attachments/files/22875500/syno_smart_info2.zip) > > Again, please run it as `syno_smart_info.sh` and `syno_smart_info.sh -i` > > And show me what output looks like for one of the SAS drives. And the contents of smart.log after running `syno_smart_info.sh -i` Coincidentally, my SAS system was running the version 2 script test at the same time the reservation ended. After this ended, my SAS system (NAS5) became unable to post. I will diagnose or replace the board tomorrow and then retake the test.
Author
Owner

@PeterSuh-Q3 commented on GitHub (Oct 14, 2025):

@PeterSuh-Q3 Can you try this one: syno_smart_info2.zip

Again, please run it as syno_smart_info.sh and syno_smart_info.sh -i

And show me what output looks like for one of the SAS drives. And the contents of smart.log after running syno_smart_info.sh -i

root@NAS5:/var/packages/Synosmartinfo/target/bin# ./syno_smart_info.sh
Synology_SMART_info v1.4.25 - by 007revad
NAS5 SA6400 DSM 7.2.2-72806-3 
Using smartctl 7.5

Drive 1  ST2000LM015-2E8174  WDZBNLC9  /dev/sata1
SMART overall-health self-assessment test result: PASSED
Please note the following marginal Attributes:
ID# ATTRIBUTE_NAME          FLAG    N_FAILED RAW_VALUE
190 Airflow_Temperature_Cel 0x0022  the_past 30 (Min/Max 23/30)
SMART Error Counter Log:         4
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               10474
 10 Spin_Retry_Count             0
187 Reported_Uncorrect           0
188 Command_Timeout              0
194 Temperature_Celsius          30
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         1

Drive 2  ST2000LM015-2E8174  WDZD5V93  /dev/sata2
SMART overall-health self-assessment test result: PASSED
Please note the following marginal Attributes:
ID# ATTRIBUTE_NAME          FLAG    N_FAILED RAW_VALUE
190 Airflow_Temperature_Cel 0x0022  the_past 29 (0 17 29 23 0)
SMART Error Counter Log:         2
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               14731
 10 Spin_Retry_Count             0
187 Reported_Uncorrect           0
188 Command_Timeout              12885098500
194 Temperature_Celsius          29
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         0

Drive 3  WD30PURX-64P6ZY0  WD-WMC4N0L5M77D  /dev/sata3
SMART overall-health self-assessment test result: PASSED
SMART Error Counter Log:         No Errors Logged
  1 Raw_Read_Error_Rate          251
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               4704
 10 Spin_Retry_Count             0
194 Temperature_Celsius          27
197 Current_Pending_Sector       1
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         54
200 Multi_Zone_Error_Rate        0

Drive 4  DT01ABA200V  406SD27AS  /dev/sata4
SMART overall-health self-assessment test result: PASSED
SMART Error Counter Log:         176
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               3081
 10 Spin_Retry_Count             0
194 Temperature_Celsius          29
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         176

Drive 5  HUS72303CLAR3000  YXGM31PK  /dev/sata5
SMART Health Status:                OK




















































































Total uncorrected read errors    0
Total corrected read errors      2
Total uncorrected write errors   0
Total corrected write errors     0
Total uncorrected verify errors  0
Total corrected verify errors    0










194 Current Drive Temperature:      34 C
  5 Elements in grown defect list:  0

Drive 6  HUS72303CLAR3000  YXGKR64K  /dev/sata6
SMART Health Status:                OK




















































































Total uncorrected read errors    0
Total corrected read errors      28
Total uncorrected write errors   0
Total corrected write errors     0
Total uncorrected verify errors  0
Total corrected verify errors    2










194 Current Drive Temperature:      36 C
  5 Elements in grown defect list:  0

Drive 7  HUS72303CLAR3000  YXGLMV7K  /dev/sata7
SMART Health Status:                OK




















































































Total uncorrected read errors    324
Total corrected read errors      88
Total uncorrected write errors   0
Total corrected write errors     0
Total uncorrected verify errors  0
Total corrected verify errors    0










194 Current Drive Temperature:      36 C
  5 Elements in grown defect list:  0

Drive 8  HUS72303CLAR3000  YXGKYMKK  /dev/sata8
SMART Health Status:                OK




















































































Total uncorrected read errors    0
Total corrected read errors      2
Total uncorrected write errors   0
Total corrected write errors     1
Total uncorrected verify errors  0
Total corrected verify errors    0










194 Current Drive Temperature:      34 C
  5 Elements in grown defect list:  0

Finished
root@NAS5:/var/packages/Synosmartinfo/target/bin# ./syno_smart_info.sh -i
Synology_SMART_info v1.4.25 - by 007revad
NAS5 SA6400 DSM 7.2.2-72806-3 
Using smartctl 7.5
Using options: -i

No drives have increased important SMART attributes

Finished

root@NAS5:/var/packages/Synosmartinfo/target/bin# ll
total 56
drwxr-xr-x 1 Synosmartinfo Synosmartinfo    86 Oct 14 22:08 .
drwxr-xr-x 1 Synosmartinfo Synosmartinfo    30 Aug 15 01:05 ..
-rw-rw-rw- 1 root          root           1448 Oct 14 22:08 smart.log
-rw------- 1 root          root           1320 Oct 13 22:05 smart.log.1xkPrW
-rwxr-xr-x 1 Synosmartinfo Synosmartinfo 46687 Oct 13 22:05 syno_smart_info.sh
root@NAS5:/var/packages/Synosmartinfo/target/bin# cat smart.log
[WDZD5V93]
drive_num=Drive 2
Command_Timeout=12885098500
model=ST2000LM015-2E8174
Current_Pending_Sector=0
device=/dev/sata2
UDMA_CRC_Error_Count=0
Seek_Error_Rate=0
Reported_Uncorrect=0
Offline_Uncorrectable=0
Reallocated_Sector_Ct=0
Raw_Read_Error_Rate=0
Spin_Retry_Count=0
[406SD27AS]
drive_num=Drive 4
model=DT01ABA200V
Current_Pending_Sector=0
device=/dev/sata4
UDMA_CRC_Error_Count=176
Seek_Error_Rate=0
Offline_Uncorrectable=0
Reallocated_Sector_Ct=0
Raw_Read_Error_Rate=0
Spin_Retry_Count=0
[WDZBNLC9]
drive_num=Drive 1
Command_Timeout=0
model=ST2000LM015-2E8174
Current_Pending_Sector=0
device=/dev/sata1
UDMA_CRC_Error_Count=1
Seek_Error_Rate=0
Reported_Uncorrect=0
Offline_Uncorrectable=0
Reallocated_Sector_Ct=0
Raw_Read_Error_Rate=0
Spin_Retry_Count=0
[WD-WMC4N0L5M77D]
drive_num=Drive 3
model=WD30PURX-64P6ZY0
Current_Pending_Sector=1
Multi_Zone_Error_Rate=0
device=/dev/sata3
UDMA_CRC_Error_Count=54
Seek_Error_Rate=0
Offline_Uncorrectable=0
Reallocated_Sector_Ct=0
Raw_Read_Error_Rate=251
Spin_Retry_Count=0
[YXGKR64K]
drive_num=Drive 6
model=HUS72303CLAR3000
device=/dev/sata6
in=
Elements in grown defect list=0
[YXGLMV7K]
drive_num=Drive 7
model=HUS72303CLAR3000
device=/dev/sata7
in=
Elements in grown defect list=0
[YXGKYMKK]
drive_num=Drive 8
model=HUS72303CLAR3000
device=/dev/sata8
in=
Elements in grown defect list=0
[YXGM31PK]
drive_num=Drive 5
model=HUS72303CLAR3000
device=/dev/sata5
in=
Elements in grown defect list=0
<!-- gh-comment-id:3401732416 --> @PeterSuh-Q3 commented on GitHub (Oct 14, 2025): > [@PeterSuh-Q3](https://github.com/PeterSuh-Q3) Can you try this one: [syno_smart_info2.zip](https://github.com/user-attachments/files/22875500/syno_smart_info2.zip) > > Again, please run it as `syno_smart_info.sh` and `syno_smart_info.sh -i` > > And show me what output looks like for one of the SAS drives. And the contents of smart.log after running `syno_smart_info.sh -i` ``` root@NAS5:/var/packages/Synosmartinfo/target/bin# ./syno_smart_info.sh Synology_SMART_info v1.4.25 - by 007revad NAS5 SA6400 DSM 7.2.2-72806-3 Using smartctl 7.5 Drive 1 ST2000LM015-2E8174 WDZBNLC9 /dev/sata1 SMART overall-health self-assessment test result: PASSED Please note the following marginal Attributes: ID# ATTRIBUTE_NAME FLAG N_FAILED RAW_VALUE 190 Airflow_Temperature_Cel 0x0022 the_past 30 (Min/Max 23/30) SMART Error Counter Log: 4 1 Raw_Read_Error_Rate 0 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 10474 10 Spin_Retry_Count 0 187 Reported_Uncorrect 0 188 Command_Timeout 0 194 Temperature_Celsius 30 197 Current_Pending_Sector 0 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 1 Drive 2 ST2000LM015-2E8174 WDZD5V93 /dev/sata2 SMART overall-health self-assessment test result: PASSED Please note the following marginal Attributes: ID# ATTRIBUTE_NAME FLAG N_FAILED RAW_VALUE 190 Airflow_Temperature_Cel 0x0022 the_past 29 (0 17 29 23 0) SMART Error Counter Log: 2 1 Raw_Read_Error_Rate 0 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 14731 10 Spin_Retry_Count 0 187 Reported_Uncorrect 0 188 Command_Timeout 12885098500 194 Temperature_Celsius 29 197 Current_Pending_Sector 0 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 0 Drive 3 WD30PURX-64P6ZY0 WD-WMC4N0L5M77D /dev/sata3 SMART overall-health self-assessment test result: PASSED SMART Error Counter Log: No Errors Logged 1 Raw_Read_Error_Rate 251 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 4704 10 Spin_Retry_Count 0 194 Temperature_Celsius 27 197 Current_Pending_Sector 1 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 54 200 Multi_Zone_Error_Rate 0 Drive 4 DT01ABA200V 406SD27AS /dev/sata4 SMART overall-health self-assessment test result: PASSED SMART Error Counter Log: 176 1 Raw_Read_Error_Rate 0 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 3081 10 Spin_Retry_Count 0 194 Temperature_Celsius 29 197 Current_Pending_Sector 0 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 176 Drive 5 HUS72303CLAR3000 YXGM31PK /dev/sata5 SMART Health Status: OK Total uncorrected read errors 0 Total corrected read errors 2 Total uncorrected write errors 0 Total corrected write errors 0 Total uncorrected verify errors 0 Total corrected verify errors 0 194 Current Drive Temperature: 34 C 5 Elements in grown defect list: 0 Drive 6 HUS72303CLAR3000 YXGKR64K /dev/sata6 SMART Health Status: OK Total uncorrected read errors 0 Total corrected read errors 28 Total uncorrected write errors 0 Total corrected write errors 0 Total uncorrected verify errors 0 Total corrected verify errors 2 194 Current Drive Temperature: 36 C 5 Elements in grown defect list: 0 Drive 7 HUS72303CLAR3000 YXGLMV7K /dev/sata7 SMART Health Status: OK Total uncorrected read errors 324 Total corrected read errors 88 Total uncorrected write errors 0 Total corrected write errors 0 Total uncorrected verify errors 0 Total corrected verify errors 0 194 Current Drive Temperature: 36 C 5 Elements in grown defect list: 0 Drive 8 HUS72303CLAR3000 YXGKYMKK /dev/sata8 SMART Health Status: OK Total uncorrected read errors 0 Total corrected read errors 2 Total uncorrected write errors 0 Total corrected write errors 1 Total uncorrected verify errors 0 Total corrected verify errors 0 194 Current Drive Temperature: 34 C 5 Elements in grown defect list: 0 Finished ``` ``` root@NAS5:/var/packages/Synosmartinfo/target/bin# ./syno_smart_info.sh -i Synology_SMART_info v1.4.25 - by 007revad NAS5 SA6400 DSM 7.2.2-72806-3 Using smartctl 7.5 Using options: -i No drives have increased important SMART attributes Finished root@NAS5:/var/packages/Synosmartinfo/target/bin# ll total 56 drwxr-xr-x 1 Synosmartinfo Synosmartinfo 86 Oct 14 22:08 . drwxr-xr-x 1 Synosmartinfo Synosmartinfo 30 Aug 15 01:05 .. -rw-rw-rw- 1 root root 1448 Oct 14 22:08 smart.log -rw------- 1 root root 1320 Oct 13 22:05 smart.log.1xkPrW -rwxr-xr-x 1 Synosmartinfo Synosmartinfo 46687 Oct 13 22:05 syno_smart_info.sh root@NAS5:/var/packages/Synosmartinfo/target/bin# cat smart.log [WDZD5V93] drive_num=Drive 2 Command_Timeout=12885098500 model=ST2000LM015-2E8174 Current_Pending_Sector=0 device=/dev/sata2 UDMA_CRC_Error_Count=0 Seek_Error_Rate=0 Reported_Uncorrect=0 Offline_Uncorrectable=0 Reallocated_Sector_Ct=0 Raw_Read_Error_Rate=0 Spin_Retry_Count=0 [406SD27AS] drive_num=Drive 4 model=DT01ABA200V Current_Pending_Sector=0 device=/dev/sata4 UDMA_CRC_Error_Count=176 Seek_Error_Rate=0 Offline_Uncorrectable=0 Reallocated_Sector_Ct=0 Raw_Read_Error_Rate=0 Spin_Retry_Count=0 [WDZBNLC9] drive_num=Drive 1 Command_Timeout=0 model=ST2000LM015-2E8174 Current_Pending_Sector=0 device=/dev/sata1 UDMA_CRC_Error_Count=1 Seek_Error_Rate=0 Reported_Uncorrect=0 Offline_Uncorrectable=0 Reallocated_Sector_Ct=0 Raw_Read_Error_Rate=0 Spin_Retry_Count=0 [WD-WMC4N0L5M77D] drive_num=Drive 3 model=WD30PURX-64P6ZY0 Current_Pending_Sector=1 Multi_Zone_Error_Rate=0 device=/dev/sata3 UDMA_CRC_Error_Count=54 Seek_Error_Rate=0 Offline_Uncorrectable=0 Reallocated_Sector_Ct=0 Raw_Read_Error_Rate=251 Spin_Retry_Count=0 [YXGKR64K] drive_num=Drive 6 model=HUS72303CLAR3000 device=/dev/sata6 in= Elements in grown defect list=0 [YXGLMV7K] drive_num=Drive 7 model=HUS72303CLAR3000 device=/dev/sata7 in= Elements in grown defect list=0 [YXGKYMKK] drive_num=Drive 8 model=HUS72303CLAR3000 device=/dev/sata8 in= Elements in grown defect list=0 [YXGM31PK] drive_num=Drive 5 model=HUS72303CLAR3000 device=/dev/sata5 in= Elements in grown defect list=0 ```
Author
Owner

@007revad commented on GitHub (Oct 14, 2025):

It looks good apart from the many, many blank lines.

You can delete the in= lines from smart.log

<!-- gh-comment-id:3403202626 --> @007revad commented on GitHub (Oct 14, 2025): It looks good apart from the many, many blank lines. You can delete the `in=` lines from smart.log
Author
Owner

@007revad commented on GitHub (Oct 14, 2025):

One more test please. Just run this one as syno_smart_info.sh. It should not show all those blank lines.

syno_smart_info3.zip

It should look like this:

root@NAS5:/var/packages/Synosmartinfo/target/bin# ./syno_smart_info.sh
Synology_SMART_info v1.4.25 - by 007revad
NAS5 SA6400 DSM 7.2.2-72806-3 
Using smartctl 7.5

Drive 1  ST2000LM015-2E8174  WDZBNLC9  /dev/sata1
SMART overall-health self-assessment test result: PASSED
Please note the following marginal Attributes:
ID# ATTRIBUTE_NAME          FLAG    N_FAILED RAW_VALUE
190 Airflow_Temperature_Cel 0x0022  the_past 30 (Min/Max 23/30)
SMART Error Counter Log:         4
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               10474
 10 Spin_Retry_Count             0
187 Reported_Uncorrect           0
188 Command_Timeout              0
194 Temperature_Celsius          30
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         1

Drive 2  ST2000LM015-2E8174  WDZD5V93  /dev/sata2
SMART overall-health self-assessment test result: PASSED
Please note the following marginal Attributes:
ID# ATTRIBUTE_NAME          FLAG    N_FAILED RAW_VALUE
190 Airflow_Temperature_Cel 0x0022  the_past 29 (0 17 29 23 0)
SMART Error Counter Log:         2
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               14731
 10 Spin_Retry_Count             0
187 Reported_Uncorrect           0
188 Command_Timeout              12885098500
194 Temperature_Celsius          29
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         0

Drive 3  WD30PURX-64P6ZY0  WD-WMC4N0L5M77D  /dev/sata3
SMART overall-health self-assessment test result: PASSED
SMART Error Counter Log:         No Errors Logged
  1 Raw_Read_Error_Rate          251
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               4704
 10 Spin_Retry_Count             0
194 Temperature_Celsius          27
197 Current_Pending_Sector       1
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         54
200 Multi_Zone_Error_Rate        0

Drive 4  DT01ABA200V  406SD27AS  /dev/sata4
SMART overall-health self-assessment test result: PASSED
SMART Error Counter Log:         176
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               3081
 10 Spin_Retry_Count             0
194 Temperature_Celsius          29
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         176

Drive 5  HUS72303CLAR3000  YXGM31PK  /dev/sata5
SMART Health Status:                OK
Total uncorrected read errors:      0
Total corrected read errors:        2
Total uncorrected write errors:     0
Total corrected write errors:       0
Total uncorrected verify errors:    0
Total corrected verify errors:      0
194 Current Drive Temperature:      34 C
  5 Elements in grown defect list:  0

Drive 6  HUS72303CLAR3000  YXGKR64K  /dev/sata6
SMART Health Status:                OK
Total uncorrected read errors:      0
Total corrected read errors:        28
Total uncorrected write errors:     0
Total corrected write errors:       0
Total uncorrected verify errors:    0
Total corrected verify errors:      2
194 Current Drive Temperature:      36 C
  5 Elements in grown defect list:  0

Drive 7  HUS72303CLAR3000  YXGLMV7K  /dev/sata7
SMART Health Status:                OK
Total uncorrected read errors:      324
Total corrected read errors:        88
Total uncorrected write errors:     0
Total corrected write errors:       0
Total uncorrected verify errors:    0
Total corrected verify errors:      0
194 Current Drive Temperature:      36 C
  5 Elements in grown defect list:  0

Drive 8  HUS72303CLAR3000  YXGKYMKK  /dev/sata8
SMART Health Status:                OK
Total uncorrected read errors:      0
Total corrected read errors:        2
Total uncorrected write errors:     0
Total corrected write errors:       1
Total uncorrected verify errors:    0
Total corrected verify errors:      0
194 Current Drive Temperature:      34 C
  5 Elements in grown defect list:  0

Finished
<!-- gh-comment-id:3403372185 --> @007revad commented on GitHub (Oct 14, 2025): One more test please. Just run this one as `syno_smart_info.sh`. It should not show all those blank lines. [syno_smart_info3.zip](https://github.com/user-attachments/files/22911846/syno_smart_info3.zip) It should look like this: ``` root@NAS5:/var/packages/Synosmartinfo/target/bin# ./syno_smart_info.sh Synology_SMART_info v1.4.25 - by 007revad NAS5 SA6400 DSM 7.2.2-72806-3 Using smartctl 7.5 Drive 1 ST2000LM015-2E8174 WDZBNLC9 /dev/sata1 SMART overall-health self-assessment test result: PASSED Please note the following marginal Attributes: ID# ATTRIBUTE_NAME FLAG N_FAILED RAW_VALUE 190 Airflow_Temperature_Cel 0x0022 the_past 30 (Min/Max 23/30) SMART Error Counter Log: 4 1 Raw_Read_Error_Rate 0 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 10474 10 Spin_Retry_Count 0 187 Reported_Uncorrect 0 188 Command_Timeout 0 194 Temperature_Celsius 30 197 Current_Pending_Sector 0 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 1 Drive 2 ST2000LM015-2E8174 WDZD5V93 /dev/sata2 SMART overall-health self-assessment test result: PASSED Please note the following marginal Attributes: ID# ATTRIBUTE_NAME FLAG N_FAILED RAW_VALUE 190 Airflow_Temperature_Cel 0x0022 the_past 29 (0 17 29 23 0) SMART Error Counter Log: 2 1 Raw_Read_Error_Rate 0 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 14731 10 Spin_Retry_Count 0 187 Reported_Uncorrect 0 188 Command_Timeout 12885098500 194 Temperature_Celsius 29 197 Current_Pending_Sector 0 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 0 Drive 3 WD30PURX-64P6ZY0 WD-WMC4N0L5M77D /dev/sata3 SMART overall-health self-assessment test result: PASSED SMART Error Counter Log: No Errors Logged 1 Raw_Read_Error_Rate 251 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 4704 10 Spin_Retry_Count 0 194 Temperature_Celsius 27 197 Current_Pending_Sector 1 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 54 200 Multi_Zone_Error_Rate 0 Drive 4 DT01ABA200V 406SD27AS /dev/sata4 SMART overall-health self-assessment test result: PASSED SMART Error Counter Log: 176 1 Raw_Read_Error_Rate 0 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 3081 10 Spin_Retry_Count 0 194 Temperature_Celsius 29 197 Current_Pending_Sector 0 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 176 Drive 5 HUS72303CLAR3000 YXGM31PK /dev/sata5 SMART Health Status: OK Total uncorrected read errors: 0 Total corrected read errors: 2 Total uncorrected write errors: 0 Total corrected write errors: 0 Total uncorrected verify errors: 0 Total corrected verify errors: 0 194 Current Drive Temperature: 34 C 5 Elements in grown defect list: 0 Drive 6 HUS72303CLAR3000 YXGKR64K /dev/sata6 SMART Health Status: OK Total uncorrected read errors: 0 Total corrected read errors: 28 Total uncorrected write errors: 0 Total corrected write errors: 0 Total uncorrected verify errors: 0 Total corrected verify errors: 2 194 Current Drive Temperature: 36 C 5 Elements in grown defect list: 0 Drive 7 HUS72303CLAR3000 YXGLMV7K /dev/sata7 SMART Health Status: OK Total uncorrected read errors: 324 Total corrected read errors: 88 Total uncorrected write errors: 0 Total corrected write errors: 0 Total uncorrected verify errors: 0 Total corrected verify errors: 0 194 Current Drive Temperature: 36 C 5 Elements in grown defect list: 0 Drive 8 HUS72303CLAR3000 YXGKYMKK /dev/sata8 SMART Health Status: OK Total uncorrected read errors: 0 Total corrected read errors: 2 Total uncorrected write errors: 0 Total corrected write errors: 1 Total uncorrected verify errors: 0 Total corrected verify errors: 0 194 Current Drive Temperature: 34 C 5 Elements in grown defect list: 0 Finished ```
Author
Owner

@PeterSuh-Q3 commented on GitHub (Oct 14, 2025):

It looks good apart from the many, many blank lines.

You can delete the in= lines from smart.log

Isn't smart.log just a simple log? Does it even have a config function that references certain settings?

<!-- gh-comment-id:3403804416 --> @PeterSuh-Q3 commented on GitHub (Oct 14, 2025): > It looks good apart from the many, many blank lines. > > You can delete the `in=` lines from smart.log Isn't smart.log just a simple log? Does it even have a config function that references certain settings?
Author
Owner

@007revad commented on GitHub (Oct 14, 2025):

smart.log is just a simple log. The in= are harmless, but they should never have been added to the log.

<!-- gh-comment-id:3403964504 --> @007revad commented on GitHub (Oct 14, 2025): smart.log is just a simple log. The `in=` are harmless, but they should never have been added to the log.
Author
Owner

@PeterSuh-Q3 commented on GitHub (Oct 15, 2025):

One more test please. Just run this one as syno_smart_info.sh. It should not show all those blank lines.

syno_smart_info3.zip

It should look like this:

root@NAS5:/var/packages/Synosmartinfo/target/bin# ./syno_smart_info.sh
Synology_SMART_info v1.4.25 - by 007revad
NAS5 SA6400 DSM 7.2.2-72806-3 
Using smartctl 7.5

Drive 1  ST2000LM015-2E8174  WDZBNLC9  /dev/sata1
SMART overall-health self-assessment test result: PASSED
Please note the following marginal Attributes:
ID# ATTRIBUTE_NAME          FLAG    N_FAILED RAW_VALUE
190 Airflow_Temperature_Cel 0x0022  the_past 30 (Min/Max 23/30)
SMART Error Counter Log:         4
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               10474
 10 Spin_Retry_Count             0
187 Reported_Uncorrect           0
188 Command_Timeout              0
194 Temperature_Celsius          30
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         1

Drive 2  ST2000LM015-2E8174  WDZD5V93  /dev/sata2
SMART overall-health self-assessment test result: PASSED
Please note the following marginal Attributes:
ID# ATTRIBUTE_NAME          FLAG    N_FAILED RAW_VALUE
190 Airflow_Temperature_Cel 0x0022  the_past 29 (0 17 29 23 0)
SMART Error Counter Log:         2
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               14731
 10 Spin_Retry_Count             0
187 Reported_Uncorrect           0
188 Command_Timeout              12885098500
194 Temperature_Celsius          29
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         0

Drive 3  WD30PURX-64P6ZY0  WD-WMC4N0L5M77D  /dev/sata3
SMART overall-health self-assessment test result: PASSED
SMART Error Counter Log:         No Errors Logged
  1 Raw_Read_Error_Rate          251
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               4704
 10 Spin_Retry_Count             0
194 Temperature_Celsius          27
197 Current_Pending_Sector       1
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         54
200 Multi_Zone_Error_Rate        0

Drive 4  DT01ABA200V  406SD27AS  /dev/sata4
SMART overall-health self-assessment test result: PASSED
SMART Error Counter Log:         176
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               3081
 10 Spin_Retry_Count             0
194 Temperature_Celsius          29
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         176

Drive 5  HUS72303CLAR3000  YXGM31PK  /dev/sata5
SMART Health Status:                OK
Total uncorrected read errors:      0
Total corrected read errors:        2
Total uncorrected write errors:     0
Total corrected write errors:       0
Total uncorrected verify errors:    0
Total corrected verify errors:      0
194 Current Drive Temperature:      34 C
  5 Elements in grown defect list:  0

Drive 6  HUS72303CLAR3000  YXGKR64K  /dev/sata6
SMART Health Status:                OK
Total uncorrected read errors:      0
Total corrected read errors:        28
Total uncorrected write errors:     0
Total corrected write errors:       0
Total uncorrected verify errors:    0
Total corrected verify errors:      2
194 Current Drive Temperature:      36 C
  5 Elements in grown defect list:  0

Drive 7  HUS72303CLAR3000  YXGLMV7K  /dev/sata7
SMART Health Status:                OK
Total uncorrected read errors:      324
Total corrected read errors:        88
Total uncorrected write errors:     0
Total corrected write errors:       0
Total uncorrected verify errors:    0
Total corrected verify errors:      0
194 Current Drive Temperature:      36 C
  5 Elements in grown defect list:  0

Drive 8  HUS72303CLAR3000  YXGKYMKK  /dev/sata8
SMART Health Status:                OK
Total uncorrected read errors:      0
Total corrected read errors:        2
Total uncorrected write errors:     0
Total corrected write errors:       1
Total uncorrected verify errors:    0
Total corrected verify errors:      0
194 Current Drive Temperature:      34 C
  5 Elements in grown defect list:  0

Finished
root@NAS5:/var/packages/Synosmartinfo/target/bin# ./syno_smart_info.sh
Synology_SMART_info v1.4.25 - by 007revad
NAS5 SA6400 DSM 7.2.2-72806-3 
Using smartctl 7.5

Drive 1  ST2000LM015-2E8174  WDZBNLC9  /dev/sata1
SMART overall-health self-assessment test result: PASSED
Please note the following marginal Attributes:
ID# ATTRIBUTE_NAME          FLAG    N_FAILED RAW_VALUE
190 Airflow_Temperature_Cel 0x0022  the_past 34 (Min/Max 23/35)
./syno_smart_info.sh: line 677: -: command not found
SMART Error Counter Log:         4
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               10486
 10 Spin_Retry_Count             0
187 Reported_Uncorrect           0
188 Command_Timeout              0
194 Temperature_Celsius          34
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         1

Drive 2  ST2000LM015-2E8174  WDZD5V93  /dev/sata2
SMART overall-health self-assessment test result: PASSED
Please note the following marginal Attributes:
ID# ATTRIBUTE_NAME          FLAG    N_FAILED RAW_VALUE
190 Airflow_Temperature_Cel 0x0022  the_past 32 (0 17 32 23 0)
./syno_smart_info.sh: line 677: -: command not found
SMART Error Counter Log:         2
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               14743
 10 Spin_Retry_Count             0
187 Reported_Uncorrect           0
188 Command_Timeout              12885098500
194 Temperature_Celsius          32
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         0

Drive 3  WD30PURX-64P6ZY0  WD-WMC4N0L5M77D  /dev/sata3
SMART overall-health self-assessment test result: PASSED
./syno_smart_info.sh: line 677: -: command not found
SMART Error Counter Log:         No Errors Logged
  1 Raw_Read_Error_Rate          251
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               4716
 10 Spin_Retry_Count             0
194 Temperature_Celsius          30
197 Current_Pending_Sector       1
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         54
200 Multi_Zone_Error_Rate        0

Drive 4  DT01ABA200V  406SD27AS  /dev/sata4
SMART overall-health self-assessment test result: PASSED
./syno_smart_info.sh: line 677: -: command not found
SMART Error Counter Log:         176
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               3093
 10 Spin_Retry_Count             0
194 Temperature_Celsius          32
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         176

Drive 5  HUS72303CLAR3000  YXGM31PK  /dev/sata5
SMART Health Status:                OK
./syno_smart_info.sh: line 677: -: command not found
Total uncorrected read errors:       0
Total corrected read errors:         2
Total uncorrected write errors:      0
Total corrected write errors:        0
Total uncorrected verify errors:     0
Total corrected verify errors:       0
194 Current Drive Temperature:      43 C
  5 Elements in grown defect list:  0

Drive 6  HUS72303CLAR3000  YXGKR64K  /dev/sata6
SMART Health Status:                OK
./syno_smart_info.sh: line 677: -: command not found
Total uncorrected read errors:       0
Total corrected read errors:         28
Total uncorrected write errors:      0
Total corrected write errors:        0
Total uncorrected verify errors:     0
Total corrected verify errors:       2
194 Current Drive Temperature:      44 C
  5 Elements in grown defect list:  0

Drive 7  HUS72303CLAR3000  YXGLMV7K  /dev/sata7
SMART Health Status:                OK
./syno_smart_info.sh: line 677: -: command not found
Total uncorrected read errors:       324
Total corrected read errors:         88
Total uncorrected write errors:      0
Total corrected write errors:        0
Total uncorrected verify errors:     0
Total corrected verify errors:       0
194 Current Drive Temperature:      44 C
  5 Elements in grown defect list:  0

Drive 8  HUS72303CLAR3000  YXGKYMKK  /dev/sata8
SMART Health Status:                OK
./syno_smart_info.sh: line 677: -: command not found
Total uncorrected read errors:       0
Total corrected read errors:         2
Total uncorrected write errors:      0
Total corrected write errors:        1
Total uncorrected verify errors:     0
Total corrected verify errors:       0
194 Current Drive Temperature:      40 C
  5 Elements in grown defect list:  0

Finished

root@NAS5:/var/packages/Synosmartinfo/target/bin# ll
total 52
drwxr-xr-x 1 Synosmartinfo Synosmartinfo    54 Oct 15 17:55 .
drwxr-xr-x 1 Synosmartinfo Synosmartinfo    30 Aug 15 01:05 ..
-rw-rw-rw- 1 root          root            716 Oct 15 17:55 smart.log
-rwxr-xr-x 1 Synosmartinfo Synosmartinfo 46987 Oct 15 17:55 syno_smart_info.sh
root@NAS5:/var/packages/Synosmartinfo/target/bin# cat smart.log
[WDZBNLC9]
drive_num=Drive 1
model=ST2000LM015-2E8174
device=/dev/sata1
UDMA_CRC_Error_Count=1
[WDZD5V93]
drive_num=Drive 2
Command_Timeout=12885098500
model=ST2000LM015-2E8174
device=/dev/sata2
[WD-WMC4N0L5M77D]
drive_num=Drive 3
model=WD30PURX-64P6ZY0
Current_Pending_Sector=1
device=/dev/sata3
UDMA_CRC_Error_Count=54
Raw_Read_Error_Rate=251
[406SD27AS]
drive_num=Drive 4
model=DT01ABA200V
device=/dev/sata4
UDMA_CRC_Error_Count=176
[YXGM31PK]
drive_num=Drive 5
model=HUS72303CLAR3000
device=/dev/sata5
[YXGKR64K]
drive_num=Drive 6
model=HUS72303CLAR3000
device=/dev/sata6
[YXGLMV7K]
drive_num=Drive 7
model=HUS72303CLAR3000
device=/dev/sata7
[YXGKYMKK]
drive_num=Drive 8
model=HUS72303CLAR3000
device=/dev/sata8
root@NAS5:/var/packages/Synosmartinfo/target/bin# 
<!-- gh-comment-id:3405309795 --> @PeterSuh-Q3 commented on GitHub (Oct 15, 2025): > One more test please. Just run this one as `syno_smart_info.sh`. It should not show all those blank lines. > > [syno_smart_info3.zip](https://github.com/user-attachments/files/22911846/syno_smart_info3.zip) > > It should look like this: > > ``` > root@NAS5:/var/packages/Synosmartinfo/target/bin# ./syno_smart_info.sh > Synology_SMART_info v1.4.25 - by 007revad > NAS5 SA6400 DSM 7.2.2-72806-3 > Using smartctl 7.5 > > Drive 1 ST2000LM015-2E8174 WDZBNLC9 /dev/sata1 > SMART overall-health self-assessment test result: PASSED > Please note the following marginal Attributes: > ID# ATTRIBUTE_NAME FLAG N_FAILED RAW_VALUE > 190 Airflow_Temperature_Cel 0x0022 the_past 30 (Min/Max 23/30) > SMART Error Counter Log: 4 > 1 Raw_Read_Error_Rate 0 > 5 Reallocated_Sector_Ct 0 > 7 Seek_Error_Rate 0 > 9 Power_On_Hours 10474 > 10 Spin_Retry_Count 0 > 187 Reported_Uncorrect 0 > 188 Command_Timeout 0 > 194 Temperature_Celsius 30 > 197 Current_Pending_Sector 0 > 198 Offline_Uncorrectable 0 > 199 UDMA_CRC_Error_Count 1 > > Drive 2 ST2000LM015-2E8174 WDZD5V93 /dev/sata2 > SMART overall-health self-assessment test result: PASSED > Please note the following marginal Attributes: > ID# ATTRIBUTE_NAME FLAG N_FAILED RAW_VALUE > 190 Airflow_Temperature_Cel 0x0022 the_past 29 (0 17 29 23 0) > SMART Error Counter Log: 2 > 1 Raw_Read_Error_Rate 0 > 5 Reallocated_Sector_Ct 0 > 7 Seek_Error_Rate 0 > 9 Power_On_Hours 14731 > 10 Spin_Retry_Count 0 > 187 Reported_Uncorrect 0 > 188 Command_Timeout 12885098500 > 194 Temperature_Celsius 29 > 197 Current_Pending_Sector 0 > 198 Offline_Uncorrectable 0 > 199 UDMA_CRC_Error_Count 0 > > Drive 3 WD30PURX-64P6ZY0 WD-WMC4N0L5M77D /dev/sata3 > SMART overall-health self-assessment test result: PASSED > SMART Error Counter Log: No Errors Logged > 1 Raw_Read_Error_Rate 251 > 5 Reallocated_Sector_Ct 0 > 7 Seek_Error_Rate 0 > 9 Power_On_Hours 4704 > 10 Spin_Retry_Count 0 > 194 Temperature_Celsius 27 > 197 Current_Pending_Sector 1 > 198 Offline_Uncorrectable 0 > 199 UDMA_CRC_Error_Count 54 > 200 Multi_Zone_Error_Rate 0 > > Drive 4 DT01ABA200V 406SD27AS /dev/sata4 > SMART overall-health self-assessment test result: PASSED > SMART Error Counter Log: 176 > 1 Raw_Read_Error_Rate 0 > 5 Reallocated_Sector_Ct 0 > 7 Seek_Error_Rate 0 > 9 Power_On_Hours 3081 > 10 Spin_Retry_Count 0 > 194 Temperature_Celsius 29 > 197 Current_Pending_Sector 0 > 198 Offline_Uncorrectable 0 > 199 UDMA_CRC_Error_Count 176 > > Drive 5 HUS72303CLAR3000 YXGM31PK /dev/sata5 > SMART Health Status: OK > Total uncorrected read errors: 0 > Total corrected read errors: 2 > Total uncorrected write errors: 0 > Total corrected write errors: 0 > Total uncorrected verify errors: 0 > Total corrected verify errors: 0 > 194 Current Drive Temperature: 34 C > 5 Elements in grown defect list: 0 > > Drive 6 HUS72303CLAR3000 YXGKR64K /dev/sata6 > SMART Health Status: OK > Total uncorrected read errors: 0 > Total corrected read errors: 28 > Total uncorrected write errors: 0 > Total corrected write errors: 0 > Total uncorrected verify errors: 0 > Total corrected verify errors: 2 > 194 Current Drive Temperature: 36 C > 5 Elements in grown defect list: 0 > > Drive 7 HUS72303CLAR3000 YXGLMV7K /dev/sata7 > SMART Health Status: OK > Total uncorrected read errors: 324 > Total corrected read errors: 88 > Total uncorrected write errors: 0 > Total corrected write errors: 0 > Total uncorrected verify errors: 0 > Total corrected verify errors: 0 > 194 Current Drive Temperature: 36 C > 5 Elements in grown defect list: 0 > > Drive 8 HUS72303CLAR3000 YXGKYMKK /dev/sata8 > SMART Health Status: OK > Total uncorrected read errors: 0 > Total corrected read errors: 2 > Total uncorrected write errors: 0 > Total corrected write errors: 1 > Total uncorrected verify errors: 0 > Total corrected verify errors: 0 > 194 Current Drive Temperature: 34 C > 5 Elements in grown defect list: 0 > > Finished > ``` ``` root@NAS5:/var/packages/Synosmartinfo/target/bin# ./syno_smart_info.sh Synology_SMART_info v1.4.25 - by 007revad NAS5 SA6400 DSM 7.2.2-72806-3 Using smartctl 7.5 Drive 1 ST2000LM015-2E8174 WDZBNLC9 /dev/sata1 SMART overall-health self-assessment test result: PASSED Please note the following marginal Attributes: ID# ATTRIBUTE_NAME FLAG N_FAILED RAW_VALUE 190 Airflow_Temperature_Cel 0x0022 the_past 34 (Min/Max 23/35) ./syno_smart_info.sh: line 677: -: command not found SMART Error Counter Log: 4 1 Raw_Read_Error_Rate 0 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 10486 10 Spin_Retry_Count 0 187 Reported_Uncorrect 0 188 Command_Timeout 0 194 Temperature_Celsius 34 197 Current_Pending_Sector 0 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 1 Drive 2 ST2000LM015-2E8174 WDZD5V93 /dev/sata2 SMART overall-health self-assessment test result: PASSED Please note the following marginal Attributes: ID# ATTRIBUTE_NAME FLAG N_FAILED RAW_VALUE 190 Airflow_Temperature_Cel 0x0022 the_past 32 (0 17 32 23 0) ./syno_smart_info.sh: line 677: -: command not found SMART Error Counter Log: 2 1 Raw_Read_Error_Rate 0 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 14743 10 Spin_Retry_Count 0 187 Reported_Uncorrect 0 188 Command_Timeout 12885098500 194 Temperature_Celsius 32 197 Current_Pending_Sector 0 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 0 Drive 3 WD30PURX-64P6ZY0 WD-WMC4N0L5M77D /dev/sata3 SMART overall-health self-assessment test result: PASSED ./syno_smart_info.sh: line 677: -: command not found SMART Error Counter Log: No Errors Logged 1 Raw_Read_Error_Rate 251 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 4716 10 Spin_Retry_Count 0 194 Temperature_Celsius 30 197 Current_Pending_Sector 1 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 54 200 Multi_Zone_Error_Rate 0 Drive 4 DT01ABA200V 406SD27AS /dev/sata4 SMART overall-health self-assessment test result: PASSED ./syno_smart_info.sh: line 677: -: command not found SMART Error Counter Log: 176 1 Raw_Read_Error_Rate 0 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 3093 10 Spin_Retry_Count 0 194 Temperature_Celsius 32 197 Current_Pending_Sector 0 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 176 Drive 5 HUS72303CLAR3000 YXGM31PK /dev/sata5 SMART Health Status: OK ./syno_smart_info.sh: line 677: -: command not found Total uncorrected read errors: 0 Total corrected read errors: 2 Total uncorrected write errors: 0 Total corrected write errors: 0 Total uncorrected verify errors: 0 Total corrected verify errors: 0 194 Current Drive Temperature: 43 C 5 Elements in grown defect list: 0 Drive 6 HUS72303CLAR3000 YXGKR64K /dev/sata6 SMART Health Status: OK ./syno_smart_info.sh: line 677: -: command not found Total uncorrected read errors: 0 Total corrected read errors: 28 Total uncorrected write errors: 0 Total corrected write errors: 0 Total uncorrected verify errors: 0 Total corrected verify errors: 2 194 Current Drive Temperature: 44 C 5 Elements in grown defect list: 0 Drive 7 HUS72303CLAR3000 YXGLMV7K /dev/sata7 SMART Health Status: OK ./syno_smart_info.sh: line 677: -: command not found Total uncorrected read errors: 324 Total corrected read errors: 88 Total uncorrected write errors: 0 Total corrected write errors: 0 Total uncorrected verify errors: 0 Total corrected verify errors: 0 194 Current Drive Temperature: 44 C 5 Elements in grown defect list: 0 Drive 8 HUS72303CLAR3000 YXGKYMKK /dev/sata8 SMART Health Status: OK ./syno_smart_info.sh: line 677: -: command not found Total uncorrected read errors: 0 Total corrected read errors: 2 Total uncorrected write errors: 0 Total corrected write errors: 1 Total uncorrected verify errors: 0 Total corrected verify errors: 0 194 Current Drive Temperature: 40 C 5 Elements in grown defect list: 0 Finished root@NAS5:/var/packages/Synosmartinfo/target/bin# ll total 52 drwxr-xr-x 1 Synosmartinfo Synosmartinfo 54 Oct 15 17:55 . drwxr-xr-x 1 Synosmartinfo Synosmartinfo 30 Aug 15 01:05 .. -rw-rw-rw- 1 root root 716 Oct 15 17:55 smart.log -rwxr-xr-x 1 Synosmartinfo Synosmartinfo 46987 Oct 15 17:55 syno_smart_info.sh root@NAS5:/var/packages/Synosmartinfo/target/bin# cat smart.log [WDZBNLC9] drive_num=Drive 1 model=ST2000LM015-2E8174 device=/dev/sata1 UDMA_CRC_Error_Count=1 [WDZD5V93] drive_num=Drive 2 Command_Timeout=12885098500 model=ST2000LM015-2E8174 device=/dev/sata2 [WD-WMC4N0L5M77D] drive_num=Drive 3 model=WD30PURX-64P6ZY0 Current_Pending_Sector=1 device=/dev/sata3 UDMA_CRC_Error_Count=54 Raw_Read_Error_Rate=251 [406SD27AS] drive_num=Drive 4 model=DT01ABA200V device=/dev/sata4 UDMA_CRC_Error_Count=176 [YXGM31PK] drive_num=Drive 5 model=HUS72303CLAR3000 device=/dev/sata5 [YXGKR64K] drive_num=Drive 6 model=HUS72303CLAR3000 device=/dev/sata6 [YXGLMV7K] drive_num=Drive 7 model=HUS72303CLAR3000 device=/dev/sata7 [YXGKYMKK] drive_num=Drive 8 model=HUS72303CLAR3000 device=/dev/sata8 root@NAS5:/var/packages/Synosmartinfo/target/bin# ```
Author
Owner

@PeterSuh-Q3 commented on GitHub (Oct 15, 2025):

There's typo

https://github.com/PeterSuh-Q3/Synology_SMART_info/blob/main/syno_smart_info.sh#L677

<!-- gh-comment-id:3405315890 --> @PeterSuh-Q3 commented on GitHub (Oct 15, 2025): There's typo https://github.com/PeterSuh-Q3/Synology_SMART_info/blob/main/syno_smart_info.sh#L677
Author
Owner

@PeterSuh-Q3 commented on GitHub (Oct 15, 2025):

Here are the results after removing the typos and testing again.

The results of smart.log are the same.

root@NAS5:/var/packages/Synosmartinfo/target/bin# ./syno_smart_info.sh
Synology_SMART_info v1.4.25 - by 007revad
NAS5 SA6400 DSM 7.2.2-72806-3 
Using smartctl 7.5

Drive 1  ST2000LM015-2E8174  WDZBNLC9  /dev/sata1
SMART overall-health self-assessment test result: PASSED
Please note the following marginal Attributes:
ID# ATTRIBUTE_NAME          FLAG    N_FAILED RAW_VALUE
190 Airflow_Temperature_Cel 0x0022  the_past 34 (Min/Max 23/35)
SMART Error Counter Log:         4
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               10486
 10 Spin_Retry_Count             0
187 Reported_Uncorrect           0
188 Command_Timeout              0
194 Temperature_Celsius          34
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         1

Drive 2  ST2000LM015-2E8174  WDZD5V93  /dev/sata2
SMART overall-health self-assessment test result: PASSED
Please note the following marginal Attributes:
ID# ATTRIBUTE_NAME          FLAG    N_FAILED RAW_VALUE
190 Airflow_Temperature_Cel 0x0022  the_past 32 (0 17 32 23 0)
SMART Error Counter Log:         2
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               14743
 10 Spin_Retry_Count             0
187 Reported_Uncorrect           0
188 Command_Timeout              12885098500
194 Temperature_Celsius          32
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         0

Drive 3  WD30PURX-64P6ZY0  WD-WMC4N0L5M77D  /dev/sata3
SMART overall-health self-assessment test result: PASSED
SMART Error Counter Log:         No Errors Logged
  1 Raw_Read_Error_Rate          251
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               4716
 10 Spin_Retry_Count             0
194 Temperature_Celsius          30
197 Current_Pending_Sector       1
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         54
200 Multi_Zone_Error_Rate        0

Drive 4  DT01ABA200V  406SD27AS  /dev/sata4
SMART overall-health self-assessment test result: PASSED
SMART Error Counter Log:         176
  1 Raw_Read_Error_Rate          0
  5 Reallocated_Sector_Ct        0
  7 Seek_Error_Rate              0
  9 Power_On_Hours               3093
 10 Spin_Retry_Count             0
194 Temperature_Celsius          32
197 Current_Pending_Sector       0
198 Offline_Uncorrectable        0
199 UDMA_CRC_Error_Count         176

Drive 5  HUS72303CLAR3000  YXGM31PK  /dev/sata5
SMART Health Status:                OK
Total uncorrected read errors:       0
Total corrected read errors:         2
Total uncorrected write errors:      0
Total corrected write errors:        0
Total uncorrected verify errors:     0
Total corrected verify errors:       0
194 Current Drive Temperature:      43 C
  5 Elements in grown defect list:  0

Drive 6  HUS72303CLAR3000  YXGKR64K  /dev/sata6
SMART Health Status:                OK
Total uncorrected read errors:       0
Total corrected read errors:         28
Total uncorrected write errors:      0
Total corrected write errors:        0
Total uncorrected verify errors:     0
Total corrected verify errors:       2
194 Current Drive Temperature:      44 C
  5 Elements in grown defect list:  0

Drive 7  HUS72303CLAR3000  YXGLMV7K  /dev/sata7
SMART Health Status:                OK
Total uncorrected read errors:       324
Total corrected read errors:         88
Total uncorrected write errors:      0
Total corrected write errors:        0
Total uncorrected verify errors:     0
Total corrected verify errors:       0
194 Current Drive Temperature:      44 C
  5 Elements in grown defect list:  0

Drive 8  HUS72303CLAR3000  YXGKYMKK  /dev/sata8
SMART Health Status:                OK
Total uncorrected read errors:       0
Total corrected read errors:         2
Total uncorrected write errors:      0
Total corrected write errors:        1
Total uncorrected verify errors:     0
Total corrected verify errors:       0
194 Current Drive Temperature:      40 C
  5 Elements in grown defect list:  0

Finished
<!-- gh-comment-id:3405326643 --> @PeterSuh-Q3 commented on GitHub (Oct 15, 2025): Here are the results after removing the typos and testing again. The results of smart.log are the same. ``` root@NAS5:/var/packages/Synosmartinfo/target/bin# ./syno_smart_info.sh Synology_SMART_info v1.4.25 - by 007revad NAS5 SA6400 DSM 7.2.2-72806-3 Using smartctl 7.5 Drive 1 ST2000LM015-2E8174 WDZBNLC9 /dev/sata1 SMART overall-health self-assessment test result: PASSED Please note the following marginal Attributes: ID# ATTRIBUTE_NAME FLAG N_FAILED RAW_VALUE 190 Airflow_Temperature_Cel 0x0022 the_past 34 (Min/Max 23/35) SMART Error Counter Log: 4 1 Raw_Read_Error_Rate 0 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 10486 10 Spin_Retry_Count 0 187 Reported_Uncorrect 0 188 Command_Timeout 0 194 Temperature_Celsius 34 197 Current_Pending_Sector 0 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 1 Drive 2 ST2000LM015-2E8174 WDZD5V93 /dev/sata2 SMART overall-health self-assessment test result: PASSED Please note the following marginal Attributes: ID# ATTRIBUTE_NAME FLAG N_FAILED RAW_VALUE 190 Airflow_Temperature_Cel 0x0022 the_past 32 (0 17 32 23 0) SMART Error Counter Log: 2 1 Raw_Read_Error_Rate 0 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 14743 10 Spin_Retry_Count 0 187 Reported_Uncorrect 0 188 Command_Timeout 12885098500 194 Temperature_Celsius 32 197 Current_Pending_Sector 0 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 0 Drive 3 WD30PURX-64P6ZY0 WD-WMC4N0L5M77D /dev/sata3 SMART overall-health self-assessment test result: PASSED SMART Error Counter Log: No Errors Logged 1 Raw_Read_Error_Rate 251 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 4716 10 Spin_Retry_Count 0 194 Temperature_Celsius 30 197 Current_Pending_Sector 1 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 54 200 Multi_Zone_Error_Rate 0 Drive 4 DT01ABA200V 406SD27AS /dev/sata4 SMART overall-health self-assessment test result: PASSED SMART Error Counter Log: 176 1 Raw_Read_Error_Rate 0 5 Reallocated_Sector_Ct 0 7 Seek_Error_Rate 0 9 Power_On_Hours 3093 10 Spin_Retry_Count 0 194 Temperature_Celsius 32 197 Current_Pending_Sector 0 198 Offline_Uncorrectable 0 199 UDMA_CRC_Error_Count 176 Drive 5 HUS72303CLAR3000 YXGM31PK /dev/sata5 SMART Health Status: OK Total uncorrected read errors: 0 Total corrected read errors: 2 Total uncorrected write errors: 0 Total corrected write errors: 0 Total uncorrected verify errors: 0 Total corrected verify errors: 0 194 Current Drive Temperature: 43 C 5 Elements in grown defect list: 0 Drive 6 HUS72303CLAR3000 YXGKR64K /dev/sata6 SMART Health Status: OK Total uncorrected read errors: 0 Total corrected read errors: 28 Total uncorrected write errors: 0 Total corrected write errors: 0 Total uncorrected verify errors: 0 Total corrected verify errors: 2 194 Current Drive Temperature: 44 C 5 Elements in grown defect list: 0 Drive 7 HUS72303CLAR3000 YXGLMV7K /dev/sata7 SMART Health Status: OK Total uncorrected read errors: 324 Total corrected read errors: 88 Total uncorrected write errors: 0 Total corrected write errors: 0 Total uncorrected verify errors: 0 Total corrected verify errors: 0 194 Current Drive Temperature: 44 C 5 Elements in grown defect list: 0 Drive 8 HUS72303CLAR3000 YXGKYMKK /dev/sata8 SMART Health Status: OK Total uncorrected read errors: 0 Total corrected read errors: 2 Total uncorrected write errors: 0 Total corrected write errors: 1 Total uncorrected verify errors: 0 Total corrected verify errors: 0 194 Current Drive Temperature: 40 C 5 Elements in grown defect list: 0 Finished ```
Author
Owner

@PeterSuh-Q3 commented on GitHub (Oct 15, 2025):

./syno_smart_info.sh -a

Image
<!-- gh-comment-id:3406654800 --> @PeterSuh-Q3 commented on GitHub (Oct 15, 2025): ./syno_smart_info.sh -a <img width="398" height="732" alt="Image" src="https://github.com/user-attachments/assets/19f81428-f39c-427d-897c-604e41519cab" />
Author
Owner

@007revad commented on GitHub (Oct 15, 2025):

Somehow with syno_smart_info3.zip we've lost "Elements in grown defect list" from smart.log for the SAS drives.

[YXGM31PK]
drive_num=Drive 5
model=HUS72303CLAR3000
device=/dev/sata5

Instead of

[YXGM31PK]
drive_num=Drive 5
model=HUS72303CLAR3000
device=/dev/sata5
Elements in grown defect list=0
<!-- gh-comment-id:3408051030 --> @007revad commented on GitHub (Oct 15, 2025): Somehow with syno_smart_info3.zip we've lost "Elements in grown defect list" from smart.log for the SAS drives. ``` [YXGM31PK] drive_num=Drive 5 model=HUS72303CLAR3000 device=/dev/sata5 ``` Instead of ``` [YXGM31PK] drive_num=Drive 5 model=HUS72303CLAR3000 device=/dev/sata5 Elements in grown defect list=0 ```
Author
Owner

@framps commented on GitHub (Oct 16, 2025):

@007revad I just tested 1.4.24 and noticed, in contrast to the last time I ran the script, the initial run with no existing smart.log, doesn't detect any already existing errors any more. smart.log then has the detected error count recorded and any changes are successfully reported in future runs.

<!-- gh-comment-id:3410772344 --> @framps commented on GitHub (Oct 16, 2025): @007revad I just tested 1.4.24 and noticed, in contrast to the last time I ran the script, the initial run with no existing smart.log, doesn't detect any already existing errors any more. smart.log then has the detected error count recorded and any changes are successfully reported in future runs.
Author
Owner

@007revad commented on GitHub (Oct 16, 2025):

@framps Can you provide screenshots of the shell output.

<!-- gh-comment-id:3412034049 --> @007revad commented on GitHub (Oct 16, 2025): @framps Can you provide screenshots of the shell output.
Author
Owner

@framps commented on GitHub (Oct 16, 2025):

Admin@synolix:/volume1/scripts$ ls -lrt
total 84
drwxrwxrwx+ 1 root   root      8 Sep 25 18:17 @eaDir
-rwxrwxrwx  1 SynAdm users  1737 Oct  6 11:30 updateLocalScript.sh
-rwxrwxrwx+ 1 SynAdm users 41452 Oct 16 14:45 syno_smart_info24.sh
-rwxr-xr-x  1 SynAdm users 33148 Oct 16 20:32 syno_smart_info.sh
-rwxrwxrwx+ 1 SynAdm users     0 Oct 16 20:32 syno_smart_info.sh.bak
Admin@synolix:/volume1/scripts$ sudo ./syno_smart_info24.sh -i
Password: 
Synology_SMART_info v1.4.24 - by 007revad
synolix DS418play DSM 7.2.2-72806-4 
Using smartctl 7.5
Using options: -i

No drives have increased important SMART attributes

Finished
Admin@synolix:/volume1/scripts$ cat smart.log 
[WD-WCC7K0AHxxxL]
drive_num=Drive 1
model=WD40EFRX-68N32N0
device=/dev/sda
[WD-WCC7K6Sxxx9K]
drive_num=Drive 2
model=WD40EFRX-68N32N0
device=/dev/sdb
[WD-WCC4N0xxx282]
drive_num=Drive 3
model=WD30EURX-63T0FY0
device=/dev/sdc
Raw_Read_Error_Rate=3
[WD-WCC4N0xxx920]
drive_num=Drive 4
model=WD30EURX-63T0FY0
device=/dev/sdd

As you can see the ErrorRate was added in smart.log

When I now decrement the ErrorRate in smart.log by one I get

Admin@synolix:/volume1/scripts$ sudo ./syno_smart_info24.sh -i
Synology_SMART_info v1.4.24 - by 007revad
synolix DS418play DSM 7.2.2-72806-4 
Using smartctl 7.5
Using options: -i

Drive 3  WD30EURX-63T0FY0  WD-WCC4N0600282  /dev/sdc
  1 Raw_Read_Error_Rate          3	Increased by 1

Finished
<!-- gh-comment-id:3412315071 --> @framps commented on GitHub (Oct 16, 2025): ``` Admin@synolix:/volume1/scripts$ ls -lrt total 84 drwxrwxrwx+ 1 root root 8 Sep 25 18:17 @eaDir -rwxrwxrwx 1 SynAdm users 1737 Oct 6 11:30 updateLocalScript.sh -rwxrwxrwx+ 1 SynAdm users 41452 Oct 16 14:45 syno_smart_info24.sh -rwxr-xr-x 1 SynAdm users 33148 Oct 16 20:32 syno_smart_info.sh -rwxrwxrwx+ 1 SynAdm users 0 Oct 16 20:32 syno_smart_info.sh.bak Admin@synolix:/volume1/scripts$ sudo ./syno_smart_info24.sh -i Password: Synology_SMART_info v1.4.24 - by 007revad synolix DS418play DSM 7.2.2-72806-4 Using smartctl 7.5 Using options: -i No drives have increased important SMART attributes Finished ``` ``` Admin@synolix:/volume1/scripts$ cat smart.log [WD-WCC7K0AHxxxL] drive_num=Drive 1 model=WD40EFRX-68N32N0 device=/dev/sda [WD-WCC7K6Sxxx9K] drive_num=Drive 2 model=WD40EFRX-68N32N0 device=/dev/sdb [WD-WCC4N0xxx282] drive_num=Drive 3 model=WD30EURX-63T0FY0 device=/dev/sdc Raw_Read_Error_Rate=3 [WD-WCC4N0xxx920] drive_num=Drive 4 model=WD30EURX-63T0FY0 device=/dev/sdd ``` As you can see the ErrorRate was added in smart.log When I now decrement the ErrorRate in smart.log by one I get ``` Admin@synolix:/volume1/scripts$ sudo ./syno_smart_info24.sh -i Synology_SMART_info v1.4.24 - by 007revad synolix DS418play DSM 7.2.2-72806-4 Using smartctl 7.5 Using options: -i Drive 3 WD30EURX-63T0FY0 WD-WCC4N0600282 /dev/sdc 1 Raw_Read_Error_Rate 3 Increased by 1 Finished ```
Author
Owner

@007revad commented on GitHub (Oct 16, 2025):

How did it look before?

<!-- gh-comment-id:3412428710 --> @007revad commented on GitHub (Oct 16, 2025): How did it look before?
Author
Owner

@framps commented on GitHub (Oct 16, 2025):

I don't have the old version any more to reproduce the message. But the first run without a smart.log reported as far as I remember

Drive 3  WD30EURX-63T0FY0  WD-WCC4N0600282  /dev/sdc
  1 Raw_Read_Error_Rate          0	Increased by 3
<!-- gh-comment-id:3412502470 --> @framps commented on GitHub (Oct 16, 2025): I don't have the old version any more to reproduce the message. But the first run without a smart.log reported as far as I remember ``` Drive 3 WD30EURX-63T0FY0 WD-WCC4N0600282 /dev/sdc 1 Raw_Read_Error_Rate 0 Increased by 3 ```
Author
Owner

@007revad commented on GitHub (Oct 16, 2025):

You said 1.4.24 works great now 10 days ago

I don't understand what contrast you are referring to.

<!-- gh-comment-id:3412707533 --> @007revad commented on GitHub (Oct 16, 2025): You said 1.4.24 works great now [10 days ago](https://github.com/007revad/Synology_SMART_info/issues/33#issuecomment-3375717814) I don't understand what contrast you are referring to.
Author
Owner

@007revad commented on GitHub (Oct 16, 2025):

But the first run without a smart.log reported as far as I remember

Drive 3 WD30EURX-63T0FY0 WD-WCC4N0600282 /dev/sdc
1 Raw_Read_Error_Rate 0 Increased by 3

And caused task scheduler to send an email saying Raw_Read_Error_Rate had Increased,

That was changed because those errors had not increased as the errors existed before the smart.log was created.

<!-- gh-comment-id:3412763183 --> @007revad commented on GitHub (Oct 16, 2025): > But the first run without a smart.log reported as far as I remember > > Drive 3 WD30EURX-63T0FY0 WD-WCC4N0600282 /dev/sdc > 1 Raw_Read_Error_Rate 0 Increased by 3 And caused task scheduler to send an email saying Raw_Read_Error_Rate had Increased, That was changed because those errors had not increased as the errors existed before the smart.log was created.
Author
Owner

@framps commented on GitHub (Oct 16, 2025):

I'm sorry. Looks like I thought I tested this but actually didn't do 😔

It's just the first use of option -i which doesn't report there is already an issue. In a strict sense option -i reports changes only and if you start with an existing event it's not a change. All future changes then will be reported as changes.

But from an intuitive feeling even this initial event should be reported as a change. JM2C

For me the current implementation is fine. Maybe it's unexpected behavior for other users of the script. Maybe it's sufficient just to document this behavior 😉

<!-- gh-comment-id:3412816949 --> @framps commented on GitHub (Oct 16, 2025): I'm sorry. Looks like I thought I tested this but actually didn't do 😔 It's just the first use of option `-i` which doesn't report there is already an issue. In a strict sense option `-i` reports changes only and if you start with an existing event it's not a change. All future changes then will be reported as changes. But from an intuitive feeling even this initial event should be reported as a change. JM2C For me the current implementation is fine. Maybe it's unexpected behavior for other users of the script. Maybe it's sufficient just to document this behavior 😉
Author
Owner

@007revad commented on GitHub (Oct 16, 2025):

If a drive's serial number is not in smart.log and that drive has important attributes that should be zero but aren't I could show it without the "Increased by" text.

So if it's the first run, or a newly added drive, it would show:

Drive 3  WD30EURX-63T0FY0  WD-WCC4N0600282  /dev/sdc
  1 Raw_Read_Error_Rate          3

Instead of:

No drives have increased important SMART attributes
<!-- gh-comment-id:3412987710 --> @007revad commented on GitHub (Oct 16, 2025): If a drive's serial number is not in smart.log and that drive has important attributes that should be zero but aren't I could show it without the "Increased by" text. So if it's the first run, or a newly added drive, it would show: ``` Drive 3 WD30EURX-63T0FY0 WD-WCC4N0600282 /dev/sdc 1 Raw_Read_Error_Rate 3 ``` Instead of: ``` No drives have increased important SMART attributes ```
Author
Owner

@framps commented on GitHub (Oct 17, 2025):

👍 This will make sure already existing smart issues are not overlooked.

<!-- gh-comment-id:3414148378 --> @framps commented on GitHub (Oct 17, 2025): 👍 This will make sure already existing smart issues are not overlooked.
Author
Owner

@007revad commented on GitHub (Oct 18, 2025):

This is what I've come up with:

First run with -i or --increased option when some drives have important attributes greater than zero.
Image

Second run with -i or --increased option with the same drives.
Image

I'll upload v1.4.25-RC after some more testing.

<!-- gh-comment-id:3418875169 --> @007revad commented on GitHub (Oct 18, 2025): This is what I've come up with: First run with -i or --increased option when some drives have important attributes greater than zero. <img width="661" height="450" alt="Image" src="https://github.com/user-attachments/assets/c3737ad5-b7d2-4a23-842d-262e0e5b5af6" /> Second run with -i or --increased option with the same drives. <img width="661" height="196" alt="Image" src="https://github.com/user-attachments/assets/7757ed50-b648-4e1c-8985-85250c656f33" /> I'll upload v1.4.25-RC after some more testing.
Author
Owner

@007revad commented on GitHub (Oct 20, 2025):

v1.4.25 has been released.

  • Added -i, --increased option to only show drives with important attributes that have changed since last time the script was run.
    • Useful for when the script is scheduled so you only get sent an email when important attributes have increased, or decreased.
    • For SAS drives the -i, --increased option monitors "Elements in grown defect list".
  • Now SAS drives' important attributes are shown in default mode (when no options used).
  • Now sorts drives by DSM drive number (instead of sorting by /dev/sata1 or /dev/sda etc).
  • Now for NVMe drives in a PCIe M.2 card the PCIe M.2 card model is shown like "M.2 Drive 1-1 (E10M20-T1)".
  • Bug fix for NVMe important SMART attribute's number showing in yellow instead of white when script run in default mode or with -1, --increased option.
  • Bug fix for HDDs/SSDs not showing important SMART 10 attribute's value in red if greater 0.
  • Bug fix for non-Seagate HDDs/SSDs not showing important SMART 1, 7 and 195 attribute's value in red if greater 0.
  • Bug fix for Seagate HDDs (and HAT3300) not showing important SMART 1, 7 and 195 attribute's value in red if greater 0 and smartctl 7 not installed.
<!-- gh-comment-id:3420422897 --> @007revad commented on GitHub (Oct 20, 2025): [v1.4.25](https://github.com/007revad/Synology_SMART_info/releases/tag/v1.4.25) has been released. - Added `-i, --increased` option to only show drives with important attributes that have changed since last time the script was run. - Useful for when the script is scheduled so you only get sent an email when important attributes have increased, or decreased. - For SAS drives the `-i, --increased` option monitors "Elements in grown defect list". - Now SAS drives' important attributes are shown in default mode (when no options used). - Now sorts drives by DSM drive number (instead of sorting by `/dev/sata1` or `/dev/sda` etc). - Now for NVMe drives in a PCIe M.2 card the PCIe M.2 card model is shown like "M.2 Drive 1-1 (E10M20-T1)". - Bug fix for NVMe important SMART attribute's number showing in yellow instead of white when script run in default mode or with `-1, --increased` option. - Bug fix for HDDs/SSDs not showing important SMART 10 attribute's value in red if greater 0. - Bug fix for non-Seagate HDDs/SSDs not showing important SMART 1, 7 and 195 attribute's value in red if greater 0. - Bug fix for Seagate HDDs (and HAT3300) not showing important SMART 1, 7 and 195 attribute's value in red if greater 0 and smartctl 7 not installed.
Author
Owner

@007revad commented on GitHub (Oct 20, 2025):

@PeterSuh-Q3

Before your workflow downloads the latest syno_smart_info.sh you should edit api.cgi and index.html to add the -i option.

api.cgi

        ""|"-a"|"-i")

indxex.html

            <select id="optionSelect">
                <option value="" selected>Default SMART scan</option>
                <option value="-a">Show all SMART attributes (-a)</option>
                <option value="-i">Show increased SMART attributes (-i)</option>
                <option value="-h">Show usage options (-h)</option>
                <option value="-v">Show script version (-v)</option>
            </select>
Image
<!-- gh-comment-id:3421070793 --> @007revad commented on GitHub (Oct 20, 2025): @PeterSuh-Q3 Before your workflow downloads the latest syno_smart_info.sh you should edit `api.cgi` and `index.html` to add the `-i` option. api.cgi ``` ""|"-a"|"-i") ``` indxex.html ``` <select id="optionSelect"> <option value="" selected>Default SMART scan</option> <option value="-a">Show all SMART attributes (-a)</option> <option value="-i">Show increased SMART attributes (-i)</option> <option value="-h">Show usage options (-h)</option> <option value="-v">Show script version (-v)</option> </select> ``` <img width="600" height="774" alt="Image" src="https://github.com/user-attachments/assets/d22e493d-29c8-48cf-b6e7-4c6e0a98827d" />
Author
Owner

@PeterSuh-Q3 commented on GitHub (Oct 20, 2025):

Your request has been completed as follows.

Since the capture is in a VMware environment, very little information is visible.

Image

https://github.com/PeterSuh-Q3/SynoSmartInfo/releases/tag/v1.2.6

<!-- gh-comment-id:3421306189 --> @PeterSuh-Q3 commented on GitHub (Oct 20, 2025): Your request has been completed as follows. Since the capture is in a VMware environment, very little information is visible. <img width="827" height="844" alt="Image" src="https://github.com/user-attachments/assets/761202cb-7d0f-41c2-8730-abdfd6b4fcda" /> https://github.com/PeterSuh-Q3/SynoSmartInfo/releases/tag/v1.2.6
Author
Owner

@framps commented on GitHub (Oct 20, 2025):

v1.4.25 works perfectly for me

root@syno:/var/packages/Synology_SMART_info# rm smart.log 
root@syno:/var/packages/Synology_SMART_info# ./syno_smart_info.sh -i
Synology_SMART_info v1.4.25 - by 007revad
synolix DS418play DSM 7.2.2-72806-4 
Using smartctl 7.5
Using options: -i

Drive 3  WD30EURX-63T0FY0  WD-WCC4N0600282  /dev/sdc
  1 Raw_Read_Error_Rate          3

The above drives have important SMART attributes greater than zero

Finished

root@syno:/var/packages/Synology_SMART_info# ./syno_smart_info.sh -i
Synology_SMART_info v1.4.25 - by 007revad
synolix DS418play DSM 7.2.2-72806-4 
Using smartctl 7.5
Using options: -i

No drives have increased important SMART attributes

Finished

root@syno:/var/packages/Synology_SMART_info# sed -i "s/Read_Error_Rate=3/Read_Error_Rate=2/" smart.log 
root@syno:/var/packages/Synology_SMART_info# ./syno_smart_info.sh -i
Synology_SMART_info v1.4.25 - by 007revad
synolix DS418play DSM 7.2.2-72806-4 
Using smartctl 7.5
Using options: -i

Drive 3  WD30EURX-63T0FY0  WD-WCC4N0600282  /dev/sdc
  1 Raw_Read_Error_Rate          3	Increased by 1

Finished
<!-- gh-comment-id:3423002920 --> @framps commented on GitHub (Oct 20, 2025): v1.4.25 works perfectly for me ``` root@syno:/var/packages/Synology_SMART_info# rm smart.log root@syno:/var/packages/Synology_SMART_info# ./syno_smart_info.sh -i Synology_SMART_info v1.4.25 - by 007revad synolix DS418play DSM 7.2.2-72806-4 Using smartctl 7.5 Using options: -i Drive 3 WD30EURX-63T0FY0 WD-WCC4N0600282 /dev/sdc 1 Raw_Read_Error_Rate 3 The above drives have important SMART attributes greater than zero Finished root@syno:/var/packages/Synology_SMART_info# ./syno_smart_info.sh -i Synology_SMART_info v1.4.25 - by 007revad synolix DS418play DSM 7.2.2-72806-4 Using smartctl 7.5 Using options: -i No drives have increased important SMART attributes Finished root@syno:/var/packages/Synology_SMART_info# sed -i "s/Read_Error_Rate=3/Read_Error_Rate=2/" smart.log root@syno:/var/packages/Synology_SMART_info# ./syno_smart_info.sh -i Synology_SMART_info v1.4.25 - by 007revad synolix DS418play DSM 7.2.2-72806-4 Using smartctl 7.5 Using options: -i Drive 3 WD30EURX-63T0FY0 WD-WCC4N0600282 /dev/sdc 1 Raw_Read_Error_Rate 3 Increased by 1 Finished ```
Author
Owner

@007revad commented on GitHub (Oct 21, 2025):

@PeterSuh-Q3

I'm confused. Why is the -i option printing the SAS (scsi) SMART header?

Does this

smartctl7 -H -d scsi -T permissive /dev/sata5 | tail -n +5 | grep -E 'SMART Health Status.*OK'

return "SMART Health Status: OK" ?

Image
<!-- gh-comment-id:3424281733 --> @007revad commented on GitHub (Oct 21, 2025): @PeterSuh-Q3 I'm confused. Why is the -i option printing the SAS (scsi) SMART header? Does this ``` smartctl7 -H -d scsi -T permissive /dev/sata5 | tail -n +5 | grep -E 'SMART Health Status.*OK' ``` return "SMART Health Status: OK" ? <img width="827" height="549" alt="Image" src="https://github.com/user-attachments/assets/b695aca1-db76-44e3-b928-478e9cc28c05" />
Author
Owner

@PeterSuh-Q3 commented on GitHub (Oct 22, 2025):

As mentioned above, the captured image simply checks whether the -i option works.

Did the virtual environment test confuse you?

Do you want the results from the bare metal (NAS5) you were testing on?

<!-- gh-comment-id:3431634724 --> @PeterSuh-Q3 commented on GitHub (Oct 22, 2025): As mentioned above, the captured image simply checks whether the -i option works. Did the virtual environment test confuse you? Do you want the results from the bare metal (NAS5) you were testing on?
Author
Owner

@007revad commented on GitHub (Oct 22, 2025):

Did the virtual environment test confuse you?

Yes 😄 It makes sense now.

<!-- gh-comment-id:3434367625 --> @007revad commented on GitHub (Oct 22, 2025): > Did the virtual environment test confuse you? Yes :smile: It makes sense now.
Author
Owner

@framps commented on GitHub (Oct 24, 2025):

v1.4.30 fails on my system 🥲

root@syno:/var/packages/Synology_SMART_info# ./syno_smart_info.sh -i
Synology_SMART_info v1.4.30 - by 007revad
synolix DS418play DSM 7.2.2-72806-4 
Using smartctl 7.5
Using options: -i
./syno_smart_info.sh: line 1274: syno_slot_mapping: command not found

No drives have increased important SMART attributes

Finished
<!-- gh-comment-id:3442134176 --> @framps commented on GitHub (Oct 24, 2025): v1.4.30 fails on my system 🥲 ``` root@syno:/var/packages/Synology_SMART_info# ./syno_smart_info.sh -i Synology_SMART_info v1.4.30 - by 007revad synolix DS418play DSM 7.2.2-72806-4 Using smartctl 7.5 Using options: -i ./syno_smart_info.sh: line 1274: syno_slot_mapping: command not found No drives have increased important SMART attributes Finished ```
Author
Owner

@007revad commented on GitHub (Oct 24, 2025):

Oops. I forgot that only models that use device tree have syno_slot_mapping. Older models use synodisk --get_location_form.

<!-- gh-comment-id:3443902419 --> @007revad commented on GitHub (Oct 24, 2025): Oops. I forgot that only models that use device tree have syno_slot_mapping. Older models use `synodisk --get_location_form`.
Author
Owner

@007revad commented on GitHub (Oct 25, 2025):

Can you try v1.4.31

  • Changed to use different method of getting expansion unit model to be backward compatible with NAS models without syno_slot_mapping.

This time I tested it on my DS1821+ and DS1812+ 😄

<!-- gh-comment-id:3445391547 --> @007revad commented on GitHub (Oct 25, 2025): Can you try [v1.4.31](https://github.com/007revad/Synology_SMART_info/releases/tag/v1.4.31) - Changed to use different method of getting expansion unit model to be backward compatible with NAS models without syno_slot_mapping. This time I tested it on my DS1821+ and DS1812+ :smile:
Author
Owner

@007revad commented on GitHub (Oct 25, 2025):

@PeterSuh-Q3

Does this command provide any more SMART information for SAS drives?

sudo synodisk --smart_info_get /dev/sata5
<!-- gh-comment-id:3445435312 --> @007revad commented on GitHub (Oct 25, 2025): @PeterSuh-Q3 Does this command provide any more SMART information for SAS drives? ``` sudo synodisk --smart_info_get /dev/sata5 ```
Author
Owner

@PeterSuh-Q3 commented on GitHub (Oct 25, 2025):

@PeterSuh-Q3

Does this command provide any more SMART information for SAS drives?

sudo synodisk --smart_info_get /dev/sata5
admin2@NAS5:~$ sudo synodisk --smart_info_get /dev/sata5
Name: Raw_Read_Error_Rate
Id: 1
Current: 200
Worst: 200
Threshold: 006
Raw: 0
Status: OK
---------------------
Name: Throughput_Performance
Id: 2
Current: 128
Worst: 117
Threshold: 064
Raw: 128
Status: OK
---------------------
Name: Spin_Up_Time
Id: 3
Current: 177
Worst: 176
Threshold: 006
Raw: 4687
Status: OK
---------------------
Name: Start_Stop_Count
Id: 4
Current: 100
Worst: 100
Threshold: 000
Raw: 69
Status: OK
---------------------
Name: Reallocated_Sector_Ct
Id: 5
Current: 200
Worst: 200
Threshold: 140
Raw: 0
Status: OK
---------------------
Name: Power_On_Hours
Id: 9
Current: 006
Worst: 000
Threshold: 000
Raw: 12973
Status: OK
---------------------
Name: Power_Cycle_Count
Id: 12
Current: 100
Worst: 100
Threshold: 000
Raw: 42
Status: OK
---------------------
Name: Read_Soft_Error_Rate
Id: 13
Current: 200
Worst: 200
Threshold: 000
Raw: 0
Status: OK
---------------------
Name: Runtime_Bad_Block
Id: 183
Current: 200
Worst: 200
Threshold: 140
Raw: 0
Status: OK
---------------------
Name: End-to-End_Error
Id: 184
Current: 200
Worst: 200
Threshold: 140
Raw: 0
Status: OK
---------------------
Name: Reported_Uncorrect
Id: 187
Current: 062
Worst: 062
Threshold: 005
Raw: 0
Status: OK
---------------------
Name: Command_Timeout
Id: 188
Current: 100
Worst: 100
Threshold: 000
Raw: 0
Status: OK
---------------------
Name: Airflow_Temperature_Cel
Id: 190
Current: 062
Worst: 062
Threshold: 000
Raw: 27
Status: OK
---------------------
Name: Power-Off_Retract_Count
Id: 192
Current: 100
Worst: 100
Threshold: 000
Raw: 40
Status: OK
---------------------
Name: Temperature_Celsius
Id: 194
Current: 118
Worst: 098
Threshold: 000
Raw: 29
Status: OK
---------------------
Name: Hardware_ECC_Recovered
Id: 195
Current: 128
Worst: 128
Threshold: 000
Raw: 57
Status: OK
---------------------
Name: Reallocated_Event_Count
Id: 196
Current: 128
Worst: 128
Threshold: 000
Raw: 0
Status: OK
---------------------
Name: Current_Pending_Sector
Id: 197
Current: 128
Worst: 128
Threshold: 000
Raw: 0
Status: OK
---------------------
Name: Offline_Uncorrectable
Id: 198
Current: 100
Worst: 254
Threshold: 000
Raw: 0
Status: OK
---------------------
Name: UDMA_CRC_Error_Count
Id: 199
Current: 200
Worst: 200
Threshold: 000
Raw: 0
Status: OK
---------------------
<!-- gh-comment-id:3445458061 --> @PeterSuh-Q3 commented on GitHub (Oct 25, 2025): > [@PeterSuh-Q3](https://github.com/PeterSuh-Q3) > > Does this command provide any more SMART information for SAS drives? > > ``` > sudo synodisk --smart_info_get /dev/sata5 > ``` ``` admin2@NAS5:~$ sudo synodisk --smart_info_get /dev/sata5 Name: Raw_Read_Error_Rate Id: 1 Current: 200 Worst: 200 Threshold: 006 Raw: 0 Status: OK --------------------- Name: Throughput_Performance Id: 2 Current: 128 Worst: 117 Threshold: 064 Raw: 128 Status: OK --------------------- Name: Spin_Up_Time Id: 3 Current: 177 Worst: 176 Threshold: 006 Raw: 4687 Status: OK --------------------- Name: Start_Stop_Count Id: 4 Current: 100 Worst: 100 Threshold: 000 Raw: 69 Status: OK --------------------- Name: Reallocated_Sector_Ct Id: 5 Current: 200 Worst: 200 Threshold: 140 Raw: 0 Status: OK --------------------- Name: Power_On_Hours Id: 9 Current: 006 Worst: 000 Threshold: 000 Raw: 12973 Status: OK --------------------- Name: Power_Cycle_Count Id: 12 Current: 100 Worst: 100 Threshold: 000 Raw: 42 Status: OK --------------------- Name: Read_Soft_Error_Rate Id: 13 Current: 200 Worst: 200 Threshold: 000 Raw: 0 Status: OK --------------------- Name: Runtime_Bad_Block Id: 183 Current: 200 Worst: 200 Threshold: 140 Raw: 0 Status: OK --------------------- Name: End-to-End_Error Id: 184 Current: 200 Worst: 200 Threshold: 140 Raw: 0 Status: OK --------------------- Name: Reported_Uncorrect Id: 187 Current: 062 Worst: 062 Threshold: 005 Raw: 0 Status: OK --------------------- Name: Command_Timeout Id: 188 Current: 100 Worst: 100 Threshold: 000 Raw: 0 Status: OK --------------------- Name: Airflow_Temperature_Cel Id: 190 Current: 062 Worst: 062 Threshold: 000 Raw: 27 Status: OK --------------------- Name: Power-Off_Retract_Count Id: 192 Current: 100 Worst: 100 Threshold: 000 Raw: 40 Status: OK --------------------- Name: Temperature_Celsius Id: 194 Current: 118 Worst: 098 Threshold: 000 Raw: 29 Status: OK --------------------- Name: Hardware_ECC_Recovered Id: 195 Current: 128 Worst: 128 Threshold: 000 Raw: 57 Status: OK --------------------- Name: Reallocated_Event_Count Id: 196 Current: 128 Worst: 128 Threshold: 000 Raw: 0 Status: OK --------------------- Name: Current_Pending_Sector Id: 197 Current: 128 Worst: 128 Threshold: 000 Raw: 0 Status: OK --------------------- Name: Offline_Uncorrectable Id: 198 Current: 100 Worst: 254 Threshold: 000 Raw: 0 Status: OK --------------------- Name: UDMA_CRC_Error_Count Id: 199 Current: 200 Worst: 200 Threshold: 000 Raw: 0 Status: OK --------------------- ```
Author
Owner

@007revad commented on GitHub (Oct 25, 2025):

@PeterSuh-Q3

Do you want me to add all those for SAS drives? In the same format as SATA drives.

<!-- gh-comment-id:3446009747 --> @007revad commented on GitHub (Oct 25, 2025): @PeterSuh-Q3 Do you want me to add all those for SAS drives? In the same format as SATA drives.
Author
Owner

@PeterSuh-Q3 commented on GitHub (Oct 25, 2025):

@PeterSuh-Q3

Do you want me to add all those for SAS drives? In the same format as SATA drives.

Why is this information used? Does it provide detailed information about the disk's health? If SATA and SAS provide the same information, it seems like they could be used interchangeably.

<!-- gh-comment-id:3446049103 --> @PeterSuh-Q3 commented on GitHub (Oct 25, 2025): > @PeterSuh-Q3 > > Do you want me to add all those for SAS drives? In the same format as SATA drives. Why is this information used? Does it provide detailed information about the disk's health? If SATA and SAS provide the same information, it seems like they could be used interchangeably.
Author
Owner

@007revad commented on GitHub (Oct 25, 2025):

You previously said "As expected, SAS disks lack sufficient information"

And the output you previously posted has very little useful SMART attribute info.

# smartctl -d scsi --all /dev/sata5
smartctl 6.5 (build date Sep 26 2022) [x86_64-linux-5.10.55+] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HITACHI
Product:              HUS72303CLAR3000
Revision:             C442
Compliance:           SPC-4
User Capacity:        3,000,592,982,016 bytes [3.00 TB]
Logical block size:   512 bytes
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000cca04620368c
Serial number:        YXGKR64K
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sun Oct 12 14:15:17 2025 KST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Disabled or Not Supported

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     37 C
Drive Trip Temperature:        85 C

Manufactured in week 03 of year 2014
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  114
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  2628
Elements in grown defect list: 0

Vendor (Seagate) cache information
  Blocks sent to initiator = 9288674231451648

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0       28         0        28   32655674     363169.530           0
write:         0        0         0         0    1114316     451282.434           0
verify:        0        2         0         2    5587833      21637.281           0

Non-medium error count:        0

No self-tests have been logged
<!-- gh-comment-id:3446214244 --> @007revad commented on GitHub (Oct 25, 2025): You previously said "As expected, SAS disks lack sufficient information" And the output you previously posted has very little useful SMART attribute info. ``` # smartctl -d scsi --all /dev/sata5 smartctl 6.5 (build date Sep 26 2022) [x86_64-linux-5.10.55+] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Vendor: HITACHI Product: HUS72303CLAR3000 Revision: C442 Compliance: SPC-4 User Capacity: 3,000,592,982,016 bytes [3.00 TB] Logical block size: 512 bytes Rotation Rate: 7200 rpm Form Factor: 3.5 inches Logical Unit id: 0x5000cca04620368c Serial number: YXGKR64K Device type: disk Transport protocol: SAS (SPL-3) Local Time is: Sun Oct 12 14:15:17 2025 KST SMART support is: Available - device has SMART capability. SMART support is: Enabled Temperature Warning: Disabled or Not Supported === START OF READ SMART DATA SECTION === SMART Health Status: OK Current Drive Temperature: 37 C Drive Trip Temperature: 85 C Manufactured in week 03 of year 2014 Specified cycle count over device lifetime: 50000 Accumulated start-stop cycles: 114 Specified load-unload count over device lifetime: 600000 Accumulated load-unload cycles: 2628 Elements in grown defect list: 0 Vendor (Seagate) cache information Blocks sent to initiator = 9288674231451648 Error counter log: Errors Corrected by Total Correction Gigabytes Total ECC rereads/ errors algorithm processed uncorrected fast | delayed rewrites corrected invocations [10^9 bytes] errors read: 0 28 0 28 32655674 363169.530 0 write: 0 0 0 0 1114316 451282.434 0 verify: 0 2 0 2 5587833 21637.281 0 Non-medium error count: 0 No self-tests have been logged ```
Author
Owner

@framps commented on GitHub (Oct 25, 2025):

v1.4.31 still fails on my system ...

root@syno:/var/packages/Synology_SMART_info# ./syno_smart_info.sh -i
Synology_SMART_info v1.4.31 - by 007revad
synolix DS418play DSM 7.2.2-72806-4 
Using smartctl 7.5
Using options: -i
grep: /tmp/eunitinfo_*: No such file or directory
grep: /tmp/eunitinfo_*: No such file or directory
grep: /tmp/eunitinfo_*: No such file or directory
grep: /tmp/eunitinfo_*: No such file or directory
grep: /tmp/eunitinfo_*: No such file or directory
grep: /tmp/eunitinfo_*: No such file or directory
grep: /tmp/eunitinfo_*: No such file or directory
grep: /tmp/eunitinfo_*: No such file or directory

No drives have increased important SMART attributes

Finished
<!-- gh-comment-id:3446426072 --> @framps commented on GitHub (Oct 25, 2025): v1.4.31 still fails on my system ... ``` root@syno:/var/packages/Synology_SMART_info# ./syno_smart_info.sh -i Synology_SMART_info v1.4.31 - by 007revad synolix DS418play DSM 7.2.2-72806-4 Using smartctl 7.5 Using options: -i grep: /tmp/eunitinfo_*: No such file or directory grep: /tmp/eunitinfo_*: No such file or directory grep: /tmp/eunitinfo_*: No such file or directory grep: /tmp/eunitinfo_*: No such file or directory grep: /tmp/eunitinfo_*: No such file or directory grep: /tmp/eunitinfo_*: No such file or directory grep: /tmp/eunitinfo_*: No such file or directory grep: /tmp/eunitinfo_*: No such file or directory No drives have increased important SMART attributes Finished ```
Author
Owner

@PeterSuh-Q3 commented on GitHub (Oct 25, 2025):

You previously said "As expected, SAS disks lack sufficient information"

And the output you previously posted has very little useful SMART attribute info.

# smartctl -d scsi --all /dev/sata5
smartctl 6.5 (build date Sep 26 2022) [x86_64-linux-5.10.55+] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HITACHI
Product:              HUS72303CLAR3000
Revision:             C442
Compliance:           SPC-4
User Capacity:        3,000,592,982,016 bytes [3.00 TB]
Logical block size:   512 bytes
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000cca04620368c
Serial number:        YXGKR64K
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sun Oct 12 14:15:17 2025 KST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Disabled or Not Supported

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     37 C
Drive Trip Temperature:        85 C

Manufactured in week 03 of year 2014
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  114
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  2628
Elements in grown defect list: 0

Vendor (Seagate) cache information
  Blocks sent to initiator = 9288674231451648

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0       28         0        28   32655674     363169.530           0
write:         0        0         0         0    1114316     451282.434           0
verify:        0        2         0         2    5587833      21637.281           0

Non-medium error count:        0

No self-tests have been logged

Synodisk seems to provide as much information as smartctl.
For SAS, synodisk actually provides more detailed information.
While synodisk doesn't display information as clearly and visually as smartctl,
it seems perfect for use with Syno Smart Info.
Are you planning to exclude smartctl from your existing scripts and use only synodisk?

<!-- gh-comment-id:3446638453 --> @PeterSuh-Q3 commented on GitHub (Oct 25, 2025): > You previously said "As expected, SAS disks lack sufficient information" > > And the output you previously posted has very little useful SMART attribute info. > > ``` > # smartctl -d scsi --all /dev/sata5 > smartctl 6.5 (build date Sep 26 2022) [x86_64-linux-5.10.55+] (local build) > Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org > > === START OF INFORMATION SECTION === > Vendor: HITACHI > Product: HUS72303CLAR3000 > Revision: C442 > Compliance: SPC-4 > User Capacity: 3,000,592,982,016 bytes [3.00 TB] > Logical block size: 512 bytes > Rotation Rate: 7200 rpm > Form Factor: 3.5 inches > Logical Unit id: 0x5000cca04620368c > Serial number: YXGKR64K > Device type: disk > Transport protocol: SAS (SPL-3) > Local Time is: Sun Oct 12 14:15:17 2025 KST > SMART support is: Available - device has SMART capability. > SMART support is: Enabled > Temperature Warning: Disabled or Not Supported > > === START OF READ SMART DATA SECTION === > SMART Health Status: OK > > Current Drive Temperature: 37 C > Drive Trip Temperature: 85 C > > Manufactured in week 03 of year 2014 > Specified cycle count over device lifetime: 50000 > Accumulated start-stop cycles: 114 > Specified load-unload count over device lifetime: 600000 > Accumulated load-unload cycles: 2628 > Elements in grown defect list: 0 > > Vendor (Seagate) cache information > Blocks sent to initiator = 9288674231451648 > > Error counter log: > Errors Corrected by Total Correction Gigabytes Total > ECC rereads/ errors algorithm processed uncorrected > fast | delayed rewrites corrected invocations [10^9 bytes] errors > read: 0 28 0 28 32655674 363169.530 0 > write: 0 0 0 0 1114316 451282.434 0 > verify: 0 2 0 2 5587833 21637.281 0 > > Non-medium error count: 0 > > No self-tests have been logged > ``` Synodisk seems to provide as much information as smartctl. For SAS, synodisk actually provides more detailed information. While synodisk doesn't display information as clearly and visually as smartctl, it seems perfect for use with Syno Smart Info. Are you planning to exclude smartctl from your existing scripts and use only synodisk?
Author
Owner

@007revad commented on GitHub (Oct 25, 2025):

Fixed in v1.4.32

I didn't catch that grep issue because after disconnecting my DX213 while the NAS was running /tmp/eunitinfo_2 still existed.

<!-- gh-comment-id:3447487474 --> @007revad commented on GitHub (Oct 25, 2025): Fixed in [v1.4.32](https://github.com/007revad/Synology_SMART_info/releases/tag/v1.4.32) I didn't catch that grep issue because after disconnecting my DX213 while the NAS was running `/tmp/eunitinfo_2` still existed.
Author
Owner

@007revad commented on GitHub (Oct 25, 2025):

@PeterSuh-Q3

Are you planning to exclude smartctl from your existing scripts and use only synodisk?

I will parse the information from synodisk and then format it the same as smartctl does for SATA drives.

<!-- gh-comment-id:3447621147 --> @007revad commented on GitHub (Oct 25, 2025): @PeterSuh-Q3 > Are you planning to exclude smartctl from your existing scripts and use only synodisk? I will parse the information from synodisk and then format it the same as smartctl does for SATA drives.
Author
Owner

@framps commented on GitHub (Oct 25, 2025):

v1.4.32 works now again on my system 👍

root@syno:/var/packages/Synology_SMART_info# ./syno_smart_info.sh -i
Synology_SMART_info v1.4.32 - by 007revad
synolix DS418play DSM 7.2.2-72806-4 
Using smartctl 7.5
Using options: -i

Drive 3  WD30EURX-63T0FY0  WD-WCC4N0600282  /dev/sdc
  1 Raw_Read_Error_Rate          3

The above drives have important SMART attributes greater than zero

Finished

PS: I just need one minute to check if a new release works for me with my update script I provided in my PR 😉

<!-- gh-comment-id:3447718992 --> @framps commented on GitHub (Oct 25, 2025): v1.4.32 works now again on my system 👍 ``` root@syno:/var/packages/Synology_SMART_info# ./syno_smart_info.sh -i Synology_SMART_info v1.4.32 - by 007revad synolix DS418play DSM 7.2.2-72806-4 Using smartctl 7.5 Using options: -i Drive 3 WD30EURX-63T0FY0 WD-WCC4N0600282 /dev/sdc 1 Raw_Read_Error_Rate 3 The above drives have important SMART attributes greater than zero Finished ``` PS: I just need one minute to check if a new release works for me with my update script I provided in my [PR](https://github.com/007revad/Synology_SMART_info/pulls) 😉
Author
Owner

@007revad commented on GitHub (Oct 25, 2025):

Many of my other scripts have an auto update option. I use 2 variations of the same code:

  1. Just print that there's a new version available.
  2. Print that there's a new version available and offer to download it - or automatically download it if the --autoupdate option was used and the new version is older than the specified age.

Like in syno_hdd_db

      --autoupdate=AGE  Auto update script (useful when script is scheduled)
                          AGE is how many days old a release must be before
                          auto-updating. AGE must be a number: 0 or greater

After it's updated itself it runs the new version in same shell window.

When I originally wrote this script I never thought it would be more than a few hundred lines or get updated so often so I only included the "Just print that there's a new version available" version.

<!-- gh-comment-id:3447727841 --> @007revad commented on GitHub (Oct 25, 2025): Many of my other scripts have an auto update option. I use 2 variations of the same code: 1. Just print that there's a new version available. 2. Print that there's a new version available and offer to download it - or automatically download it if the `--autoupdate` option was used and the new version is older than the specified age. Like in syno_hdd_db ``` --autoupdate=AGE Auto update script (useful when script is scheduled) AGE is how many days old a release must be before auto-updating. AGE must be a number: 0 or greater ``` After it's updated itself it runs the new version in same shell window. When I originally wrote this script I never thought it would be more than a few hundred lines or get updated so often so I only included the "Just print that there's a new version available" version.
Author
Owner

@framps commented on GitHub (Oct 25, 2025):

I didn't know you have this update feature already in your other scripts available when I created the PR.

I frankly don't like an autoupdate. I want to know when anything is updated on my system. But I think it's worth to add another option in your script, -u for example, to start a manual update and close my PR.

<!-- gh-comment-id:3447734362 --> @framps commented on GitHub (Oct 25, 2025): I didn't know you have this update feature already in your other scripts available when I created the PR. I frankly don't like an autoupdate. I want to know when anything is updated on my system. But I think it's worth to add another option in your script, `-u` for example, to start a manual update and close my PR.
Author
Owner

@007revad commented on GitHub (Oct 25, 2025):

I'll add a -u option, and your updateLocalScript.sh

So if updateLocalScript.sh is in the same folder as syno_smart_info.sh users will see:

There is a newer version of this script available.
Current version: v1.4.31
Latest version:  v1.4.32
Run syno_smart_info.sh -u to update.

And because I assume Peter's Synosmartinfo package won't have updateLocalScript.sh in the same folder as syno_smart_info.sh users of Synosmartinfo will see:

There is a newer version of this script available.
Current version: v1.4.31
Latest version:  v1.4.32
<!-- gh-comment-id:3447750617 --> @007revad commented on GitHub (Oct 25, 2025): I'll add a `-u` option, and your updateLocalScript.sh So if updateLocalScript.sh is in the same folder as syno_smart_info.sh users will see: ``` There is a newer version of this script available. Current version: v1.4.31 Latest version: v1.4.32 Run syno_smart_info.sh -u to update. ``` And because I assume Peter's Synosmartinfo package won't have updateLocalScript.sh in the same folder as syno_smart_info.sh users of Synosmartinfo will see: ``` There is a newer version of this script available. Current version: v1.4.31 Latest version: v1.4.32 ```
Author
Owner

@007revad commented on GitHub (Oct 26, 2025):

PS: I just need one minute to check if a new release works for me with my update script

It does 😄
Image

I've done my part.
Image

Which only appears when not run from @appstore.
Image

<!-- gh-comment-id:3447921432 --> @007revad commented on GitHub (Oct 26, 2025): > PS: I just need one minute to check if a new release works for me with my update script It does :smile: <img width="661" height="307" alt="Image" src="https://github.com/user-attachments/assets/55fe3e6e-f2e3-48ca-86a4-a0894ff189f9" /> I've done my part. <img width="661" height="242" alt="Image" src="https://github.com/user-attachments/assets/6e37a3d3-6a0a-4de7-bd6c-b66ffc85e0c5" /> Which only appears when not run from `@appstore`. <img width="661" height="231" alt="Image" src="https://github.com/user-attachments/assets/73409f30-ba10-4aa0-80e0-3a61d440d2ac" />
Author
Owner

@framps commented on GitHub (Oct 26, 2025):

I just updated the topic of this thread to reflect the primary reason for this topic 😃 The old topic was meant to start a discussion and in the meantime the proposed update was implemented 👍

<!-- gh-comment-id:3449002657 --> @framps commented on GitHub (Oct 26, 2025): I just updated the topic of this thread to reflect the primary reason for this topic 😃 The old topic was meant to start a discussion and in the meantime the proposed update was implemented 👍
Author
Owner

@007revad commented on GitHub (Oct 27, 2025):

v1.4.33

  • Added updateLocalScript.sh to update the script when there's a newer version. Thanks @framps
  • Added -u, --update option to update the script when there's a newer version.
image
<!-- gh-comment-id:3449452906 --> @007revad commented on GitHub (Oct 27, 2025): [v1.4.33](https://github.com/007revad/Synology_SMART_info/releases/tag/v1.4.33) - Added updateLocalScript.sh to update the script when there's a newer version. Thanks @framps - Added -u, --update option to update the script when there's a newer version. <img width="503" height="198" alt="image" src="https://github.com/user-attachments/assets/238c8f07-5762-4bc5-9fd6-76730cf50708" />
Author
Owner

@007revad commented on GitHub (Oct 27, 2025):

Synodisk seems to provide as much information as smartctl.
For SAS, synodisk actually provides more detailed information.
While synodisk doesn't display information as clearly and visually as smartctl,
it seems perfect for use with Syno Smart Info.
Are you planning to exclude smartctl from your existing scripts and use only synodisk?

I was going to use synodisk for SAS drives. But then I thought synodisk must get the smart information from smartctl. So I tried to find out what smartctl options synodisk uses but haven't found anything yet.

I can display synodisk's output in more readable format.

root@DS925plus:~# /volume2/scripts/synodisk_smart_parser.sh
------------------------------------------------------------------------------
ID# ATTRIBUTE_NAME                 VALUE  WORST  THRESH RAW             STATUS
------------------------------------------------------------------------------
  1 Raw_Read_Error_Rate            100    100    000    0                 OK
  5 Reallocated_Sector_Ct          100    100    010    0                 OK
  9 Power_On_Hours                 100    100    000    474               OK
 12 Power_Cycle_Count              100    100    000    169               OK
171 Unknown_Attribute              100    100    000    0                 OK
172 Unknown_Attribute              100    100    000    0                 OK
173 Unknown_Attribute              100    100    000    2                 OK
174 Unknown_Attribute              100    100    000    1                 OK
180 Unused_Rsvd_Blk_Cnt_Tot        100    100    000    4                 OK
183 Runtime_Bad_Block              100    100    000    0                 OK
184 End-to-End_Error               100    100    000    0                 OK
187 Reported_Uncorrect             100    100    000    0                 OK
194 Temperature_Celsius            066    063    000    34                OK
196 Reallocated_Event_Count        100    100    000    0                 OK
197 Current_Pending_Sector         100    100    000    0                 OK
198 Offline_Uncorrectable          100    100    000    0                 OK
199 UDMA_CRC_Error_Count           100    100    000    0                 OK
202 Unknown_SSD_Attribute          100    100    001    0                 OK
206 Unknown_SSD_Attribute          100    100    000    0                 OK
210 Unknown_Attribute              100    100    000    0                 OK
246 Unknown_Attribute              100    100    000    86367823          OK
247 Unknown_Attribute              100    100    000    2698994           OK
248 Unknown_Attribute              100    100    000    0                 OK
249 Unknown_Attribute              100    100    000    0                 OK
250 Read_Error_Retry_Rate          100    100    000    0                 OK
251 Unknown_Attribute              100    100    000    108830374         OK
252 Unknown_Attribute              100    100    000    0                 OK
253 Unknown_Attribute              100    100    000    0                 OK

At first I liked that synodisk decides if the raw value is ok or not. But it shows the following as OK!

  1 Raw_Read_Error_Rate          3392
  5 Reallocated_Sector_Ct        438
197 Current_Pending_Sector       52
199 UDMA_CRC_Error_Count         17523

I'm going to remove the STATUS column and just keep:

ID# ATTRIBUTE_NAME                 VALUE  WORST  THRESH RAW
<!-- gh-comment-id:3449552055 --> @007revad commented on GitHub (Oct 27, 2025): > Synodisk seems to provide as much information as smartctl. > For SAS, synodisk actually provides more detailed information. > While synodisk doesn't display information as clearly and visually as smartctl, > it seems perfect for use with Syno Smart Info. > Are you planning to exclude smartctl from your existing scripts and use only synodisk? I was going to use synodisk for SAS drives. But then I thought synodisk must get the smart information from smartctl. So I tried to find out what smartctl options synodisk uses but haven't found anything yet. I can display synodisk's output in more readable format. ``` root@DS925plus:~# /volume2/scripts/synodisk_smart_parser.sh ------------------------------------------------------------------------------ ID# ATTRIBUTE_NAME VALUE WORST THRESH RAW STATUS ------------------------------------------------------------------------------ 1 Raw_Read_Error_Rate 100 100 000 0 OK 5 Reallocated_Sector_Ct 100 100 010 0 OK 9 Power_On_Hours 100 100 000 474 OK 12 Power_Cycle_Count 100 100 000 169 OK 171 Unknown_Attribute 100 100 000 0 OK 172 Unknown_Attribute 100 100 000 0 OK 173 Unknown_Attribute 100 100 000 2 OK 174 Unknown_Attribute 100 100 000 1 OK 180 Unused_Rsvd_Blk_Cnt_Tot 100 100 000 4 OK 183 Runtime_Bad_Block 100 100 000 0 OK 184 End-to-End_Error 100 100 000 0 OK 187 Reported_Uncorrect 100 100 000 0 OK 194 Temperature_Celsius 066 063 000 34 OK 196 Reallocated_Event_Count 100 100 000 0 OK 197 Current_Pending_Sector 100 100 000 0 OK 198 Offline_Uncorrectable 100 100 000 0 OK 199 UDMA_CRC_Error_Count 100 100 000 0 OK 202 Unknown_SSD_Attribute 100 100 001 0 OK 206 Unknown_SSD_Attribute 100 100 000 0 OK 210 Unknown_Attribute 100 100 000 0 OK 246 Unknown_Attribute 100 100 000 86367823 OK 247 Unknown_Attribute 100 100 000 2698994 OK 248 Unknown_Attribute 100 100 000 0 OK 249 Unknown_Attribute 100 100 000 0 OK 250 Read_Error_Retry_Rate 100 100 000 0 OK 251 Unknown_Attribute 100 100 000 108830374 OK 252 Unknown_Attribute 100 100 000 0 OK 253 Unknown_Attribute 100 100 000 0 OK ``` At first I liked that synodisk decides if the raw value is ok or not. But it shows the following as OK! ``` 1 Raw_Read_Error_Rate 3392 5 Reallocated_Sector_Ct 438 197 Current_Pending_Sector 52 199 UDMA_CRC_Error_Count 17523 ``` I'm going to remove the STATUS column and just keep: ``` ID# ATTRIBUTE_NAME VALUE WORST THRESH RAW ```
Author
Owner

@framps commented on GitHub (Oct 27, 2025):

v1.4.33 works perfect.

I first thought there is an issue with the update (I used the updatescript to update my local version first) and then no update happened. But then I detected code which checks whether there is an updated version available. Nice way to execute the test 👍

<!-- gh-comment-id:3450251864 --> @framps commented on GitHub (Oct 27, 2025): v1.4.33 works perfect. I first thought there is an issue with the update (I used the updatescript to update my local version first) and then no update happened. But then I detected code which checks whether there is an updated version available. Nice way to execute the test 👍
Author
Owner

@007revad commented on GitHub (Nov 23, 2025):

It actually works 😄

At midnight I got an email from my DS925+

Task Scheduler has completed a scheduled task.

Task: SMART Info
Start time: Mon, 24 Nov 2025 00:00:01 +1000
Stop time: Mon, 24 Nov 2025 00:00:06 +1000
Current status: 16 (Interrupted)
Standard output/error:

Synology_SMART_info v1.4.33 - by 007revad
DS925plus DS925+ DSM 7.2.2-72806-3 
Using smartctl 7.5
Using options: -e -i
Drive 3  WD60EFRX-68L0BN1  WD-WX22D40J3JAJ  /dev/sata4
197 Current_Pending_Sector       53	Increased by 1

From DS925plus
<!-- gh-comment-id:3568397266 --> @007revad commented on GitHub (Nov 23, 2025): It actually works 😄 At midnight I got an email from my DS925+ ``` Task Scheduler has completed a scheduled task. Task: SMART Info Start time: Mon, 24 Nov 2025 00:00:01 +1000 Stop time: Mon, 24 Nov 2025 00:00:06 +1000 Current status: 16 (Interrupted) Standard output/error: Synology_SMART_info v1.4.33 - by 007revad DS925plus DS925+ DSM 7.2.2-72806-3 Using smartctl 7.5 Using options: -e -i Drive 3 WD60EFRX-68L0BN1 WD-WX22D40J3JAJ /dev/sata4 197 Current_Pending_Sector 53 Increased by 1 From DS925plus ```
Author
Owner

@framps commented on GitHub (Dec 6, 2025):

I promised to test your script on a DS1817+ with a DX517. Today I installed v1.4.34 on the system and the script reported all drives including the DX disks 👍

<!-- gh-comment-id:3620881095 --> @framps commented on GitHub (Dec 6, 2025): I promised to test your script on a DS1817+ with a DX517. Today I installed v1.4.34 on the system and the script reported all drives including the DX disks 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Synology_SMART_info#9
No description provided.