Custom Query (1414 matches)
Results (190 - 192 of 1414)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#316 | fixed | improvements for the systemd service file | ||
Description |
I think the service file for smartmontools could be improved:
The second point has already been requested in ticket 194, but was not implemented. I think having the 'EnvironmentFile=' line in the service file is more confusing than helpful, so please consider removing it. |
|||
#191 | fixed | improve the example to examine smartctl's return code | ||
Description |
Hello! Thank you for this brilliant piece of software. I just want to suggest a minor improvement to the man page of smartctl. At section "RETURN VALUES" near the end of the man page for smartctl[8], you state an example to examine the error code returned by smartctl: To test within the shell for whether or not the different bits are turned on or off, you can use the following type of con‐ struction (this is bash syntax): smartstat=$(($? & 8)) This looks at only at bit 3 of the exit status $? (since 8=2^3). The shell variable $smartstat will be nonzero if SMART status check returned "disk failing" and zero otherwise. Why not show the user a way to examine all error codes by including something like this: E=$?; for ((i=0; i<8;i++)); do echo "Bit $i: $(($E & 2**$i && 1))"; done This would produce output like the following: Bit 0: 0 Bit 1: 0 Bit 2: 0 Bit 3: 0 Bit 4: 0 Bit 5: 0 Bit 6: 1 Bit 7: 0 With kind regards, Robert Kehl |
|||
#229 | duplicate | improve smartd reporting | ||
Description |
Current smartd reports send by mail only list device name (e.g. /dev/sdc) which is not enough to easily identify the problematic disk. It will be better to add some more info to the report, e.g. something like: The following warning/error was logged by the smartd daemon: Device: /dev/sdc [SAT], 4 Offline uncorrectable sectors
Device Model: WDC WD20EARS-00MVWB0 Serial Number: WD-WMAZ2026xxxxx User Capacity: 2,000,398,934,016 bytes [2.00 TB]
(above is easily obtained by |