Custom Query (1546 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (289 - 291 of 1546)

Ticket Resolution Summary Owner Reporter
#1390 fixed -d ignore doesn't work if target is a symbolic link to a device Christian Franke rogach
Description

Setup:

$ ls -l /dev/disk/by-id/wwn-0x5000xxxx
lrwxrwxrwx 9 root 2020-10-31 15:15 /dev/disk/by-id/wwn-0x5000xxxx -> ../../sda
$ cat /etc/smartd.conf
/dev/disk/by-id/wwn-0x5000xxxx -d ignore
DEVICESCAN -a

Expected result:

Device with specified id is ignored.

Actual result:

Device (/dev/sda in this example) is not ignored.

Analysis:

This issue seems to be similar to #313.

Duplicate detection (is_duplicate_dev_idinfo) relies on populated dev_idinfo, and that is done in ATADeviceScan. But "-d ignore" bypasses any scanning altogether, thus duplicate detection is unable to deduce that /dev/sda and /dev/disk/by-id/wwn-0x5000xxxx are actually the same device.

There is another duplicate detection function (is_duplicate_device), but it relies on dev_names being exactly equal. I attempted to fix the issue by checking if dev_name is a symbolic link and resolving the link to actual file in such cases - seems to work correctly.

Please find attached for your consideration a patch that implements symlink resolution for device names (apply with patch --input=resolve_device_symlinks.patch in source directory).

#769 invalid TOSHIBA PX04SRB384 rev AM04 I-Ming Chen
Description

This SSD drive doesn't output any monitoring metrics. Please see attached.

#1686 fixed HFS480G3H2X069N Christian Franke I-Ming Chen
Description

smartmontools 7.0 drive DB: RELEASE_7_0_DRIVEDB branch (https://www.smartmontools.org/changeset/5418/)

Looks like a SK Hynix SATA SSD. Don't have much other info on drive. Could we get this added to the drive DB?

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.