Custom Query (1566 matches)
Results (505 - 507 of 1566)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #1390 | fixed | -d ignore doesn't work if target is a symbolic link to a device | ||
| 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 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 |
|||
| #1391 | fixed | Transcend TS128GSSD452K - add to drivedb | ||
| Description |
Vendor product page: https://www.transcend-info.com/Embedded/Products/No-1044 |
|||
| #1392 | fixed | Patch to mark Seagate Archive HDD as SMR | ||
| Description |
The Seagate Archive HDD are SMR drives according to manufacturer specs: https://www.seagate.com/www-content/product-content/hdd-fam/seagate-archive-hdd/en-us/docs/archive-hdd-dS1834-3-1411us.pdf Unfortunately, smartmontools SVN rev 5115 doesn't recognize them as zoned device, because the drive doesn't report this: # ./smartctl -i /dev/sdb smartctl 7.2 2020-11-09 r5115 [x86_64-linux-5.8.0-0.bpo.2-amd64] (CircleCI) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate Archive HDD Device Model: ST8000AS0002-1NA17Z Serial Number: Z840X424 LU WWN Device Id: 5 000c50 0938ab626 Firmware Version: AR17 User Capacity: 8,001,563,222,016 bytes [8.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 5980 rpm Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-2, ACS-3 T13/2161-D revision 3b SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s) Local Time is: Fri Nov 13 19:39:10 2020 CET SMART support is: Available - device has SMART capability. SMART support is: Enabled relevant part from "smartctl --identify=wb /dev/sdb": 69 - 0x0000 Additional support 69 15 0 CFast specification supported 69 14 0 Deterministic data after trim supported 69 13 0 LPS Alignment Error Reporting Control supported 69 12 0 DCO IDENTIFY/SET DMA supported [OBS-ACS-3] 69 11 0 READ BUFFER DMA supported 69 10 0 WRITE BUFFER DMA supported 69 9 0 SET MAX SET PASSWORD/UNLOCK DMA supported [OBS-ACS-3] 69 8 0 DOWNLOAD MICROCODE DMA supported 69 7 0 Reserved for IEEE 1667 69 6 0 Optional ATA device 28-bit commands supported 69 5 0 Trimmed LBA range(s) returning zeroed data supported 69 4 0 Device encrypts all user data 69 3 0 Extended number of user addressable sectors supported 69 2 0 All write cache is non-volatile 69 1:0 0x0 Zoned Capabilities following small patch adds SMR the name of the model family: --- drivedb.h.orig 2020-11-01 16:58:02.000000000 +0100
+++ drivedb.h 2020-11-13 19:35:43.609934314 +0100
@@ -4241,7 +4241,7 @@
"-v 18,raw48,Unknown_Seagate_Attrib " // ST16000NE000
"-v 240,msec24hour32"
},
- { "Seagate Archive HDD", // tested with ST8000AS0002-1NA17Z/AR13
+ { "Seagate Archive HDD (SMR)", // tested with ST8000AS0002-1NA17Z/AR13
"ST[568]000AS00[01][12]-.*",
"", "", ""
},
|
|||
