Custom Query (1417 matches)
Results (202 - 204 of 1417)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#659 | fixed | "update-smart-drivedb" uses old sourceforge HTTP link | ||
Description |
When curl is used in the drivedb update script it does not follow the redirect as given by sourceforge for http to https Curl can be told to follow redirects with the -L option Here is a simple patch that seems to solve this issue: @@ -77,7 +77,7 @@ for t in $os_dltools; do if which $t >/dev/null 2>/dev/null; then case $t in - curl) DOWNLOAD="curl ${q:+-s }"'-f -o "$DEST.new" "$SRC"' ;; + curl) DOWNLOAD="curl -L ${q:+-s }"'-f -o "$DEST.new" "$SRC"' ;; lynx) DOWNLOAD='lynx -source "$SRC" >"$DEST.new"' ;; wget) DOWNLOAD="wget $q"'-O "$DEST.new" "$SRC"' ;; fetch) DOWNLOAD='fetch -o "$DEST.new" "$SRC"' ;; # FreeBSD As an alternative the URL for the updates could be modified to look to https instead of http: @@ -40,7 +40,7 @@ SMARTCTL="$sbindir/smartctl" # Download URL for sourceforge code browser -SRCEXPR='http://sourceforge.net/p/smartmontools/code/HEAD/tree/$location/smartmontools/drivedb.h?format=raw' +SRCEXPR='https://sourceforge.net/p/smartmontools/code/HEAD/tree/$location/smartmontools/drivedb.h?format=raw' # Parse options q="-q " |
|||
#677 | fixed | Windows sometimes spins up a disk even when “-n standby” is used | ||
Description |
I observed that when smartd is polling for SMART data, Windows sometimes spins up a disk that is powered down even when “-n standby” is used in smartd.conf. The log will report that the disk is in standby mode and checks are suspended. Still you can hear that the disk is starting. I found that this behavior is caused by smartd when opening the (physical) disk device. Smartd opens the disk asking for full read and write permissions by default. (Only when it does not have admin rights, it opens the disk with ‘0’ permissions.) But opening with full read and write permissions sometimes results in Windows spinning up the disk, most likely to consolidate Windows’ internal state with the disk. However, to query the disk’s power state, you only need a handle to query the drive’s metadata, without any read or write permissions. The attached patch adds a new function to the base class ‘smart_device’: ‘check_os_powermode()’. The generic default implementation returns true to indicate power up or undetermined. The Win32 implementation uses Windows’ GetDevicePowerState API, and returns false when the OS indicates that the device is in low-power state. However, the point is when the ‘smart_device’ is not already opened, ‘check_os_powermode()’ opens the device temporarily using ‘0’ permissions to open only a handle for querying device metadata, and so prevents the disk from spinning up. (Even when admin rights would be available.) |
|||
#682 | fixed | Documentation wikipage link wrong | ||
Description |
The documentation wiki page https://www.smartmontools.org/wiki/TocDoc link to a case study "Graphical Monitoring with Munin: Agony of a dying disk (plus buggy disk firmware)" using incorrect/old url: http://www.dipohl.de/de/blog-de/41-no-sudden-death-of-disk.html The current/correct url is: http://www.dipohl.de/en/blog-en/41-no-sudden-death-of-disk.html There's no visible option to edit the wiki myself. |