Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 16/08/2020, à 22:46

Berbère56

failed to activite swap /swapfile

Bonsoir,
Je préfère annoncer que je suis débutant.

J'ai un message d'erreur sur ce terminal g70-35 AMD A6 Radeon r4.

Le message est :
3.750184 systemd [1]  failed to activate swap/ swapfile
Failed ( en orange) failed to activate swap/swapfile.
Dépend ( en rouge) dependency failed for swap.
Après ce message le terminal se fige sur l'ecran Lenovo et Ubuntu.
Voici quelques infos
La partition d'échange est à 0
Sachant que la mémoire libre est de 3146

J'ai peut être fait une mauvaise manipulation, mais je ne sais plus quoi faire.
Merci pour votre aide.

Quelle commande je peux utiliser pour retrouver la partition dev/sda2 sur ce terminal?

Hors ligne

#2 Le 17/08/2020, à 09:48

Hoper

Re : failed to activite swap /swapfile

Bonjour,

On va avoir besoin de plus d'informations pour t'aider...
Si le PC ne demmare pas correctement, lance le a partir d'une clef usb et copie nous le résultat des commandes suivantes :

sudo fdisk -l
mount /dev/sda1 /mnt
cat /mnt/etc/fstab

sda1 c'est si ton linux est installé tout seul sur ce PC et que la première partition est bien la partition système (le /). Si ce n'est pas le cas, il faut adapter smile L'idée étant d'avoir le contenu du fichier /etc/fstab sur le disque dur (à mon avis c'est la qu'il y a un soucis).


Mes tutos et coups de gueule :
http://hoper.dnsalias.net/atdc/
Mastodon: @hoper@framapiaf.org

Hors ligne

#3 Le 17/08/2020, à 14:16

Berbère56

Re : failed to activite swap /swapfile

Salut Hopper,

Voici la reponse

Disque /dev/sda : 931,53GiB, 1000204886016 octets, 1953525168 secteurs
Disk mode 1: ST1000LM014-1EJ1
Unités : secteur de 1 x 512=  512 octets
Taille de secteur ( logique / physique) : 512 octets /  4096 octets
taille d'E/S (minimale / optimale) : 4096 octets / 4096 octets
Type d'étiquette de disque : hot
Identifiant du disque : 8C8EB52B-8EC5-4C50-866E-23A988F143E8
Périphérique.          Début.                Fin.              Secteurs.                   Taille.         Type
/dev/sda1.              2048.           1050623.           1048576.                  512M.         EFI
/dev/sda2.          1050624.   1953523711.     1952473088.               931G           système de fichiers Linux



Disque / dev/sdb : 3,83GiB,   4089446400 octets,  7987200 secteurs
Disk model: Flash disk
Unités : secteur de 1 x 512= 512 octets
Taille de secteur ( logique / physique) :  512 octets. /. 512 octets
Taille d'E/S ( minimale / optimale): 512 octets / 512 octets
Type d'étiquette de disque : dos
Identifiant du disque : Ox81f19672

Périphérique.        Amorçage.        Début.            Fin.              Secteurs.     Taille.  Id.       Type
/dev/sdb1.                                          512.        7987199.        7986688.       3,8 G.  b.         W95. FAT32



/etc/fstab: static file system information.
#
#Use 'b1kid' to print universally  unique identifier for a
#device; this may ne used with UUID= as a more robuste way to name sévices
#that works even if disks are added ans removed. See fstab(5).
#
<file system> <mount point>.        <type>.       <Options>.        <dump>.      <pass>
# / was on /dev/sda2 during installation
# /boot/efi was on /dev/sda1. During installation
UUID=5A1E-BC33.  /boot/efi.       vfat.       umask=0077.           0.                           1
/swapfile.                                                          none.                             swap.                      sw.      0.            0


Je t'ai tout transmis. Je ne puis hélas le démarrer sous USB.
J'ai réussi à obtenir ces data par le mode recovery Root.

Merci pour ta réponse.

Hors ligne

#4 Le 17/08/2020, à 14:37

geole

Re : failed to activite swap /swapfile

Berbère56 a écrit :

Je t'ai tout transmis. Je ne puis hélas le démarrer sous USB.

Bonjour.
Si tu as un support d'installation , il faut booter avec, puis prendre le choix "essayer avant d'installer "
Tu ouvres alors un terminal  en frappant les caractères  ctrl Alt t
puis tu donnes l'état du disque
1) installer le logiciel

sudo apt-get install --no-install-recommends smartmontools 

2) Poster le retour ce cette commande

sudo   smartmontools   -s on   -a   /dev/sda

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#5 Le 06/09/2020, à 11:12

Berbère56

Re : failed to activite swap /swapfile

Bonjour la communauté

voici les résultats


ubuntu@ubuntu:~$ sudo smartctl -s on -a /dev/sda
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-26-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Laptop SSHD
Device Model:     ST1000LM014-1EJ164-SSHD
Serial Number:    W3822NAH
LU WWN Device Id: 5 000c50 07821fa08
Firmware Version: HPM6
User Capacity:    1000204886016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
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: 6.0 Gb/s)
Local Time is:    Sun Sep  6 09:47:32 2020 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
See vendor-specific Attribute list for failed Attributes.

General SMART Values:
Offline data collection status:  (0x82)    Offline data collection activity
                    was completed without error.
                    Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)    The previous self-test routine completed
                    without error or no self-test has ever
                    been run.
Total time to complete Offline
data collection:         (  139) 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:      ( 193) minutes.
SCT capabilities:            (0x10b5)    SCT Status supported.
                    SCT Feature Control 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
  1 Raw_Read_Error_Rate     0x002f   118   099   006    Pre-fail  Always       -       199082696
  3 Spin_Up_Time            0x0023   098   097   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0033   095   095   000    Pre-fail  Always       -       5279
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002f   078   060   030    Pre-fail  Always       -       8708189951
  9 Power_On_Hours          0x0032   092   092   000    Old_age   Always       -       7689
10 Spin_Retry_Count        0x0033   100   100   097    Pre-fail  Always       -       0
12 Power_Cycle_Count       0x0032   096   096   000    Old_age   Always       -       4676
183 Runtime_Bad_Block       0x0032   068   068   000    Old_age   Always       -       32
184 End-to-End_Error        0x0033   091   091   097    Pre-fail  Always   FAILING_NOW 9
187 Reported_Uncorrect      0x0032   098   098   000    Old_age   Always       -       2
188 Command_Timeout         0x0032   100   099   000    Old_age   Always       -       3
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   064   050   045    Old_age   Always       -       36 (Min/Max 33/36)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0022   100   100   000    Old_age   Always       -       300
193 Load_Cycle_Count        0x0032   088   088   000    Old_age   Always       -       25851
194 Temperature_Celsius     0x0022   036   050   000    Old_age   Always       -       36 (0 13 0 0 0)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
254 Free_Fall_Sensor        0x0032   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 11 (device log contains only the most recent five errors)
    CR = Command Register [HEX]
    FR = Features Register [HEX]
    SC = Sector Count Register [HEX]
    SN = Sector Number Register [HEX]
    CL = Cylinder Low Register [HEX]
    CH = Cylinder High Register [HEX]
    DH = Device/Head Register [HEX]
    DC = Device Command Register [HEX]
    ER = Error register [HEX]
    ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 11 occurred at disk power-on lifetime: 7667 hours (319 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 18 2d 52 00  Error: UNC at LBA = 0x00522d18 = 5385496

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 20 ff ff ff 4f 00      00:42:02.722  READ FPDMA QUEUED
  60 00 20 ff ff ff 4f 00      00:42:02.721  READ FPDMA QUEUED
  60 00 20 ff ff ff 4f 00      00:42:02.721  READ FPDMA QUEUED
  60 00 00 38 fd 81 40 00      00:42:02.719  READ FPDMA QUEUED
  60 00 20 78 41 92 40 00      00:42:02.719  READ FPDMA QUEUED

Error 10 occurred at disk power-on lifetime: 7667 hours (319 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 62 3d 52 00  Error: UNC at LBA = 0x00523d62 = 5389666

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 90 ff ff ff 4f 00      00:42:01.156  READ FPDMA QUEUED
  60 00 00 c0 3c 52 40 00      00:42:01.154  READ FPDMA QUEUED
  60 00 20 ff ff ff 4f 00      00:42:01.154  READ FPDMA QUEUED
  60 00 78 ff ff ff 4f 00      00:42:01.154  READ FPDMA QUEUED
  60 00 e0 ff ff ff 4f 00      00:42:01.149  READ FPDMA QUEUED

Error 9 occurred at disk power-on lifetime: 7666 hours (319 days + 10 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 00 ff ff ff 4f 00      00:00:30.482  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00      00:00:30.481  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00      00:00:30.467  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00      00:00:30.466  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:00:30.444  READ FPDMA QUEUED

Error 8 occurred at disk power-on lifetime: 7666 hours (319 days + 10 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 08 ff ff ff 4f 00      00:00:24.460  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:00:24.460  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:00:24.459  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:00:24.459  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:00:24.459  READ FPDMA QUEUED

Error 7 occurred at disk power-on lifetime: 7666 hours (319 days + 10 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 08 ff ff ff 4f 00      00:00:22.056  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00      00:00:22.056  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:00:22.055  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:00:22.055  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:00:22.054  READ FPDMA QUEUED

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%      2888         -
# 2  Short offline       Completed without error       00%         4         -
# 3  Short offline       Completed without error       00%         3         -
# 4  Short offline       Completed without error       00%         3         -
# 5  Short offline       Completed without error       00%         3         -
# 6  Short offline       Completed without error       00%         2         -
# 7  Short offline       Completed without error       00%         2         -

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.

je ne sais pas quoi interpréter...

Une fois ubuntu booté sur le dvd un message m'indique
LE DISQUE VA PROBABLEMENT BIENTÔT TOMBER EN PANNE (36 ℃ / 97 ℉)

je au moins récupérer mes anciennes données et refaire une installation complète.

je ne sais plus quoi faire.
merci de votre soutien

Hors ligne

#6 Le 06/09/2020, à 11:15

xubu1957

Re : failed to activite swap /swapfile

Bonjour,

Pour ajouter toi-même les balises code à tes précédents messages #3 et #5, comme demandé dans le premier message du tutoriel Retour utilisable de commande :

  • Cliquer sur  le lien « Modifier » en bas à droite du message

  • Sélectionner le texte

  • Cliquer sur le <> de l'éditeur de message

moko138 a écrit :

1) Les balises-code sont les < > (crochets bleus) de la barre de mise en forme.

Balisesmoko138.jpg

En séparant bien les retours :

comme
cela.

#5 :

ubuntu@ubuntu:~$ sudo smartctl -s on -a /dev/sda
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-26-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Laptop SSHD
Device Model:     ST1000LM014-1EJ164-SSHD
Serial Number:    W3822NAH
LU WWN Device Id: 5 000c50 07821fa08
Firmware Version: HPM6
User Capacity:    1000204886016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
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: 6.0 Gb/s)
Local Time is:    Sun Sep  6 09:47:32 2020 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
See vendor-specific Attribute list for failed Attributes.

General SMART Values:
Offline data collection status:  (0x82)    Offline data collection activity
                    was completed without error.
                    Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)    The previous self-test routine completed
                    without error or no self-test has ever
                    been run.
Total time to complete Offline
data collection:         (  139) 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:      ( 193) minutes.
SCT capabilities:            (0x10b5)    SCT Status supported.
                    SCT Feature Control 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
  1 Raw_Read_Error_Rate     0x002f   118   099   006    Pre-fail  Always       -       199082696
  3 Spin_Up_Time            0x0023   098   097   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0033   095   095   000    Pre-fail  Always       -       5279
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002f   078   060   030    Pre-fail  Always       -       8708189951
  9 Power_On_Hours          0x0032   092   092   000    Old_age   Always       -       7689
10 Spin_Retry_Count        0x0033   100   100   097    Pre-fail  Always       -       0
12 Power_Cycle_Count       0x0032   096   096   000    Old_age   Always       -       4676
183 Runtime_Bad_Block       0x0032   068   068   000    Old_age   Always       -       32
184 End-to-End_Error        0x0033   091   091   097    Pre-fail  Always   FAILING_NOW 9
187 Reported_Uncorrect      0x0032   098   098   000    Old_age   Always       -       2
188 Command_Timeout         0x0032   100   099   000    Old_age   Always       -       3
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   064   050   045    Old_age   Always       -       36 (Min/Max 33/36)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0022   100   100   000    Old_age   Always       -       300
193 Load_Cycle_Count        0x0032   088   088   000    Old_age   Always       -       25851
194 Temperature_Celsius     0x0022   036   050   000    Old_age   Always       -       36 (0 13 0 0 0)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
254 Free_Fall_Sensor        0x0032   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 11 (device log contains only the most recent five errors)
    CR = Command Register [HEX]
    FR = Features Register [HEX]
    SC = Sector Count Register [HEX]
    SN = Sector Number Register [HEX]
    CL = Cylinder Low Register [HEX]
    CH = Cylinder High Register [HEX]
    DH = Device/Head Register [HEX]
    DC = Device Command Register [HEX]
    ER = Error register [HEX]
    ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 11 occurred at disk power-on lifetime: 7667 hours (319 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 18 2d 52 00  Error: UNC at LBA = 0x00522d18 = 5385496

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 20 ff ff ff 4f 00      00:42:02.722  READ FPDMA QUEUED
  60 00 20 ff ff ff 4f 00      00:42:02.721  READ FPDMA QUEUED
  60 00 20 ff ff ff 4f 00      00:42:02.721  READ FPDMA QUEUED
  60 00 00 38 fd 81 40 00      00:42:02.719  READ FPDMA QUEUED
  60 00 20 78 41 92 40 00      00:42:02.719  READ FPDMA QUEUED

Error 10 occurred at disk power-on lifetime: 7667 hours (319 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 62 3d 52 00  Error: UNC at LBA = 0x00523d62 = 5389666

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 90 ff ff ff 4f 00      00:42:01.156  READ FPDMA QUEUED
  60 00 00 c0 3c 52 40 00      00:42:01.154  READ FPDMA QUEUED
  60 00 20 ff ff ff 4f 00      00:42:01.154  READ FPDMA QUEUED
  60 00 78 ff ff ff 4f 00      00:42:01.154  READ FPDMA QUEUED
  60 00 e0 ff ff ff 4f 00      00:42:01.149  READ FPDMA QUEUED

Error 9 occurred at disk power-on lifetime: 7666 hours (319 days + 10 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 00 ff ff ff 4f 00      00:00:30.482  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00      00:00:30.481  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00      00:00:30.467  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00      00:00:30.466  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:00:30.444  READ FPDMA QUEUED

Error 8 occurred at disk power-on lifetime: 7666 hours (319 days + 10 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 08 ff ff ff 4f 00      00:00:24.460  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:00:24.460  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:00:24.459  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:00:24.459  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:00:24.459  READ FPDMA QUEUED

Error 7 occurred at disk power-on lifetime: 7666 hours (319 days + 10 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 08 ff ff ff 4f 00      00:00:22.056  READ FPDMA QUEUED
  60 00 00 ff ff ff 4f 00      00:00:22.056  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:00:22.055  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:00:22.055  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:00:22.054  READ FPDMA QUEUED

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%      2888         -
# 2  Short offline       Completed without error       00%         4         -
# 3  Short offline       Completed without error       00%         3         -
# 4  Short offline       Completed without error       00%         3         -
# 5  Short offline       Completed without error       00%         3         -
# 6  Short offline       Completed without error       00%         2         -
# 7  Short offline       Completed without error       00%         2         -

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.

Dernière modification par xubu1957 (Le 02/10/2024, à 18:08)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#7 Le 06/09/2020, à 11:42

Berbère56

Re : failed to activite swap /swapfile

Salut xubu1957

j'ai réussi ta manip, je devrais lire davantage les anciens messages.

merci pour ton conseil.
et la traduction du #5.

Hors ligne

#8 Le 06/09/2020, à 11:57

geole

Re : failed to activite swap /swapfile

Berbère56 a écrit :

Bonjour la communauté
voici les résultats

sudo smartctl -s on -a /dev/sda
Model Family:     Seagate Laptop SSHD

ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   092   092   000    Old_age   Always       -       7689
183 Runtime_Bad_Block       0x0032   068   068   000    Old_age   Always       -       32

184 End-to-End_Error        0x0033   091   091   097    Pre-fail  Always  FAILING_NOW 9

196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
Error 11 occurred at disk power-on lifetime: 7667 hours   Error: UNC at LBA = 0x00522d18 = 5385496
Error 10 occurred at disk power-on lifetime: 7667 hours   Error: UNC at LBA = 0x00523d62 = 5389666
Error 9 occurred at disk power-on lifetime: 7666 hours    Error: UNC at LBA = 0x0fffffff = 268435455
Error 8 occurred at disk power-on lifetime: 7666 hours  Error: UNC at LBA = 0x0fffffff = 268435455
Error 7 occurred at disk power-on lifetime: 7666 hours  Error: UNC at LBA = 0x0fffffff = 268435455

Une fois ubuntu booté sur le dvd un message m'indique
LE DISQUE VA PROBABLEMENT BIENTÔT TOMBER EN PANNE (36 ℃ / 97 ℉)

je au moins récupérer mes anciennes données et refaire une installation complète.

je ne sais plus quoi faire.
merci de votre soutien

Bonjour .
Le disque est à remplacer.

Si tu as besoin de récupérer des données personnelles, il faut le faire à partir du support d'installation.
https://doc.ubuntu-fr.org/tutoriel/recu … _un_livecd

Dernière modification par geole (Le 06/09/2020, à 12:03)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#9 Le 06/09/2020, à 12:05

Berbère56

Re : failed to activite swap /swapfile

Je me suis permis de regarder pourquoi le disque dur allait soi disant bientôt tomber en panne.
il semblerait que le disque dur aurait une durée d'utilisation de 10 mois et 16 jours...
est ce que cela existe alors que le terminal a été acheté en octobre 2019?



merci

Hors ligne

#10 Le 06/09/2020, à 12:39

geole

Re : failed to activite swap /swapfile

S'il fonctionne 24 heures sur 24  en utilisant une mise en sommeil qui ne fonctionnerait pas pour la partie SSD du disque dur.   https://www.seagate.com/www-content/dat … -fr_FR.pdf

Il devrait donc être encore sous garantie... et avec un failing now , il n'y aura aucune discussion


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#11 Le 06/09/2020, à 13:11

diesel

Re : failed to activite swap /swapfile

Berbère56 a écrit :

Je me suis permis de regarder pourquoi le disque dur allait soi disant bientôt tomber en panne.
il semblerait que le disque dur aurait une durée d'utilisation de 10 mois et 16 jours...
est ce que cela existe alors que le terminal a été acheté en octobre 2019?



merci

Ben...,

Le disque dur a été essayé avant d'être mis sur le marché. Et puis, si tu as acheté une machine avec un OS dessus, il a bien fallu l'installer à un moment ou à un autre.

Après, 10 mois et 16 jours de bon fonctionnement pour un Seagate, c'est déjà un bon résultat.

Amicalement.

Jean-Marie

Dernière modification par diesel (Le 06/09/2020, à 13:12)


Je déteste qu'on cherche à me faire passer pour un con, j'y arrive déjà très bien tout seul.
Le mort, il sait pas qu'il est mort ; c'est pour les autres que c'est dur.................... Pour les cons, c'est pareil.

Hors ligne

#12 Le 06/09/2020, à 13:36

Berbère56

Re : failed to activite swap /swapfile

Merci à vous, tous, de m'avoir aidé.

Je vais me procurer un disque dur et remettre en route cette machine. Comme tu dis, geole, sans te chanter la messe,  je ne tenterai même pas une discussion avec le sav.
Merci diesel d'être aussi optimiste, pour la marque seagate. Est ce que une seule série de disque dur répond aux usages 24/24? Tout, ne peut pas être si mauvais...?! Non?!

Encore merci

Bien cordialement.
Mika

Hors ligne

#13 Le 06/09/2020, à 13:43

diesel

Re : failed to activite swap /swapfile

Moi, j'ai du Toshiba dont je suis pleinement satisfait depuis des années et après avoir subi des défaillances de disques Seagate.

Mais ce n'est que mon avis...

Amicalement.

Jean-Marie


Je déteste qu'on cherche à me faire passer pour un con, j'y arrive déjà très bien tout seul.
Le mort, il sait pas qu'il est mort ; c'est pour les autres que c'est dur.................... Pour les cons, c'est pareil.

Hors ligne

#14 Le 06/09/2020, à 13:46

Berbère56

Re : failed to activite swap /swapfile

Merci, comme quoi le marché est vraiment difficile sur tous les secteurs.
Merci à vous.
@+

Hors ligne

#15 Le 06/09/2020, à 13:50

inbox

Re : failed to activite swap /swapfile

Salut,

Pour les messages d'erreurs des journaux systèmes, donnes le retour de :

journalctl -b -p err

Si tu en as la possibilité, vérifie que le branchement du disque dur est bon. Le mieux est de débrancher/rebrancher le câble des données.

A+


Un problème résolu ? Indiquez le en modifiant le titre du sujet.

Hors ligne