Custom Query (1546 matches)
Results (274 - 276 of 1546)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #1828 | duplicate | smartctl -x creates new NVMe errors | ||
| Description |
I was given a drive to check the condition, but errors kept increasing. After a while I actually noticed that the errors increased by 1 by each smartctl -x call (I was repeatedly checking the state of the ssd while ext4 lazy inode init was doing its job after formatting the partition). Since the errors are not about failure, but rather a malformed command, could be done something in smartctl in order to prevent such things happening? My expectation: an error checking tool shall not generate errors while doing so. I see multiple reasons why to fix this - if somebody calls smartctl repetitively, the errors increase but its not actually representing any error condition of the drive. If somebody would call smartctl too aggressively, then actual errors might get lost. (if the nvme error log is a circular buffer which afaik is, 64 entries on mine). There was a #1222 ticket about something similar? Smartd should ignore non-error entries from NVMe Error Information log But hiding is one thing.. while making actual errors is something NOT desireable. So the drive in question is a WD SN640 nvme: === START OF INFORMATION SECTION === Model Number: WUS4BB076D7P3E3 Serial Number: ******** Firmware Version: R111000L PCI Vendor/Subsystem ID: 0x1b96 IEEE OUI Identifier: 0x0014ee Total NVM Capacity: 7,681,501,126,656 [7.68 TB] Unallocated NVM Capacity: 0 Controller ID: 0 NVMe Version: 1.3 Number of Namespaces: 1 Namespace 1 Size/Capacity: 7,681,501,126,656 [7.68 TB] Namespace 1 Formatted LBA Size: 4096 Namespace 1 IEEE EUI-64: 0014ee 83066cbb80 Local Time is: Tue Apr 30 20:30:15 2024 CEST Firmware Updates (0x19): 4 Slots, Slot 1 R/O, no Reset required Optional Admin Commands (0x001f): Security Format Frmw_DL NS_Mngmt Self_Test Optional NVM Commands (0x005e): Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp Log Page Attributes (0x03): S/H_per_NS Cmd_Eff_Lg Warning Comp. Temp. Threshold: 70 Celsius Critical Comp. Temp. Threshold: 80 Celsius Namespace 1 Features (0x02): NA_Fields Current state at end of smartctl -x call: Error Information (NVMe Log 0x01, 16 of 256 entries) Num ErrCount SQId CmdId Status PELoc LBA NSID VS Message 0 12 0 0xd009 0xc004 - 0 1 - Invalid Field in Command 1 11 0 0xc008 0xc004 - 0 1 - Invalid Field in Command 2 10 0 0xa00b 0xc004 - 0 1 - Invalid Field in Command 3 9 0 0x900a 0xc004 - 0 1 - Invalid Field in Command 4 8 0 0x8009 0xc004 - 0 1 - Invalid Field in Command 5 7 0 0xa00e 0xc004 - 0 1 - Invalid Field in Command 6 6 0 0x900d 0xc004 - 0 1 - Invalid Field in Command 7 5 0 0x7008 0xc004 - 0 1 - Invalid Field in Command 8 4 0 0x800c 0xc004 - 0 1 - Invalid Field in Command 9 3 0 0x600c 0xc004 - 0 1 - Invalid Field in Command 10 2 0 0x100a 0xc004 - 0 1 - Invalid Field in Command 11 1 0 0x300e 0xc004 0x028 0 0 - Invalid Field in Command And using nvme-cli error-log, i see that all these errors (except the oldest) are of this kind: ................. Entry[ 0] ................. error_count : 12 sqid : 0 cmdid : 0xd009 status_field : 0x6002(Invalid Field in Command: A reserved coded value or an unsupported value in a defined field) phase_tag : 0 parm_err_loc : 0xffff lba : 0 nsid : 0x1 vs : 0 trtype : The transport type is not indicated or the error is not transport related. csi : 0 opcode : 0 cs : 0 trtype_spec_info: 0 log_page_version: 0 How can we trace this to an exact query which smartctl does? |
|||
| #1542 | fixed | update-smart-drivedb doesn't kill it's gpg-agent and throws errors on systems with root on NFS | ||
| Description |
I use smartd daemon on machines with root filesystem. update-smart-drivedb doesn't kill it's gpg-agent process and tries to remove it's home dir (line 494). On NFS it doesn't work. Directory cannot be removed because nfs preserves delete open sockets/files. (script would have to rm -rf the directory twice) This error causes stderr message which creates additional mail (false positive) when cron is configured to send mail. This small patch kills the gpg-agent and allows for error free $gnupgtmp deletion. diff -c backup /usr/sbin/update-smart-drivedb
*** backup 2021-11-04 14:29:14.665707108 +0100
--- /usr/sbin/update-smart-drivedb 2021-11-04 14:31:08.927219722 +0100
***************
*** 491,496 ****
--- 491,497 ----
echo "$out" >&2
fi
+ kill $(ps ax | awk '$5=="gpg-agent" && /smartmontools/{print $2}')
rm -f -r "$gnupgtmp"
return $r
Reproducible: Always Steps to Reproduce:
Actual Results: LC_ALL=C /etc/cron.monthly/smartmontools-update-drivedb rm: cannot remove '/var/db/smartmontools/.gnupg.139163.tmp': Directory not empty Script executes normal but has problem deleting it's gpg directory. Expected Results: There should be no stderr output when scripts executes normally. Script doesn't delete it's temporary directory. |
|||
| #1510 | fixed | TOSHIBA MN08ACA14T | ||
| Description |
My TOSHIBA MN08ACA14T SCSI/SAS drive is not in the smartctl/smartd database. Content of "smartctl -q noserial -x /dev/sdX > smartctl-VENDOR-MODEL.txt" follows. Also short and long offline tests fail on all 5 of this model I have. TOSHIBA MN07ACA12T is also failing tests but will open another ticket to add that. smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.0-7-amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: TOSHIBA MN08ACA14T
Firmware Version: 0601
User Capacity: 14,000,519,643,136 bytes [14.0 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-3 T13/2161-D revision 5
SATA Version is: SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Fri Jul 30 15:54:14 2021 JST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is: Unavailable
APM level is: 254 (maximum performance)
Rd look-ahead is: Enabled
Write cache is: Disabled
DSN feature is: Unavailable
ATA Security is: Disabled, frozen [SEC2]
Wt Cache Reorder: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
See vendor-specific Attribute list for marginal Attributes.
General SMART Values:
Offline data collection status: (0x84) Offline data collection activity
was suspended by an interrupting command from host.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 73) The previous self-test completed having
a test element that failed and the test
element that failed is not known.
Total time to complete Offline
data collection: ( 120) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: (1284) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
1 Raw_Read_Error_Rate PO-R-- 100 100 050 - 0
2 Throughput_Performance P-S--- 100 100 050 - 0
3 Spin_Up_Time POS--K 100 100 001 - 8114
4 Start_Stop_Count -O--CK 100 100 000 - 39
5 Reallocated_Sector_Ct PO--CK 100 100 050 - 0
7 Seek_Error_Rate PO-R-- 100 001 050 Past 0
8 Seek_Time_Performance P-S--- 100 100 050 - 0
9 Power_On_Hours -O--CK 096 096 000 - 1691
10 Spin_Retry_Count PO--CK 100 100 030 - 0
12 Power_Cycle_Count -O--CK 100 100 000 - 39
23 Unknown_Attribute PO---K 100 100 075 - 0
24 Unknown_Attribute PO---K 100 100 075 - 0
191 G-Sense_Error_Rate -O--CK 100 100 000 - 0
192 Power-Off_Retract_Count -O--CK 100 100 000 - 28
193 Load_Cycle_Count -O--CK 100 100 000 - 200
194 Temperature_Celsius -O---K 100 100 000 - 40 (Min/Max 19/46)
196 Reallocated_Event_Count -O--CK 100 100 000 - 0
197 Current_Pending_Sector -O--CK 100 100 000 - 0
198 Offline_Uncorrectable ----CK 100 100 000 - 0
199 UDMA_CRC_Error_Count -O--CK 200 200 000 - 0
220 Disk_Shift -O---- 100 100 000 - 252969013
222 Loaded_Hours -O--CK 097 097 000 - 1373
223 Load_Retry_Count -O--CK 100 100 000 - 0
224 Load_Friction -O---K 100 100 000 - 0
226 Load-in_Time -OS--K 100 100 000 - 590
240 Head_Flying_Hours P----- 100 100 001 - 0
||||||_ K auto-keep
|||||__ C event count
||||___ R error rate
|||____ S speed/performance
||_____ O updated online
|______ P prefailure warning
General Purpose Log Directory Version 1
SMART Log Directory Version 1 [multi-sector log support]
Address Access R/W Size Description
0x00 GPL,SL R/O 1 Log Directory
0x01 SL R/O 1 Summary SMART error log
0x02 SL R/O 51 Comprehensive SMART error log
0x03 GPL R/O 5 Ext. Comprehensive SMART error log
0x04 GPL,SL R/O 8 Device Statistics log
0x06 SL R/O 1 SMART self-test log
0x07 GPL R/O 1 Extended self-test log
0x08 GPL R/O 2 Power Conditions log
0x09 SL R/W 1 Selective self-test log
0x0c GPL R/O 513 Pending Defects log
0x10 GPL R/O 1 NCQ Command Error log
0x11 GPL R/O 1 SATA Phy Event Counters log
0x24 GPL R/O 53248 Current Device Internal Status Data log
0x25 GPL R/O 53248 Saved Device Internal Status Data log
0x30 GPL,SL R/O 9 IDENTIFY DEVICE data log
0x80-0x9f GPL,SL R/W 16 Host vendor specific log
0xe0 GPL,SL R/W 1 SCT Command/Status
0xe1 GPL,SL R/W 1 SCT Data Transfer
SMART Extended Comprehensive Error Log Version: 1 (5 sectors)
No Errors Logged
SMART Extended Self-test Log Version: 1 (1 sectors)
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed: unknown failure 90% 1691 0
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
SCT Status Version: 3
SCT Version (vendor specific): 1 (0x0001)
Device State: SMART Off-line Data Collection executing in background (4)
Current Temperature: 40 Celsius
Power Cycle Min/Max Temperature: 37/46 Celsius
Lifetime Min/Max Temperature: 19/46 Celsius
Specified Max Operating Temperature: 55 Celsius
Under/Over Temperature Limit Count: 0/0
Vendor specific:
00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SCT Temperature History Version: 2
Temperature Sampling Period: 1 minute
Temperature Logging Interval: 1 minute
Min/Max recommended Temperature: 5/55 Celsius
Min/Max Temperature Limit: -40/70 Celsius
Temperature History Size (Index): 478 (422)
Index Estimated Time Temperature Celsius
423 2021-07-30 07:57 40 *********************
424 2021-07-30 07:58 41 **********************
... ..( 14 skipped). .. **********************
439 2021-07-30 08:13 41 **********************
440 2021-07-30 08:14 40 *********************
... ..( 29 skipped). .. *********************
470 2021-07-30 08:44 40 *********************
471 2021-07-30 08:45 41 **********************
472 2021-07-30 08:46 40 *********************
473 2021-07-30 08:47 40 *********************
474 2021-07-30 08:48 40 *********************
475 2021-07-30 08:49 41 **********************
476 2021-07-30 08:50 40 *********************
... ..( 2 skipped). .. *********************
1 2021-07-30 08:53 40 *********************
2 2021-07-30 08:54 41 **********************
3 2021-07-30 08:55 40 *********************
... ..( 3 skipped). .. *********************
7 2021-07-30 08:59 40 *********************
8 2021-07-30 09:00 41 **********************
... ..( 2 skipped). .. **********************
11 2021-07-30 09:03 41 **********************
12 2021-07-30 09:04 40 *********************
... ..( 37 skipped). .. *********************
50 2021-07-30 09:42 40 *********************
51 2021-07-30 09:43 41 **********************
52 2021-07-30 09:44 40 *********************
... ..( 62 skipped). .. *********************
115 2021-07-30 10:47 40 *********************
116 2021-07-30 10:48 41 **********************
117 2021-07-30 10:49 41 **********************
118 2021-07-30 10:50 40 *********************
... ..( 3 skipped). .. *********************
122 2021-07-30 10:54 40 *********************
123 2021-07-30 10:55 41 **********************
124 2021-07-30 10:56 41 **********************
125 2021-07-30 10:57 40 *********************
126 2021-07-30 10:58 40 *********************
127 2021-07-30 10:59 41 **********************
128 2021-07-30 11:00 41 **********************
129 2021-07-30 11:01 40 *********************
... ..(115 skipped). .. *********************
245 2021-07-30 12:57 40 *********************
246 2021-07-30 12:58 41 **********************
247 2021-07-30 12:59 40 *********************
248 2021-07-30 13:00 40 *********************
249 2021-07-30 13:01 40 *********************
250 2021-07-30 13:02 41 **********************
251 2021-07-30 13:03 40 *********************
... ..( 31 skipped). .. *********************
283 2021-07-30 13:35 40 *********************
284 2021-07-30 13:36 41 **********************
285 2021-07-30 13:37 41 **********************
286 2021-07-30 13:38 40 *********************
287 2021-07-30 13:39 41 **********************
288 2021-07-30 13:40 40 *********************
289 2021-07-30 13:41 40 *********************
290 2021-07-30 13:42 41 **********************
291 2021-07-30 13:43 41 **********************
292 2021-07-30 13:44 41 **********************
293 2021-07-30 13:45 40 *********************
294 2021-07-30 13:46 40 *********************
295 2021-07-30 13:47 40 *********************
296 2021-07-30 13:48 41 **********************
297 2021-07-30 13:49 40 *********************
298 2021-07-30 13:50 41 **********************
299 2021-07-30 13:51 40 *********************
... ..( 31 skipped). .. *********************
331 2021-07-30 14:23 40 *********************
332 2021-07-30 14:24 41 **********************
333 2021-07-30 14:25 40 *********************
... ..( 43 skipped). .. *********************
377 2021-07-30 15:09 40 *********************
378 2021-07-30 15:10 41 **********************
379 2021-07-30 15:11 40 *********************
380 2021-07-30 15:12 40 *********************
381 2021-07-30 15:13 40 *********************
382 2021-07-30 15:14 41 **********************
383 2021-07-30 15:15 40 *********************
... ..( 4 skipped). .. *********************
388 2021-07-30 15:20 40 *********************
389 2021-07-30 15:21 41 **********************
... ..( 3 skipped). .. **********************
393 2021-07-30 15:25 41 **********************
394 2021-07-30 15:26 40 *********************
... ..( 24 skipped). .. *********************
419 2021-07-30 15:51 40 *********************
420 2021-07-30 15:52 41 **********************
421 2021-07-30 15:53 41 **********************
422 2021-07-30 15:54 41 **********************
SCT Error Recovery Control:
Read: Disabled
Write: Disabled
Device Statistics (GP Log 0x04)
Page Offset Size Value Flags Description
0x01 ===== = = === == General Statistics (rev 3) ==
0x01 0x008 4 39 --- Lifetime Power-On Resets
0x01 0x010 4 1691 --- Power-on Hours
0x01 0x018 6 160240965209 --- Logical Sectors Written
0x01 0x020 6 134799318 --- Number of Write Commands
0x01 0x028 6 119447510787 --- Logical Sectors Read
0x01 0x030 6 377834991 --- Number of Read Commands
0x01 0x038 6 6087600000 --- Date and Time TimeStamp
0x02 ===== = = === == Free-Fall Statistics (rev 1) ==
0x02 0x010 4 0 --- Overlimit Shock Events
0x03 ===== = = === == Rotating Media Statistics (rev 1) ==
0x03 0x008 4 498 --- Spindle Motor Power-on Hours
0x03 0x010 4 180 --- Head Flying Hours
0x03 0x018 4 200 --- Head Load Events
0x03 0x020 4 0 --- Number of Reallocated Logical Sectors
0x03 0x028 4 1944 --- Read Recovery Attempts
0x03 0x030 4 0 --- Number of Mechanical Start Failures
0x03 0x038 4 0 --- Number of Realloc. Candidate Logical Sectors
0x03 0x040 4 28 --- Number of High Priority Unload Events
0x04 ===== = = === == General Errors Statistics (rev 1) ==
0x04 0x008 4 0 --- Number of Reported Uncorrectable Errors
0x04 0x010 4 0 --- Resets Between Cmd Acceptance and Completion
0x05 ===== = = === == Temperature Statistics (rev 1) ==
0x05 0x008 1 40 --- Current Temperature
0x05 0x010 1 39 N-- Average Short Term Temperature
0x05 0x018 1 38 N-- Average Long Term Temperature
0x05 0x020 1 46 --- Highest Temperature
0x05 0x028 1 19 --- Lowest Temperature
0x05 0x030 1 44 N-- Highest Average Short Term Temperature
0x05 0x038 1 30 N-- Lowest Average Short Term Temperature
0x05 0x040 1 39 N-- Highest Average Long Term Temperature
0x05 0x048 1 36 N-- Lowest Average Long Term Temperature
0x05 0x050 4 0 --- Time in Over-Temperature
0x05 0x058 1 55 --- Specified Maximum Operating Temperature
0x05 0x060 4 0 --- Time in Under-Temperature
0x05 0x068 1 5 --- Specified Minimum Operating Temperature
0x06 ===== = = === == Transport Statistics (rev 1) ==
0x06 0x008 4 378 --- Number of Hardware Resets
0x06 0x010 4 119 --- Number of ASR Events
0x06 0x018 4 0 --- Number of Interface CRC Errors
0x07 ===== = = === == Solid State Device Statistics (rev 1) ==
|||_ C monitored condition met
||__ D supports DSN
|___ N normalized value
Pending Defects log (GP Log 0x0c)
No Defects Logged
SATA Phy Event Counters (GP Log 0x11)
ID Size Value Description
0x0001 4 0 Command failed due to ICRC error
0x0002 4 0 R_ERR response for data FIS
0x0003 4 0 R_ERR response for device-to-host data FIS
0x0004 4 0 R_ERR response for host-to-device data FIS
0x0005 4 0 R_ERR response for non-data FIS
0x0006 4 0 R_ERR response for device-to-host non-data FIS
0x0007 4 0 R_ERR response for host-to-device non-data FIS
0x0008 4 0 Device-to-host non-data FIS retries
0x0009 4 8 Transition from drive PhyRdy to drive PhyNRdy
0x000a 4 7 Device-to-host register FISes sent due to a COMRESET
0x000b 4 0 CRC errors within host-to-device FIS
0x000d 4 0 Non-CRC errors within host-to-device FIS
0x000f 4 0 R_ERR response for host-to-device data FIS, CRC
0x0010 4 0 R_ERR response for host-to-device data FIS, non-CRC
0x0012 4 0 R_ERR response for host-to-device non-data FIS, CRC
0x0013 4 0 R_ERR response for host-to-device non-data FIS, non-CRC
|
|||
