Aller au contenu principal
Sujet: SSD en fin de vie ? (Lu 684 fois) sujet précédent - sujet suivant

SSD en fin de vie ?

Bonjour

Depuis qq jours, la dernière version de Leap revient à la page de connexion sans raison apparente.

Est-ce le signe que mon SSD montre des signes de vieillesse ?

Merci

Re : SSD en fin de vie ?

Répondre #1
Bonjour, compliqué sur un seul symptômes d'en déduire ça.
Un ssd fatigué, normalement c'est plus le pc complet qui freeze, des crash, ou s'il gère bien ça ça reste transparent mais les accès sont lents (car il doit choisir sur quoi écrire vu que ça merde).
Donc je doute que ça soit ça l'origine.

Il faudrait regarder les logs smarts déjà.
Tu peux regarder via (en root)
smartctl a /dev/sdX .

Et lancer un test via (en root)
smartctl -t long  /dev/sdX


Re : SSD en fin de vie ?

Répondre #2
Merci pour votre réponse rapide


Voici ce que ca donne mais je pense avoir fait une erreur....

localhost:/home/toto # smartctl a /dev/sdX
smartctl 7.2 2021-09-14 r5237 [x86_64-linux-5.14.21-150500.55.28-default] (SUSE RPM)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

ERROR: smartctl takes ONE device name as the final command-line argument.
You have provided 2 device names:
a
/dev/sdX

Use smartctl -h to get a usage summary

localhost:/home/toto # smartctl -t long  /dev/sdX
smartctl 7.2 2021-09-14 r5237 [x86_64-linux-5.14.21-150500.55.28-default] (SUSE RPM)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sdX failed: No such device

Re : SSD en fin de vie ?

Répondre #3
Bonjour,

excuse moi de ne pas avoir été assez précis, il faut remplacer X par le bon disque. (sda/sdb en fonction de tes disques)

Il faut faire en fdisk -l en sudo pour qu'on puisse voir tes disques. :)

Re : SSD en fin de vie ?

Répondre #4
Merci voici les résultats




localhost:/home/toto # smartctl a /dev/sdc1
smartctl 7.2 2021-09-14 r5237 [x86_64-linux-5.14.21-150500.55.28-default] (SUSE RPM)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

ERROR: smartctl takes ONE device name as the final command-line argument.
You have provided 2 device names:
a
/dev/sdc1

Use smartctl -h to get a usage summary


localhost:/home/toto # smartctl a /dev/sdc2
smartctl 7.2 2021-09-14 r5237 [x86_64-linux-5.14.21-150500.55.28-default] (SUSE RPM)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

ERROR: smartctl takes ONE device name as the final command-line argument.
You have provided 2 device names:
a
/dev/sdc2

Use smartctl -h to get a usage summary



localhost:/home/toto # smartctl a /dev/sdc3
smartctl 7.2 2021-09-14 r5237 [x86_64-linux-5.14.21-150500.55.28-default] (SUSE RPM)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

ERROR: smartctl takes ONE device name as the final command-line argument.
You have provided 2 device names:
a
/dev/sdc3

Use smartctl -h to get a usage summary

smartctl -t long  /dev/sdc1
smartctl 7.2 2021-09-14 r5237 [x86_64-linux-5.14.21-150500.55.28-default] (SUSE RPM)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Extended self-test routine immediately in off-line mode".
Drive command "Execute SMART Extended self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 48 minutes for test to complete.
Test will complete after Fri Oct 13 11:12:16 2023 CEST
Use smartctl -X to abort test.

 r5237 [x86_64-linux-5.14.21-150500.55.28-default] (SUSE RPM)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Can't start self-test without aborting current test (90% remaining),
add '-t force' option to override, or run 'smartctl -X' to abort test.


 smartctl -t long  /dev/sdc3
smartctl 7.2 2021-09-14 r5237 [x86_64-linux-5.14.21-150500.55.28-default] (SUSE RPM)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Can't start self-test without aborting current test (90% remaining),
add '-t force' option to override, or run 'smartctl -X' to abort test.




Re : SSD en fin de vie ?

Répondre #5
C'est smartctl -a /dev/sdc pour voir (il y a un "-" devant le "a" )

Tu es sûr que tout opensuse est sur sdc? (ça veut dire que tu as 2 autres disques devant qui ne contiennent pas de données opensuse?)

Pour smartctl -t long  /dev/sdc, il faut attendre un bon moment qu'il ait terminé, tu peux voir ou il en est via
smartctl -a /dev/sdc, ou tu auras une catégorie ou tu vois les tests terminés ou en cours, et tu verras le % restant.

Re : SSD en fin de vie ?

Répondre #6
Voici le détail de mes HD :

Sauf erreur de ma part, Opensuse est sur sdc

fdisk -l
Disk /dev/sda: 223,57 GiB, 240057409536 bytes, 468862128 sectors
Disk model: KINGSTON SA400S3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x4826c67e

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048   1126399   1124352   549M  7 HPFS/NTFS/exFAT
/dev/sda2         1126400 466810196 465683797 222,1G  7 HPFS/NTFS/exFAT
/dev/sda3       466810880 467886079   1075200   525M 27 Hidden NTFS WinRE
/dev/sda4       467888128 468856831    968704   473M 27 Hidden NTFS WinRE


Disk /dev/sdb: 1,82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: ST2000DM006-2DM1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 57E0EA16-C07D-45DD-9CA5-21C72FD5449B

Device      Start        End    Sectors  Size Type
/dev/sdb1      34     262177     262144  128M Microsoft reserved
/dev/sdb2  264192 3907028991 3906764800  1,8T Microsoft basic data

Partition 1 does not start on physical sector boundary.


Disk /dev/sdc: 167,68 GiB, 180045766656 bytes, 351651888 sectors
Disk model: INTEL SSDSC2CT18
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x1c342edb

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdc1  *         2048   1050623   1048576   512M  b W95 FAT32
/dev/sdc2         1050624 347457535 346406912 165,2G 83 Linux
/dev/sdc3       347457536 351651887   4194352     2G 82 Linux swap / Solaris

Re : SSD en fin de vie ?

Répondre #7
Effectivement il est bien sur sdc. ;)

Re : SSD en fin de vie ?

Répondre #8
et voici le érsultat :

smartctl -a /dev/sdc1
smartctl 7.2 2021-09-14 r5237 [x86_64-linux-5.14.21-150500.55.28-default] (SUSE RPM)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Intel 330/335 Series SSDs
Device Model:     INTEL SSDSC2CT180A4
Serial Number:    CVKI316500HQ180CGN
LU WWN Device Id: 5 5cd2e4 0000c80d8
Firmware Version: 335u
User Capacity:    180 045 766 656 bytes [180 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
TRIM Command:     Available, deterministic
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Fri Oct 13 10:43:16 2023 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

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

General SMART Values:
Offline data collection status:  (0x03) Offline data collection activity
                                        is in progress.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      ( 245) Self-test routine in progress...
                                        50% of test remaining.
Total time to complete Offline
data collection:                ( 4395) seconds.
Offline data collection
capabilities:                    (0x7f) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Abort Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        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:        (   1) minutes.
Extended self-test routine
recommended polling time:        (  48) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x0021) SCT Status supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0032   100   100   000    Old_age   Always       -       0
  9 Power_On_Hours_and_Msec 0x0032   100   100   000    Old_age   Always       -       34150h+19m+37.440s
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       9840
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       2500
225 Host_Writes_32MiB       0x0032   100   100   000    Old_age   Always       -       1265109
232 Available_Reservd_Space 0x0033   100   100   010    Pre-fail  Always       -       0
233 Media_Wearout_Indicator 0x0032   097   097   000    Old_age   Always       -       0
241 Host_Writes_32MiB       0x0032   100   100   000    Old_age   Always       -       1265109
242 Host_Reads_32MiB        0x0032   100   100   000    Old_age   Always       -       1085425
249 NAND_Writes_1GiB        0x0013   100   100   000    Pre-fail  Always       -       32632

SMART Error Log not supported

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     34164         -
# 2  Short offline       Completed without error       00%     34157         -
# 3  Short offline       Completed without error       00%     34149         -
# 4  Short offline       Completed without error       00%     34139         -
# 5  Short offline       Completed without error       00%     34130         -
# 6  Short offline       Completed without error       00%     34129         -
# 7  Short offline       Completed without error       00%     34124         -
# 8  Short offline       Completed without error       00%     34116         -
# 9  Short offline       Completed without error       00%     34106         -
#10  Short offline       Completed without error       00%     34097         -
#11  Short offline       Completed without error       00%     34088         -
#12  Short offline       Completed without error       00%     34078         -
#13  Short offline       Completed without error       00%     34066         -
#14  Short offline       Completed without error       00%     34060         -
#15  Short offline       Completed without error       00%     34051         -
#16  Short offline       Completed without error       00%     34043         -
#17  Short offline       Completed without error       00%     34034         -
#18  Short offline       Completed without error       00%     34025         -
#19  Short offline       Completed without error       00%     34022         -
#20  Short offline       Completed without error       00%     34013         -
#21  Short offline       Completed without error       00%     34005         -

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.

Re : SSD en fin de vie ?

Répondre #9
Tout semble normal sur ton ssd, aucune trace d'usure dans les données smart cf:
Reallocated_Sector_Ct: 0
ou
Media_Wearout_Indicator: 97 ( tu es à 97% de vie restant du ssd quoi)

Le test est toujours en cours et il est à 50%.


En soit comme ça en théorie ton ssd est en bon état.
Ce qui ne veut pas dire qu'il ne puisse pas avoir un problème (si la mémoire cache est hs rien ne le remontera) mais vu les symptômes et ce qu'on voit là, je doute que ça soit lui le fautif.

Re : SSD en fin de vie ?

Répondre #10
Merci pour votre retour

C'est quand même bizzare, ces déconnexions car avant de réinstaller proprement Leap sur ce SSD j'avais kinuxmint et ca me faisait la même chose...

Re : SSD en fin de vie ?

Répondre #11
Faudrait voir dans les logs si tu vois des choses ou pas.
Genre dmesg et des logs plus spécifiques dans /var/logs s'il y a quelque chose.

Re : SSD en fin de vie ?

Répondre #12
Merci

Re : SSD en fin de vie ?

Répondre #13
Je verrais plus un reboot du serveur X/Wayland si tu es en mode wayland.
Si tu es en wayland tu as essayé en mode X11 voir si c'est pareil?

Re : SSD en fin de vie ?

Répondre #14
Bonjour,

je suis en X11

Je peux tester Wayland facilement et sans risques ?

Petite question complémentaire : est-ce qu'il ne faudrait pas mieux utiliser le driver non libre de NVidia pour ce modèle (NVIDIA GK208B [GeForce GT 710] ) ?

Merci