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 13/12/2019, à 18:47

Kristof21

/dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

Bonjour,
Il m'est impossible de lancer Ubuntu depuis ce matin. J'ai le message suivant à la mise en route:
/dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
fsck exited with status code 4
The root filesystem on /dev/sda2 requires a manual fsck

Busybox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3.2) built in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)

Je ne peux malheureusement pas publier une copie d'écran, j'utilise un autre pc pour lancer cette discussion!
Si je comprends bien, sda2 contient un fichier système avec des erreurs, et cela pose problème!
J'ai tenté de créer une image .iso hier soir, et de la copier sur le bureau, peut-être que le problème vient de là? mais je ne sais pas comment le solutionner!!

Help!


Si tu le sens pas, tu le fais pas...

Hors ligne

#2 Le 13/12/2019, à 18:53

lann

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

J'aurais essayer de lancer fsck via un live USB.
ça devrait te permettre de vérifier le disque qui pose problème

Hors ligne

#3 Le 13/12/2019, à 18:55

geole

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

Bonjour
Si hier, tu as arrêté de façon anormale ton ordinateur, le message est normal, tu peux alors faire la commande demandée

fsck   -y   /dev/sda2

Mais si l'arrêt de l'ordinateur, s'est fait sans problème, il est possible que la cause soit un problème disque. Pour le vérifier, il faut que tu bootes avec le support d'installation de ubuntu que tu installes le logiciel smartrmontools avec cette commande 

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

et que tu publies le retour de cette commande

sudo smartctl  -s   on  -a   /dev/sda

Dernière modification par geole (Le 13/12/2019, à 18:55)


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

En ligne

#4 Le 13/12/2019, à 19:05

Kristof21

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

J'aurais essayer de lancer fsck via un live USB.
ça devrait te permettre de vérifier le disque qui pose problème

Bonjour Iann,
Je possède un live usb, mais version 14.04... j'avais fait la mise à jour en 18.04 par la suite. Et lorsque je boot dessus, il me propose de réinstaller!
Je précise que je ne suis pas un expert, et que j'utilise ubuntu seulement depuis 2 ans! j'aurais besoin d'être aiguillé...


Si tu le sens pas, tu le fais pas...

Hors ligne

#5 Le 13/12/2019, à 19:07

Kristof21

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

Bonjour geole,

comment rentrer dans la console pour écrire les lignes de commande... je n'arrive pas à lancer ubuntu !!!


Si tu le sens pas, tu le fais pas...

Hors ligne

#6 Le 13/12/2019, à 19:22

Watts

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

Bonjour,

Si ton pc se rallume (ou est toujours) sur cet écran, saisis simplement:

fsck   -y   /dev/sda2

puis pour redémarrer ton pc, fais

exit

ou (si ça ne fonctionne pas)

reboot

C'est un peu l'équivalent windows du pc qui se rallume en lançant chkdsk


Acer Aspire X3990-Dual boot Windows 7 / Ubuntu 18.04

Hors ligne

#7 Le 13/12/2019, à 19:31

Kristof21

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

Ok , j'ai réussi à lancer la commande de geole et Watts suivante :

fsck   -y   /dev/sda2

Après reboot, tout est rentré dans l'ordre!!!

Un grand merci à vous 3 pour votre aide précieuse !!

Bonnes fêtes !!


Si tu le sens pas, tu le fais pas...

Hors ligne

#8 Le 13/12/2019, à 19:40

Watts

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

Néanmoins le problème n'est pas forcément terminé, tu ne nous as pas dit si l'ordinateur s'était éteint correctement ou non, ce qui fait que le problème peut se reproduire ou cacher un autre problème


Acer Aspire X3990-Dual boot Windows 7 / Ubuntu 18.04

Hors ligne

#9 Le 13/12/2019, à 19:41

geole

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

Pour se rassurer
Installe

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

et  publies le retour de cette commande

sudo smartctl  -s   on  -a   /dev/sda

et profite pour faire un support d'installation en version 18.04 http://releases.ubuntu.com/18.04.3/ubun … -amd64.iso

Dernière modification par geole (Le 13/12/2019, à 20:15)


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

En ligne

#10 Le 13/12/2019, à 19:58

Kristof21

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

Aïe Aïe Aïe, vous aviez raison...! Mon DD stockant ma data n'apparaît plus ! seul le disque ssd hébergeant ubuntu apparaît !

Voilà le retour de la commande smartctl de geole:

christophe@christophe-MS-7996:~$ sudo smartctl  -s   on  -a   /dev/sda
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-72-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     KINGSTON SUV400S37120G
Serial Number:    50026B777700227D
LU WWN Device Id: 0 550380 440010000
Firmware Version: 0C3J96R9
User Capacity:    120034123776 bytes [120 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      M.2
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   Unknown(0x0ffe), ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Fri Dec 13 18:52:19 2019 CET
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: PASSED

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
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: 		(    5) seconds.
Offline data collection
capabilities: 			 (0x71) SMART execute Offline immediate.
					No Auto Offline data collection support.
					Suspend Offline collection upon new
					command.
					No 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: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (   5) minutes.
Conveyance self-test routine
recommended polling time: 	 (   0) 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: 48
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   100   100   000    Pre-fail  Always       -       0
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       2066
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       1478
100 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       1200032
101 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       195632
170 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
171 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
172 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
174 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       92
175 Program_Fail_Count_Chip 0x0032   100   100   000    Old_age   Always       -       0
176 Erase_Fail_Count_Chip   0x0032   100   100   000    Old_age   Always       -       0
177 Wear_Leveling_Count     0x0032   098   098   000    Old_age   Always       -       707
178 Used_Rsvd_Blk_Cnt_Chip  0x0002   100   100   000    Old_age   Always       -       0
180 Unused_Rsvd_Blk_Cnt_Tot 0x0002   100   100   000    Old_age   Always       -       670
183 Runtime_Bad_Block       0x0032   099   099   000    Old_age   Always       -       9
187 Reported_Uncorrect      0x0033   100   100   000    Pre-fail  Always       -       0
194 Temperature_Celsius     0x0022   032   100   000    Old_age   Always       -       32 (Min/Max 20/39)
195 Hardware_ECC_Recovered  0x0032   100   100   000    Old_age   Always       -       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
199 UDMA_CRC_Error_Count    0x0012   100   100   000    Old_age   Always       -       0
201 Unknown_SSD_Attribute   0x0032   100   100   000    Old_age   Always       -       0
204 Soft_ECC_Correction     0x0032   100   100   000    Old_age   Always       -       0
231 Temperature_Celsius     0x0032   098   098   000    Old_age   Always       -       2
233 Media_Wearout_Indicator 0x0032   100   100   000    Old_age   Always       -       2044
234 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       1138
241 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       1734
242 Total_LBAs_Read         0x0032   100   100   000    Old_age   Always       -       2819
250 Read_Error_Retry_Rate   0x0032   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 0
No Errors Logged

SMART Self-test log structure revision number 0
Warning: ATA Specification requires self-test log structure revision number = 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
 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.

christophe@christophe-MS-7996:~$ 

Si tu le sens pas, tu le fais pas...

Hors ligne

#11 Le 13/12/2019, à 20:05

geole

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

Ton disque dur étant certainement SDB, Donne le retour de ces commandes

cat /etc/fstab
dmesg | grep sdb

Je mémorise un truc qui, je l'espère, ne servira pas d'ici très longtemps.
sudo smartctl  -s   on  -a   /dev/sda

=== START OF INFORMATION SECTION ===
Device Model:     KINGSTON SUV400S37120G
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       2066
177 Wear_Leveling_Count     0x0032   098   098   000    Old_age   Always       -       707
178 Used_Rsvd_Blk_Cnt_Chip  0x0002   100   100   000    Old_age   Always       -       0
180 Unused_Rsvd_Blk_Cnt_Tot 0x0002   100   100   000    Old_age   Always       -       670
183 Runtime_Bad_Block       0x0032   099   099   000    Old_age   Always       -       9
233 Media_Wearout_Indicator 0x0032   100   100   000    Old_age   Always       -       2044

Dernière modification par geole (Le 13/12/2019, à 20:08)


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

En ligne

#12 Le 13/12/2019, à 20:16

Kristof21

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

Voici:

christophe@christophe-MS-7996:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=fecd0c19-6b0e-4137-95d5-bc5291c52829 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=0F44-8EF6  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sda3 during installation
UUID=208d6738-7639-4581-8c3d-dd7facce3712 none            swap    sw              0       0
christophe@christophe-MS-7996:~$ 
christophe@christophe-MS-7996:~$ dmesg | grep sdb
[    3.127517] sd 4:0:0:0: [sdb] Attached SCSI removable disk
christophe@christophe-MS-7996:~$
christophe@christophe-MS-7996:~$ sudo smartctl  -s   on  -a   /dev/sda
[sudo] Mot de passe de christophe : 
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-72-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     KINGSTON SUV400S37120G
Serial Number:    50026B777700227D
LU WWN Device Id: 0 550380 440010000
Firmware Version: 0C3J96R9
User Capacity:    120034123776 bytes [120 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      M.2
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   Unknown(0x0ffe), ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Fri Dec 13 19:15:07 2019 CET
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: PASSED

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
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: 		(    5) seconds.
Offline data collection
capabilities: 			 (0x71) SMART execute Offline immediate.
					No Auto Offline data collection support.
					Suspend Offline collection upon new
					command.
					No 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: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (   5) minutes.
Conveyance self-test routine
recommended polling time: 	 (   0) 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: 48
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   100   100   000    Pre-fail  Always       -       0
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       2067
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       1478
100 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       1200080
101 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       195632
170 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
171 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
172 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
174 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       92
175 Program_Fail_Count_Chip 0x0032   100   100   000    Old_age   Always       -       0
176 Erase_Fail_Count_Chip   0x0032   100   100   000    Old_age   Always       -       0
177 Wear_Leveling_Count     0x0032   098   098   000    Old_age   Always       -       707
178 Used_Rsvd_Blk_Cnt_Chip  0x0002   100   100   000    Old_age   Always       -       0
180 Unused_Rsvd_Blk_Cnt_Tot 0x0002   100   100   000    Old_age   Always       -       670
183 Runtime_Bad_Block       0x0032   099   099   000    Old_age   Always       -       9
187 Reported_Uncorrect      0x0033   100   100   000    Pre-fail  Always       -       0
194 Temperature_Celsius     0x0022   032   100   000    Old_age   Always       -       32 (Min/Max 20/39)
195 Hardware_ECC_Recovered  0x0032   100   100   000    Old_age   Always       -       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
199 UDMA_CRC_Error_Count    0x0012   100   100   000    Old_age   Always       -       0
201 Unknown_SSD_Attribute   0x0032   100   100   000    Old_age   Always       -       0
204 Soft_ECC_Correction     0x0032   100   100   000    Old_age   Always       -       0
231 Temperature_Celsius     0x0032   098   098   000    Old_age   Always       -       2
233 Media_Wearout_Indicator 0x0032   100   100   000    Old_age   Always       -       2044
234 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       1138
241 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       1734
242 Total_LBAs_Read         0x0032   100   100   000    Old_age   Always       -       2819
250 Read_Error_Retry_Rate   0x0032   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 0
No Errors Logged

SMART Self-test log structure revision number 0
Warning: ATA Specification requires self-test log structure revision number = 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
 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.

christophe@christophe-MS-7996:~$ 

Si tu le sens pas, tu le fais pas...

Hors ligne

#13 Le 13/12/2019, à 20:19

Kristof21

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

Je crains pour le DD, il fait un ronronnement inhabituel !


Si tu le sens pas, tu le fais pas...

Hors ligne

#14 Le 13/12/2019, à 20:19

geole

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

sudo smartctl  -s   on  -a   /dev/sdb

Es-tu bien sur d'avoir copié ton ISO sur le bureau et pas sur le disque SDB   qui n'a plus de table de partition?

Dernière modification par geole (Le 13/12/2019, à 20:20)


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

En ligne

#15 Le 13/12/2019, à 20:29

Kristof21

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

Voici:

christophe@christophe-MS-7996:~$ sudo smartctl  -s   on  -a   /dev/sdb
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-72-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sdb: Unknown USB bridge [0x058f:0x6362 (0x126)]
Please specify device type with the -d option.

Use smartctl -h to get a usage summary

christophe@christophe-MS-7996:~$ 

L' iso était bien sur le bureau, et je l'avait aussi copié sur le DD. J'ai tout supprimé tout-à-l'heure. Pour le DD, j'ai l'impression qu'il tourne et s'arrête par intermittence...curieux


Si tu le sens pas, tu le fais pas...

Hors ligne

#16 Le 13/12/2019, à 20:40

geole

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

C'est un disque USB qui n'est pas répertorié
Pourrais-tu indiquer sa référence commerciale?
J'y vais au hasard avec les cas les plus fréquents

sudo smartctl -s on -d ata  -a /dev/sdb

sudo smartctl -s on -d sat  -a /dev/sdb

sudo smartctl -s on -d scsi -a /dev/sdb

sudo smartctl -s on -d auto -T verypermissive -a /dev/sdb

sudo smartctl -s on -d test -T verypermissive -a /dev/sdb

Dernière modification par geole (Le 13/12/2019, à 20:45)


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

En ligne

#17 Le 13/12/2019, à 20:47

Kristof21

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

Voici:

christophe@christophe-MS-7996:~$ sudo smartctl -s on -d ata  -a /dev/sdb
[sudo] Mot de passe de christophe : 
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-72-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: Invalid argument

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
christophe@christophe-MS-7996:~$ 
christophe@christophe-MS-7996:~$ sudo smartctl -s on -d sat  -a /dev/sdb
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-72-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: scsi error unsupported scsi opcode

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
christophe@christophe-MS-7996:~$ 
christophe@christophe-MS-7996:~$ sudo smartctl -s on -d scsi -a /dev/sdb
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-72-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               Generic
Product:              USB SD Reader
Revision:             1.00
Device type:          disk
Local Time is:        Fri Dec 13 19:45:07 2019 CET
NO MEDIUM present in device
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
christophe@christophe-MS-7996:~$ 
christophe@christophe-MS-7996:~$ sudo smartctl -s on -d auto -T verypermissive -a /dev/sdb
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-72-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sdb: Unknown USB bridge [0x058f:0x6362 (0x126)]
Please specify device type with the -d option.

Use smartctl -h to get a usage summary

christophe@christophe-MS-7996:~$ 
christophe@christophe-MS-7996:~$ sudo smartctl -s on -d test -T verypermissive -a /dev/sdb
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-72-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sdb: Unknown USB bridge [0x058f:0x6362 (0x126)]
Please specify device type with the -d option.

Use smartctl -h to get a usage summary

christophe@christophe-MS-7996:~$ 

Si tu le sens pas, tu le fais pas...

Hors ligne

#18 Le 13/12/2019, à 20:51

geole

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

sudo smartctl -s  on -d  scsi  -T verypermissive -a /dev/sdb 

J'ai vu cela USB SD Reader   Est-ce un adaptateur? Une clé USB?

Dernière modification par geole (Le 13/12/2019, à 20:54)


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

En ligne

#19 Le 13/12/2019, à 20:54

Kristof21

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

Je viens de lancer Gparted, j'ai actualisé les périphériques et Oh miracle, mon DD (sdf) apparaît à nouveau !!!
J'ai accès à toute ma data... Mais le DD fait toujours un bruit étrange, comme s'il s'arrêtait de tourner et se relançait aussitôt après!


Si tu le sens pas, tu le fais pas...

Hors ligne

#20 Le 13/12/2019, à 20:58

geole

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

retente

sudo smartctl -s  on -d  scsi  -T verypermissive -a /dev/sdf 

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

En ligne

#21 Le 13/12/2019, à 20:58

Kristof21

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

Non, USB SD reader est un vieux lecteur de carte qui n'a jamais très bien fonctionné (surtout pour les cartes SD), je ne m'en sert que pour sa sortie USB.

christophe@christophe-MS-7996:~$ sudo smartctl -s  on -d  scsi  -T verypermissive -a /dev/sdb 
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-72-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               Generic
Product:              USB SD Reader
Revision:             1.00
Device type:          disk
Local Time is:        Fri Dec 13 19:55:23 2019 CET
NO MEDIUM present in device
SMART support is:     Unavailable - device lacks SMART capability.

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
unable to fetch IEC (SMART) mode page [no medium present]

=== START OF READ SMART DATA SECTION ===
Current Drive Temperature:     0 C
Drive Trip Temperature:        0 C

Error Counter logging not supported

Device does not support Self Test logging
christophe@christophe-MS-7996:~$ 

Si tu le sens pas, tu le fais pas...

Hors ligne

#22 Le 13/12/2019, à 21:01

Kristof21

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

Voici :

christophe@christophe-MS-7996:~$ sudo smartctl -s  on -d  scsi  -T verypermissive -a /dev/sdf 
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-72-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

User Capacity:        500107862016 bytes [500 GB]
Logical block size:   512 bytes
LU is fully provisioned
Logical Unit id:      0x50014ee103761bc3
Serial number:        WD-WCAV9J615512
Device type:          disk
Local Time is:        Fri Dec 13 19:58:56 2019 CET
SMART support is:     Unavailable - device lacks SMART capability.

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
unable to fetch IEC (SMART) mode page [unsupported field in scsi command]

=== START OF READ SMART DATA SECTION ===
Current Drive Temperature:     0 C
Drive Trip Temperature:        0 C

Error Counter logging not supported


[GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on']
Device does not support Self Test logging
christophe@christophe-MS-7996:~$ 

Si tu le sens pas, tu le fais pas...

Hors ligne

#23 Le 13/12/2019, à 21:01

geole

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

On reprend tout

dmesg | grep sdf

sudo smartctl -s on   -a /dev/sdf


sudo smartctl -s on -d ata  -a /dev/sdf


sudo smartctl -s on -d sat  -a /dev/sdf


sudo smartctl -s on -d auto -T verypermissive -a /dev/sdf

sudo smartctl -s on -d test -T verypermissive -a /dev/sdf

Dernière modification par geole (Le 13/12/2019, à 21:04)


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

En ligne

#24 Le 13/12/2019, à 21:07

Kristof21

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

christophe@christophe-MS-7996:~$ dmesg | grep sdf
[ 3041.705958] sd 1:0:0:0: [sdf] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 3041.705966] sd 1:0:0:0: [sdf] Write Protect is off
[ 3041.705968] sd 1:0:0:0: [sdf] Mode Sense: 00 3a 00 00
[ 3041.705979] sd 1:0:0:0: [sdf] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3041.716161]  sdf: sdf1
[ 3041.716398] sd 1:0:0:0: [sdf] Attached SCSI disk
[ 3058.308563]  sdf: sdf1
[ 3170.735279] sd 1:0:0:0: [sdf] tag#3 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 3170.735284] sd 1:0:0:0: [sdf] tag#3 Sense Key : Illegal Request [current] 
[ 3170.735288] sd 1:0:0:0: [sdf] tag#3 Add. Sense: Unaligned write command
[ 3170.735294] sd 1:0:0:0: [sdf] tag#3 CDB: Read(10) 28 00 00 00 94 c0 00 00 08 00
[ 3170.735297] print_req_error: I/O error, dev sdf, sector 38080
[ 3170.746022] sd 1:0:0:0: [sdf] Synchronizing SCSI cache
[ 3170.746075] sd 1:0:0:0: [sdf] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 3170.746078] sd 1:0:0:0: [sdf] Stopping disk
[ 3170.746091] sd 1:0:0:0: [sdf] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 3177.196004] sd 1:0:0:0: [sdf] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 3177.196014] sd 1:0:0:0: [sdf] Write Protect is off
[ 3177.196017] sd 1:0:0:0: [sdf] Mode Sense: 00 3a 00 00
[ 3177.196043] sd 1:0:0:0: [sdf] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3177.217079]  sdf: sdf1
[ 3177.217325] sd 1:0:0:0: [sdf] Attached SCSI disk
[ 3236.033843]  sdf: sdf1
[ 3236.050874]  sdf: sdf1
christophe@christophe-MS-7996:~$ 
christophe@christophe-MS-7996:~$ sudo smartctl -s on   -a /dev/sdf
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-72-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green
Device Model:     WDC WD5000AADS-00S9B0
Serial Number:    WD-WCAV9J615512
LU WWN Device Id: 5 0014ee 103761bc3
Firmware Version: 01.00A01
User Capacity:    500107862016 bytes [500 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Fri Dec 13 20:04:04 2019 CET
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: PASSED

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:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(10980) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend 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: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 129) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x3037)	SCT Status 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          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   199   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   238   186   021    Pre-fail  Always       -       1083
  4 Start_Stop_Count        0x0032   098   098   000    Old_age   Always       -       2318
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   097   097   000    Old_age   Always       -       2321
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   098   098   000    Old_age   Always       -       2318
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       549
193 Load_Cycle_Count        0x0032   191   191   000    Old_age   Always       -       27843
194 Temperature_Celsius     0x0022   109   101   000    Old_age   Always       -       34
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   199   000    Old_age   Always       -       59
198 Offline_Uncorrectable   0x0030   200   199   000    Old_age   Offline      -       57
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       38

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

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.

christophe@christophe-MS-7996:~$ 
christophe@christophe-MS-7996:~$ sudo smartctl -s on -d ata  -a /dev/sdf
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-72-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green
Device Model:     WDC WD5000AADS-00S9B0
Serial Number:    WD-WCAV9J615512
LU WWN Device Id: 5 0014ee 103761bc3
Firmware Version: 01.00A01
User Capacity:    500107862016 bytes [500 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Fri Dec 13 20:04:33 2019 CET
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: PASSED

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:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(10980) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend 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: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 129) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x3037)	SCT Status 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          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   199   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   238   186   021    Pre-fail  Always       -       1083
  4 Start_Stop_Count        0x0032   098   098   000    Old_age   Always       -       2318
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   097   097   000    Old_age   Always       -       2321
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   098   098   000    Old_age   Always       -       2318
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       549
193 Load_Cycle_Count        0x0032   191   191   000    Old_age   Always       -       27843
194 Temperature_Celsius     0x0022   110   101   000    Old_age   Always       -       33
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   199   000    Old_age   Always       -       59
198 Offline_Uncorrectable   0x0030   200   199   000    Old_age   Offline      -       57
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       38

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

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.

christophe@christophe-MS-7996:~$ 
christophe@christophe-MS-7996:~$ 
christophe@christophe-MS-7996:~$ sudo smartctl -s on -d scsi -a /dev/sdf
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-72-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

User Capacity:        500107862016 bytes [500 GB]
Logical block size:   512 bytes
LU is fully provisioned
Logical Unit id:      0x50014ee103761bc3
Serial number:        WD-WCAV9J615512
Device type:          disk
Local Time is:        Fri Dec 13 20:05:08 2019 CET
SMART support is:     Unavailable - device lacks SMART capability.

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
unable to fetch IEC (SMART) mode page [unsupported field in scsi command]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
christophe@christophe-MS-7996:~$ 
christophe@christophe-MS-7996:~$ sudo smartctl -s on -d auto -T verypermissive -a /dev/sdf
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-72-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green
Device Model:     WDC WD5000AADS-00S9B0
Serial Number:    WD-WCAV9J615512
LU WWN Device Id: 5 0014ee 103761bc3
Firmware Version: 01.00A01
User Capacity:    500107862016 bytes [500 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Fri Dec 13 20:05:30 2019 CET
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: PASSED

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:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(10980) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend 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: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 129) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x3037)	SCT Status 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          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   199   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   238   186   021    Pre-fail  Always       -       1083
  4 Start_Stop_Count        0x0032   098   098   000    Old_age   Always       -       2319
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   097   097   000    Old_age   Always       -       2321
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   098   098   000    Old_age   Always       -       2319
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       550
193 Load_Cycle_Count        0x0032   191   191   000    Old_age   Always       -       27843
194 Temperature_Celsius     0x0022   109   101   000    Old_age   Always       -       34
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   199   000    Old_age   Always       -       59
198 Offline_Uncorrectable   0x0030   200   199   000    Old_age   Offline      -       57
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       38

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

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.

christophe@christophe-MS-7996:~$ 
christophe@christophe-MS-7996:~$ sudo smartctl -s on -d test -T verypermissive -a /dev/sdf
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-72-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sdf: Device of type 'scsi' [SCSI] detected
/dev/sdf [SAT]: Device open changed type from 'scsi' to 'sat'
/dev/sdf [SAT]: Device of type 'sat' [ATA] opened
christophe@christophe-MS-7996:~$ 

Si tu le sens pas, tu le fais pas...

Hors ligne

#25 Le 13/12/2019, à 21:14

geole

Re : /dev/sda2/: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

Réponse rapide
Dans la trace

[ 3170.735297] print_req_error: I/O error, dev sdf, sector 38080

J'espère que tu as un autre disque pour dupliquer les fichiers qui sont dedans.

3 minutes et 15 secondes  pour accrocher la partition. Cela devait correspondre au bruit que tu entendais

[ 3041.705958] sd 1:0:0:0: [sdf] 976773168 512-byte logical blocks: (500 GB/466 GiB)
.......
[ 3236.033843]  sdf: sdf1

59 secteurs sont devenus illisibles . Aucun secteur illisible n'a été récupéré.
Cela peut faire potentiellement 59 fichiers  impactés ou beaucoup plus si quelques secteurs sont utilisés  pour faire des descriptions  de fichiers.
Pourtant le disque n'est pas âgé.

 5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   097   097   000    Old_age   Always       -       2321
197 Current_Pending_Sector  0x0032   200   199   000    Old_age   Always       -       59

J'ai vu le résultat d'une commande

/dev/sdf: Device of type 'scsi' [SCSI] detected
/dev/sdf [SAT]: Device open changed type from 'scsi' to 'sat'
/dev/sdf [SAT]: Device of type 'sat' [ATA] opened

Je ne pense pas que cela change grand chose.

Dernière modification par geole (Le 13/12/2019, à 21:33)


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

En ligne