[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Intel RST driver -> SSD bug ?



David Christensen writes:
Do you own the four books I previously recommended?

I wrote their names on a postit, for the moment. I will begin by looking on Test::Most

Thanks lot for these information.

Have you considered hiring a tutor or consultant?

I want absolutely do this script myself.

Please condense your script down to a short example that demonstrates the bug, post your code, explain what you expect the code to do, post a sample run, explain what happened, and explain why what happened does not match your expectations.

I have found the reason of sometimes :
amel@laptopasus:~/fp/test.algoB$ ./algo-B1.pl
2020-01-01 - 2020-08-31

And sometimes :
amel@laptopasus:~/fp/test.algoB$ ./algo-B1.pl
Undefined subroutine &main::lisblocage called at ./algo-B1.pl line 161.

Is is simply the effect of the mixture of :

1. The keys of a hash given by keys() function come in different order (in different executions of a program). 2. I did a mistake : 'last' but should be 'next' in the loop on the keys above.

But the questions of the SSD is always here, I really would like a "true" diagnostic.

I did

smartctl -x

But the result is instantaneous :

# smartctl -x /dev/nvme0n1p5
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-52-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       SAMSUNG MZVLQ512HALU-00000
Serial Number:                      S4Y4NF0N221020
Firmware Version:                   FXV7000Q
PCI Vendor/Subsystem ID:            0x144d
IEEE OUI Identifier:                0x002538
Total NVM Capacity:                 512’110’190’592 [512 GB]
Unallocated NVM Capacity:           0
Controller ID:                      5
Number of Namespaces:               1
Namespace 1 Size/Capacity:          512’110’190’592 [512 GB]
Namespace 1 Utilization:            171’792’056’320 [171 GB]
Namespace 1 Formatted LBA Size:     512
Namespace 1 IEEE EUI-64:            002538 a201b2a36d
Local Time is:                      Sat Oct 24 18:52:07 2020 CEST
Firmware Updates (0x16):            3 Slots, no Reset required
Optional Admin Commands (0x0017):   Security Format Frmw_DL Self_Test
Optional NVM Commands (0x005f): Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp
Maximum Data Transfer Size:         512 Pages
Warning  Comp. Temp. Threshold:     82 Celsius
Critical Comp. Temp. Threshold:     85 Celsius

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +     4.83W       -        -    0  0  0  0        0       0
 1 +     3.54W       -        -    1  1  1  1        0       0
 2 +     3.04W       -        -    2  2  2  2        0     500
 3 -   0.0500W       -        -    3  3  3  3      210    1200
 4 -   0.0050W       -        -    4  4  4  4     1000    9000

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
 0 +     512       0         0

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                   0x00
Temperature:                        12 Celsius
Available Spare:                    100%
Available Spare Threshold:          10%
Percentage Used:                    0%
Data Units Read:                    1’960’412 [1.00 TB]
Data Units Written:                 2’023’052 [1.03 TB]
Host Read Commands:                 16’052’101
Host Write Commands:                27’571’627
Controller Busy Time:               704
Power Cycles:                       187
Power On Hours:                     74
Unsafe Shutdowns:                   31
Media and Data Integrity Errors:    0
Error Information Log Entries:      74
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0
Temperature Sensor 1:               12 Celsius

Error Information (NVMe Log 0x01, max 64 entries)
No Errors Logged

# df
Sys. de fichiers blocs de 1K   Utilisé Disponible Uti% Monté sur
udev                 8055688         0    8055688   0% /dev
tmpfs                1619780      2032    1617748   1% /run
/dev/nvme0n1p5     224554636 108702560  104375648  52% /
tmpfs                8098884    298636    7800248   4% /dev/shm
tmpfs                   5120         4       5116   1% /run/lock
tmpfs                8098884         0    8098884   0% /sys/fs/cgroup
/dev/loop1             56704     56704          0 100% /snap/core18/1885
/dev/loop3 261760 261760 0 100% /snap/gnome-3-34-1804/36 /dev/loop2 166784 166784 0 100% /snap/gnome-3-28-1804/145 /dev/loop4 223232 223232 0 100% /snap/gnome-3-34-1804/60
/dev/loop0             56320     56320          0 100% /snap/core18/1880
/dev/loop5             51968     51968          0 100% /snap/snap-store/481
/dev/loop6 63616 63616 0 100% /snap/gtk-common- themes/1506
/dev/loop7             31744     31744          0 100% /snap/snapd/9607
/dev/loop8             44288     44288          0 100% /snap/snap-store/415
/dev/nvme0n1p1        262144     33756     228388  13% /boot/efi
/dev/loop9             31744     31744          0 100% /snap/snapd/9721
tmpfs                1619776        36    1619740   1% /run/user/1000
#

Have please someone a advice for me ?

Amer


Reply to: