meta data for this page
  •  

errors

Btrfs scrub reports errors:

# btrfs scrub status /
 
Status:           finished
Duration:         0:09:41
Total to scrub:   328.74GiB
Rate:             569.30MiB/s
Error summary:    read=10
  Corrected:      0
  Uncorrectable:  10
  Unverified:     0
# smartctl -a /dev/nvme0
 
Critical Warning:                   0x00
Available Spare:                    100%
Available Spare Threshold:          10%
Percentage Used:                    13%
Data Units Read:                    527 079 268 [269 TB]
Data Units Written:                 96942260 [49,6 TB]
Host Read Commands:                 4308977195
Host Write Commands:                1286234 059
Controller Busy Time:               6361
Power Cycles:                       187
Power On Hours:                     1631
Unsafe Shutdowns:                   21
Media and Data Integrity Errors:    19
Error Information Log Entries:      18
 
Error Information (NVMe Log 0x01, 16 of 64 entries)
Num   ErrCount  SQId   CmdId  Status  PELoc          LBA  NSID    VS
  0         18    11  0xc0c2  0xc502  0x000    472136528     1     -
  1         17     2  0xc280  0xc502  0x000    472134928     1     -
  2         16     9  0x7383  0xc502  0x000    472261712     1     -
  3         15    12  0xc281  0xc502  0x000    472449872     1     -
  4         14    11  0x80c0  0xc502  0x000    472449904     1     -
  5         13     2  0x5281  0xc502  0x000    472447600     1     -
  6         12     8  0x7382  0xc502  0x000    472446672     1     -
  7         11     1  0xd0c1  0xc502  0x000    472449872     1     -
  8         10     5  0x8151  0xc502  0x000    472448400     1     -
  9          9     5  0xb150  0xc502  0x000    472447600     1     -
 10          8     9  0xe388  0xc502  0x000    472446672     1     -
 11          7     9  0xc382  0xc502  0x000    472261680     1     -
 12          6    10  0x9204  0xc502  0x000    472263248     1     -
 13          5     3  0x93c4  0xc502  0x000    472261680     1     -
 14          4    11  0x80c1  0xc502  0x000    472136464     1     -
 15          3     1  0xb0c0  0xc502  0x000    472134896     1     -
... (48 entries not read)
#Start a short device self-test operation
nvme device-self-test /dev/nvme0n1 -s 1
 
# Start a extended device self-test operation
nvme device-self-test /dev/nvme0n1 -s 2
 
# Two test are visible in log:
nvme self-test-log /dev/nvme0
 
Device Self Test Log for NVME device:nvme0
Current operation  : 0
Current Completion : 0%
Self Test Result[0]:
  Operation Result             : 0x7
  Self Test Code               : 2
  Segment Number               : 0x7
  Valid Diagnostic Information : 0x3
  Power on hours (POH)         : 0x65d
  Namespace Identifier         : 0x1
  Failing LBA                  : 0x1c2434f0
  Vendor Specific              : 0 0
Self Test Result[1]:
  Operation Result             : 0
  Self Test Code               : 1
  Valid Diagnostic Information : 0
  Power on hours (POH)         : 0x65d
  Vendor Specific              : 0 0
Self Test Result[2]:
  Operation Result             : 0xf

check current error log

nvme error-log /dev/nvme0
 
.................
 Entry[ 0]   
.................
error_count	: 18
sqid		: 11
cmdid		: 0xc0c2
status_field	: 0x6281(Unrecovered Read Error: The read data could not be recovered from the media)
phase_tag	: 0
parm_err_loc	: 0
lba		: 0x1c243b50
nsid		: 0x1
vs		: 0
trtype		: The transport type is not indicated or the error is not transport related.
cs		: 0
trtype_spec_info: 0
...