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 28/12/2023, à 22:31

moromain

[Résolu] Montage RAID 5 "out of date" + "read error not correctable"

Bonjour,

Suite à un coup de foudre yikes, la carte mère de mon NAS est morte.
J'ai récupéré un vieil ordi sur lequel j'ai branché les 4 disques (montés en RAID 5 dans le NAS) pour récupérer les données.

J'ai réussi à monter les 4 disques et j'ai commencé le transfert des données, vers un DD usb.
Le premier disque USB plein, je l'éjecte (proprement), le nouveau DD n'est pas reconnu : je reboote.
Et là, c'est le drame : impossible de remonter le raid.
Les disques sont notés "... busy... skipping" (de mémoire). Impossibles à monter.
Après un autre reboot, un des disques est "out of time".
Pas grave : je tente d'assembler le raid avec --force.
Et patatras : "read error not connectable" sur un 2e disque.
J'ai peur que ce disque commence à rendre l'âme.

Questions :
1/ est-il possible de modifier ce problème de "out of time", pour accéder quand même aux données ?
2/ est-il possible de réparer le DD qui semble endommagé ?
3/ est-ce qu'un testdisk est opérationnel sur un Raid5 ?
4/ Est-ce que les données sont récupérables ? (je le sens mal...)

dell@dell-OptiPlex-3020:~$ sudo mdadm --detail /dev/md2
/dev/md2:
           Version : 1.1
     Creation Time : Thu Mar 24 19:01:18 2011
        Raid Level : raid5
        Array Size : 5846379840 (5.44 TiB 5.99 TB)
     Used Dev Size : 1948793280 (1858.51 GiB 1995.56 GB)
      Raid Devices : 4
     Total Devices : 3
       Persistence : Superblock is persistent

       Update Time : Thu Dec 28 21:01:37 2023
             State : clean, FAILED 
    Active Devices : 2
   Working Devices : 2
    Failed Devices : 1
     Spare Devices : 0

            Layout : left-symmetric
        Chunk Size : 64K

Consistency Policy : resync

              Name : SynologyDS411:2
              UUID : 901ea4cb:5e7f3b44:37d055a3:405e18fd
            Events : 769177

    Number   Major   Minor   RaidDevice State
       0       8       35        0      active sync   /dev/sdc3
       -       0        0        1      removed
       2       8        3        2      active sync   /dev/sda3
       -       0        0        3      removed

       1       8       67        -      faulty   /dev/sde3
dell@dell-OptiPlex-3020:~$ journalctl --no-pager -b -g md2
déc. 28 21:01:08 dell-OptiPlex-3020 kernel: md: md2 stopped.
déc. 28 21:01:09 dell-OptiPlex-3020 systemd-udevd[8737]: md2: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/md2' failed with exit code 1.
déc. 28 21:01:09 dell-OptiPlex-3020 udisksd[859]: Error reading sysfs attr `/sys/devices/virtual/block/md2/md/degraded': Failed to open file “/sys/devices/virtual/block/md2/md/degraded”: No such file or directory (g-file-error-quark, 4)
déc. 28 21:01:09 dell-OptiPlex-3020 udisksd[859]: Error reading sysfs attr `/sys/devices/virtual/block/md2/md/sync_action': Failed to open file “/sys/devices/virtual/block/md2/md/sync_action”: No such file or directory (g-file-error-quark, 4)
déc. 28 21:01:09 dell-OptiPlex-3020 udisksd[859]: Error reading sysfs attr `/sys/devices/virtual/block/md2/md/sync_completed': Failed to open file “/sys/devices/virtual/block/md2/md/sync_completed”: No such file or directory (g-file-error-quark, 4)
déc. 28 21:01:09 dell-OptiPlex-3020 kernel: md/raid:md2: device sdc3 operational as raid disk 0
déc. 28 21:01:09 dell-OptiPlex-3020 kernel: md/raid:md2: device sda3 operational as raid disk 2
déc. 28 21:01:09 dell-OptiPlex-3020 kernel: md/raid:md2: device sde3 operational as raid disk 1
déc. 28 21:01:09 dell-OptiPlex-3020 kernel: md/raid:md2: raid level 5 active with 3 out of 4 devices, algorithm 2
déc. 28 21:01:09 dell-OptiPlex-3020 kernel: md2: detected capacity change from 0 to 11692759680
déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642768 on sde3).
déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642776 on sde3).
déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642784 on sde3).
déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642792 on sde3).
déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642800 on sde3).
déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642808 on sde3).
déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642816 on sde3).
déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642824 on sde3).
déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642832 on sde3).
déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642840 on sde3).
déc. 28 21:01:37 dell-OptiPlex-3020 kernel: md/raid:md2: Disk failure on sde3, disabling device.
déc. 28 21:01:37 dell-OptiPlex-3020 kernel: md/raid:md2: Cannot continue operation (2/4 failed).
déc. 28 21:01:37 dell-OptiPlex-3020 kernel: EXT4-fs (md2): error loading journal
déc. 28 21:01:51 dell-OptiPlex-3020 kernel: EXT4-fs (md2): error loading journal
déc. 28 21:01:56 dell-OptiPlex-3020 sudo[8813]:     dell : TTY=pts/0 ; PWD=/home/dell ; USER=root ; COMMAND=/usr/bin/mount /dev/md2 /mnt/md0
déc. 28 21:01:56 dell-OptiPlex-3020 kernel: EXT4-fs (md2): error loading journal
déc. 28 21:05:05 dell-OptiPlex-3020 sudo[9449]:     dell : TTY=pts/0 ; PWD=/home/dell ; USER=root ; COMMAND=/usr/sbin/mdadm --detail /dev/md2
déc. 28 21:06:39 dell-OptiPlex-3020 kernel: EXT4-fs (md2): error loading journal
déc. 28 21:06:41 dell-OptiPlex-3020 kernel: EXT4-fs (md2): error loading journal
déc. 28 21:06:41 dell-OptiPlex-3020 kernel: EXT4-fs (md2): error loading journal
déc. 28 21:06:57 dell-OptiPlex-3020 kernel: EXT4-fs (md2): error loading journal
déc. 28 21:07:01 dell-OptiPlex-3020 kernel: EXT4-fs (md2): error loading journal

Retours de sudo mdadm --examine /dev/sda3 (puis sdb3, sdc3 et sdd3)

/dev/sda3:
          Magic : a92b4efc
        Version : 1.1
    Feature Map : 0x0
     Array UUID : 901ea4cb:5e7f3b44:37d055a3:405e18fd
           Name : SynologyDS411:2
  Creation Time : Thu Mar 24 19:01:18 2011
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 3897586617 sectors (1858.51 GiB 1995.56 GB)
     Array Size : 5846379840 KiB (5.44 TiB 5.99 TB)
  Used Dev Size : 3897586560 sectors (1858.51 GiB 1995.56 GB)
    Data Offset : 264 sectors
   Super Offset : 0 sectors
   Unused Space : before=192 sectors, after=57 sectors
          State : clean
    Device UUID : b31df98e:44309591:ce3a385f:0d01f6c5

    Update Time : Thu Dec 28 21:01:37 2023
       Checksum : 3d351d6b - correct
         Events : 769177

         Layout : left-symmetric
     Chunk Size : 64K

   Device Role : Active device 2
   Array State : A.A. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdb3:
          Magic : a92b4efc
        Version : 1.1
    Feature Map : 0x0
     Array UUID : 901ea4cb:5e7f3b44:37d055a3:405e18fd
           Name : SynologyDS411:2
  Creation Time : Thu Mar 24 19:01:18 2011
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 3897586617 sectors (1858.51 GiB 1995.56 GB)
     Array Size : 5846379840 KiB (5.44 TiB 5.99 TB)
  Used Dev Size : 3897586560 sectors (1858.51 GiB 1995.56 GB)
    Data Offset : 264 sectors
   Super Offset : 0 sectors
   Unused Space : before=192 sectors, after=57 sectors
          State : clean
    Device UUID : ec32873f:d2cb8e61:bb256054:1dd0c5c7

    Update Time : Tue Jan  1 05:23:22 2002
       Checksum : 8a9aed02 - correct
         Events : 769164

         Layout : left-symmetric
     Chunk Size : 64K

   Device Role : Active device 3
   Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdc3:
          Magic : a92b4efc
        Version : 1.1
    Feature Map : 0x0
     Array UUID : 901ea4cb:5e7f3b44:37d055a3:405e18fd
           Name : SynologyDS411:2
  Creation Time : Thu Mar 24 19:01:18 2011
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 3897586617 sectors (1858.51 GiB 1995.56 GB)
     Array Size : 5846379840 KiB (5.44 TiB 5.99 TB)
  Used Dev Size : 3897586560 sectors (1858.51 GiB 1995.56 GB)
    Data Offset : 264 sectors
   Super Offset : 0 sectors
   Unused Space : before=192 sectors, after=57 sectors
          State : clean
    Device UUID : 9e8cfb05:173027a6:14c41b2c:b79c5907

    Update Time : Thu Dec 28 21:01:37 2023
       Checksum : d710b115 - correct
         Events : 769177

         Layout : left-symmetric
     Chunk Size : 64K

   Device Role : Active device 0
   Array State : A.A. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sde3:
          Magic : a92b4efc
        Version : 1.1
    Feature Map : 0x0
     Array UUID : 901ea4cb:5e7f3b44:37d055a3:405e18fd
           Name : SynologyDS411:2
  Creation Time : Thu Mar 24 19:01:18 2011
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 3897586617 sectors (1858.51 GiB 1995.56 GB)
     Array Size : 5846379840 KiB (5.44 TiB 5.99 TB)
  Used Dev Size : 3897586560 sectors (1858.51 GiB 1995.56 GB)
    Data Offset : 264 sectors
   Super Offset : 0 sectors
   Unused Space : before=192 sectors, after=57 sectors
          State : active
    Device UUID : 2ad02476:f9b0d655:7506dba8:26b0673b

    Update Time : Thu Dec 28 15:16:31 2023
       Checksum : a7b97a70 - correct
         Events : 769175

         Layout : left-symmetric
     Chunk Size : 64K

   Device Role : Active device 1
   Array State : AAA. ('A' == active, '.' == missing, 'R' == replacing)

Edit :
Il semblerait que la carte PCIe raid, qui me permet de brancher mes 4 DD, a des ratés. D'où des problèmes pour recréer le raid complet. En plus, les disques semblent fatigués.

Dernière modification par moromain (Le 29/12/2023, à 17:59)


XUbuntu 22.04

Hors ligne

#2 Le 29/12/2023, à 02:15

geole

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

Bonsoir.
Merci de publier l'état smartctl des quatre disques.  chapitre trois.

N'ayant plus que deux disques sur quatre.

Array State : A.A.

Ce n'est pas gagné.

SDA3  Events : 769177 Update Time : Thu Dec 28 21:01:37 2023
SDC3  Events : 769177 Update Time : Thu Dec 28 21:01:37 2023

SDE3  Events : 769175 Update Time : Thu Dec 28 15:16:31 2023
SDB3  Events : 769164 Update Time : Tue Jan  1 05:23:22 2002
Je m'attends à trouver des disques en mauvais état qu'il faudra dupliquer dans des nouveaux disques de taille au moins égale.
pour SDB3, je suis surpris de ce que  je lis.

Dernière modification par geole (Le 29/12/2023, à 02:39)


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

#3 Le 29/12/2023, à 10:09

moromain

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

SDB3  Events : 769164 Update Time : Tue Jan  1 05:23:22 2002

L'erreur "out of date" doit venir de là. Comment est-ce arrivé ? Un reboot peut générer cette erreur ? Ou le disque est défaillant ?

Résultats de smartctl

dell@dell-OptiPlex-3020:/var/lib/dpkg$ sudo smartctl -s on -a /dev/sda
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.0-91-generic] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi Deskstar 7K3000
Device Model:     Hitachi HDS723020BLA642
Serial Number:    MN1220F30GAKUD
LU WWN Device Id: 5 000cca 369c684e4
Firmware Version: MN6OA580
User Capacity:    2000398934016 bytes [2,00 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 2.6, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Fri Dec 29 09:03:51 2023 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: 		(18665) 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: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 ( 311) 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: 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     0x000b   100   100   016    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   135   135   054    Pre-fail  Offline      -       85
  3 Spin_Up_Time            0x0007   132   132   024    Pre-fail  Always       -       436 (Average 431)
  4 Start_Stop_Count        0x0012   096   096   000    Old_age   Always       -       17857
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   133   133   020    Pre-fail  Offline      -       27
  9 Power_On_Hours          0x0012   093   093   000    Old_age   Always       -       53712
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       622
192 Power-Off_Retract_Count 0x0032   086   086   000    Old_age   Always       -       17870
193 Load_Cycle_Count        0x0012   086   086   000    Old_age   Always       -       17870
194 Temperature_Celsius     0x0002   250   250   000    Old_age   Always       -       24 (Min/Max 15/50)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

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%     51710         -
# 2  Short offline       Completed without error       00%     51097         -
# 3  Short offline       Completed without error       00%     49892         -
# 4  Short offline       Completed without error       00%     49147         -
# 5  Short offline       Completed without error       00%     48427         -
# 6  Short offline       Completed without error       00%     47375         -
# 7  Short offline       Completed without error       00%     46685         -
# 8  Short offline       Completed without error       00%     45941         -
# 9  Short offline       Completed without error       00%     45221         -
#10  Short offline       Completed without error       00%     44478         -
#11  Short offline       Completed without error       00%     43806         -
#12  Short offline       Completed without error       00%     43062         -
#13  Short offline       Completed without error       00%     42318         -
#14  Short offline       Completed without error       00%     41598         -
#15  Short offline       Completed without error       00%     41042         -
#16  Short offline       Completed without error       00%     40322         -
#17  Short offline       Completed without error       00%     39481         -
#18  Short offline       Completed without error       00%     38760         -
#19  Short offline       Completed without error       00%     38017         -
#20  Short offline       Completed without error       00%     37348         -
#21  Short offline       Completed without error       00%     36250         -

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.
dell@dell-OptiPlex-3020:/var/lib/dpkg$ sudo smartctl -s on -a /dev/sdb
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.0-91-generic] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda XT
Device Model:     ST32000641AS
Serial Number:    9WM3NERY
LU WWN Device Id: 5 000c50 02dc4b0ae
Firmware Version: CC13
User Capacity:    2000398934016 bytes [2,00 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 2.6, 6.0 Gb/s
Local Time is:    Fri Dec 29 09:07:21 2023 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
See vendor-specific Attribute list for marginal 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: 		(  609) 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: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 ( 347) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.

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     0x000f   119   099   006    Pre-fail  Always       -       205783670
  3 Spin_Up_Time            0x0003   100   100   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   083   083   020    Old_age   Always       -       18321
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   078   060   030    Pre-fail  Always       -       70326698
  9 Power_On_Hours          0x0032   054   054   000    Old_age   Always       -       40474
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   099   099   020    Old_age   Always       -       1171
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   074   042   045    Old_age   Always   In_the_past 26 (0 170 26 19 0)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       845
193 Load_Cycle_Count        0x0032   094   094   000    Old_age   Always       -       18396
194 Temperature_Celsius     0x0022   026   058   000    Old_age   Always       -       26 (0 15 0 0 0)
195 Hardware_ECC_Recovered  0x001a   023   016   000    Old_age   Always       -       205783670
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       22322 (230 153 0)
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       1292157383
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       1431662675

SMART Error Log Version: 1
No Errors Logged

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%     38483         -
# 2  Short offline       Completed without error       00%     37870         -
# 3  Short offline       Completed without error       00%     36667         -
# 4  Short offline       Completed without error       00%     35922         -
# 5  Short offline       Completed without error       00%     35202         -
# 6  Short offline       Completed without error       00%     34149         -
# 7  Short offline       Completed without error       00%     33478         -
# 8  Short offline       Completed without error       00%     32733         -
# 9  Short offline       Completed without error       00%     32012         -
#10  Short offline       Completed without error       00%     31269         -
#11  Short offline       Completed without error       00%     30596         -
#12  Short offline       Completed without error       00%     29852         -
#13  Short offline       Completed without error       00%     29107         -
#14  Short offline       Completed without error       00%     28386         -
#15  Short offline       Completed without error       00%     27931         -
#16  Short offline       Completed without error       00%     27210         -
#17  Short offline       Completed without error       00%     26609         -
#18  Short offline       Completed without error       00%     25888         -
#19  Short offline       Completed without error       00%     25346         -
#20  Short offline       Completed without error       00%     25146         -
#21  Short offline       Completed without error       00%     24122         -

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.
dell@dell-OptiPlex-3020:/var/lib/dpkg$ sudo smartctl -s on -a /dev/sdc
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.0-91-generic] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi Deskstar 7K3000
Device Model:     Hitachi HDS723020BLA642
Serial Number:    MN1220F30NHVJD
LU WWN Device Id: 5 000cca 369c952f1
Firmware Version: MN6OA580
User Capacity:    2000398934016 bytes [2,00 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 2.6, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Fri Dec 29 09:07:41 2023 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: 		(19381) 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: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 ( 323) 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: 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     0x000b   100   100   016    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   136   136   054    Pre-fail  Offline      -       83
  3 Spin_Up_Time            0x0007   132   132   024    Pre-fail  Always       -       433 (Average 432)
  4 Start_Stop_Count        0x0012   096   096   000    Old_age   Always       -       18323
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   133   133   020    Pre-fail  Offline      -       27
  9 Power_On_Hours          0x0012   093   093   000    Old_age   Always       -       53714
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       1088
192 Power-Off_Retract_Count 0x0032   085   085   000    Old_age   Always       -       18334
193 Load_Cycle_Count        0x0012   085   085   000    Old_age   Always       -       18334
194 Temperature_Celsius     0x0002   230   230   000    Old_age   Always       -       26 (Min/Max 15/53)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

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%     51713         -
# 2  Short offline       Completed without error       00%     51100         -
# 3  Short offline       Completed without error       00%     49895         -
# 4  Short offline       Completed without error       00%     49150         -
# 5  Short offline       Completed without error       00%     48430         -
# 6  Short offline       Completed without error       00%     47377         -
# 7  Short offline       Completed without error       00%     46688         -
# 8  Short offline       Completed without error       00%     45944         -
# 9  Short offline       Completed without error       00%     45224         -
#10  Short offline       Completed without error       00%     44481         -
#11  Short offline       Completed without error       00%     43809         -
#12  Short offline       Completed without error       00%     43065         -
#13  Short offline       Completed without error       00%     42320         -
#14  Short offline       Completed without error       00%     41600         -
#15  Short offline       Completed without error       00%     41045         -
#16  Short offline       Completed without error       00%     40325         -
#17  Short offline       Completed without error       00%     39483         -
#18  Short offline       Completed without error       00%     38763         -
#19  Short offline       Completed without error       00%     38019         -
#20  Short offline       Completed without error       00%     37351         -
#21  Short offline       Completed without error       00%     36253         -

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.
dell@dell-OptiPlex-3020:/var/lib/dpkg$ sudo smartctl -s on -a /dev/sdd
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.0-91-generic] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda XT
Device Model:     ST32000641AS
Serial Number:    9WM3MA23
LU WWN Device Id: 5 000c50 02dc565b2
Firmware Version: CC13
User Capacity:    2000398934016 bytes [2,00 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 2.6, 6.0 Gb/s
Local Time is:    Fri Dec 29 09:08:05 2023 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
See vendor-specific Attribute list for marginal 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: 		(  625) 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: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 ( 347) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.

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     0x000f   110   099   006    Pre-fail  Always       -       55949701
  3 Spin_Up_Time            0x0003   100   100   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   083   083   020    Old_age   Always       -       18315
  5 Reallocated_Sector_Ct   0x0033   068   068   036    Pre-fail  Always       -       1339
  7 Seek_Error_Rate         0x000f   078   060   030    Pre-fail  Always       -       75459043
  9 Power_On_Hours          0x0032   056   056   000    Old_age   Always       -       39334
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   099   099   020    Old_age   Always       -       1145
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   098   098   000    Old_age   Always       -       2
188 Command_Timeout         0x0032   099   099   000    Old_age   Always       -       4295032833
189 High_Fly_Writes         0x003a   099   099   000    Old_age   Always       -       1
190 Airflow_Temperature_Cel 0x0022   073   043   045    Old_age   Always   In_the_past 27 (0 170 27 20 0)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       2
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       824
193 Load_Cycle_Count        0x0032   094   094   000    Old_age   Always       -       18375
194 Temperature_Celsius     0x0022   027   057   000    Old_age   Always       -       27 (0 15 0 0 0)
195 Hardware_ECC_Recovered  0x001a   020   015   000    Old_age   Always       -       55949701
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       1
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       1
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       22463 (47 152 0)
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       2450629871
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       4169670959

SMART Error Log Version: 1
ATA Error Count: 2
	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 2 occurred at disk power-on lifetime: 39334 hours (1638 days + 22 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:37:15.291  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:37:15.291  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:37:15.290  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:37:15.290  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:37:15.290  READ FPDMA QUEUED

Error 1 occurred at disk power-on lifetime: 39334 hours (1638 days + 22 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 78 ff ff ff 4f 00      00:36:56.683  READ FPDMA QUEUED
  60 00 08 ff ff ff 4f 00      00:36:56.669  READ FPDMA QUEUED
  60 00 80 08 0c 90 40 00      00:36:56.668  READ FPDMA QUEUED
  60 00 18 70 03 90 40 00      00:36:56.659  READ FPDMA QUEUED
  60 00 20 50 03 90 40 00      00:36:56.659  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%     37367         -
# 2  Short offline       Completed without error       00%     36754         -
# 3  Short offline       Completed without error       00%     35550         -
# 4  Short offline       Completed without error       00%     34805         -
# 5  Short offline       Completed without error       00%     34085         -
# 6  Short offline       Completed without error       00%     33033         -
# 7  Short offline       Completed without error       00%     32417         -
# 8  Short offline       Completed without error       00%     31672         -
# 9  Short offline       Completed without error       00%     30952         -
#10  Short offline       Completed without error       00%     30208         -
#11  Short offline       Completed without error       00%     29536         -
#12  Short offline       Completed without error       00%     28791         -
#13  Short offline       Completed without error       00%     28046         -
#14  Short offline       Completed without error       00%     27326         -
#15  Short offline       Completed without error       00%     26822         -
#16  Short offline       Completed without error       00%     26102         -
#17  Short offline       Completed without error       00%     25550         -
#18  Short offline       Completed without error       00%     24829         -
#19  Short offline       Completed without error       00%     24264         -
#20  Short offline       Completed without error       00%     24030         -
#21  Short offline       Completed without error       00%     22982         -

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.

XUbuntu 22.04

Hors ligne

#4 Le 29/12/2023, à 11:20

geole

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

Bonjour
Le disque SDD est en mauvais état. Il mérite d'être viré  du  raid car il a un secteur illisible. Bizarrement les raids exigent   des disques  exempts d'erreur de lecture.
Un seul secteur vient d'être aperçu illisible.

ll@dell-OptiPlex-3020:/var/lib/dpkg$ sudo smartctl -s on -a /dev/sdd
=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda XT
Device Model:     ST32000641AS
Serial Number:    9WM3MA23
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   068   068   036    Pre-fail  Always       -       1339
  9 Power_On_Hours          0x0032   056   056   000    Old_age   Always       -       39334
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       1
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       1
ATA Error Count: 2
Error 2 occurred at disk power-on lifetime: 39334 hours  Error: UNC at LBA = 0x0fffffff = 268435455
Error 1 occurred at disk power-on lifetime: 39334 hours   Error: UNC at LBA = 0x0fffffff = 268435455

La cause du non montage

déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642768 on sde3).
déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642776 on sde3).
déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642784 on sde3).
déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642792 on sde3).
déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642800 on sde3).
déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642808 on sde3).
déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642816 on sde3).
déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642824 on sde3).
déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642832 on sde3).
déc. 28 21:01:33 dell-OptiPlex-3020 kernel: md/raid:md2: read error not correctable (sector 1947642840 on sde3).
déc. 28 21:01:37 dell-OptiPlex-3020 kernel: md/raid:md2: Disk failure on sde3, disabling device.
déc. 28 21:01:37 dell-OptiPlex-3020 kernel: md/raid:md2: Cannot continue operation (2/4 failed).

Je suppose que pour l'éjecter du raids, le logiciel a trouvé l'idée de bousiller la dernière date d'utilisation.

En revanche, je ne vois rien d'anormal pour le disque  SDB.   Il a peut-être une petite anomalie que je ne trouve pas trop grave.

dell@dell-OptiPlex-3020:/var/lib/dpkg$ sudo smartctl -s on -a /dev/sdb
=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda XT
Device Model:     ST32000641AS
Serial Number:    9WM3NERY
User Capacity:    2000398934016 bytes [2,00 TB]
Sector Size:      512 bytes logical/physical
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   054   054   000    Old_age   Always       -       40474[s][/s]
195 Hardware_ECC_Recovered  0x001a   023   016   000    Old_age   Always       -       205783670
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
No Errors Logged

Les deux autres disques sont en bon état
Vu ce que tu déclares avoir fait,   il n'y a pas du y avoir beaucoup d'écritures dans ce raids hier.
Il va  juste falloir trouver comment bien codifier pour que le décalage du disque SDB soit accepté.
Tu peux déjà penser à l'achat d'un nouveau disque pour remplacer le SDD lorsque le RAID sera redevenu utilisable.

Dernière modification par geole (Le 29/12/2023, à 14:24)


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 29/12/2023, à 11:46

geole

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

D'après la documentation RAIDS Paragraphe 6.1
Tu vas tenter cela
mdadm --assemble --run --readonly ...

Si je ne me trompe pas dans la codification,  cela devrait donner
sudo mdapm --stop /dev/md2

sudo mdadm --assemble  --readonly  --verbose  --force --run /dev/md125 /dev/sda3 /dev/sdb3 /dev/sdc3 missing

Si on doit passer à l'étape suivante de la documentation,  par refabrication, tu devras d'abord  dupliquer les trois disques par mesure de sécurité avec l'application ddrescue
J'ai noté cette discussion

AJOUT
Il me semble que les lettres de tes disques sont fluctuantes comme s'ils étaient montés sur support USB
Pour les identifier avec certitude, donne ce retour.

ls -ls /dev/disk/by-id

qui contient les Serial Number listés dans smartctl.

et refais un résumé de situation

for i in a b c d e ; do echo ==== sd$i ==== ;sudo smartctl  -a /dev/sd$i | egrep "Pending|Reallocated|On_Hours"; sudo mdadm --examine "/dev/sd$i"18 |  egrep "Update Time|Events";echo;done

Testdisk ne peut rien faire sur un RAID5 non assemblé

Dernière modification par geole (Le 29/12/2023, à 14:27)


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

#6 Le 29/12/2023, à 14:24

moromain

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

Les 4 DD sont installés sur une carte PCIe raid (c'est tout ce que j'avais en stock pour brancher 4 disques !).
Et effectivement, je me suis rendu compte que ce sont les disques a, b, c et d, et parfois le d est remplacé par le e.

dell@dell-OptiPlex-3020:/var/lib/dpkg$ ls -ls /dev/disk/by-id
total 0
0 lrwxrwxrwx 1 root root  9 déc.  29 09:02 ata-Hitachi_HDS723020BLA642_MN1220F30GAKUD -> ../../sda
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-Hitachi_HDS723020BLA642_MN1220F30GAKUD-part1 -> ../../sda1
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-Hitachi_HDS723020BLA642_MN1220F30GAKUD-part2 -> ../../sda2
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-Hitachi_HDS723020BLA642_MN1220F30GAKUD-part3 -> ../../sda3
0 lrwxrwxrwx 1 root root  9 déc.  29 09:02 ata-Hitachi_HDS723020BLA642_MN1220F30NHVJD -> ../../sdc
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-Hitachi_HDS723020BLA642_MN1220F30NHVJD-part1 -> ../../sdc1
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-Hitachi_HDS723020BLA642_MN1220F30NHVJD-part2 -> ../../sdc2
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-Hitachi_HDS723020BLA642_MN1220F30NHVJD-part3 -> ../../sdc3
0 lrwxrwxrwx 1 root root  9 déc.  29 09:02 ata-ST32000641AS_9WM3MA23 -> ../../sdd
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-ST32000641AS_9WM3MA23-part1 -> ../../sdd1
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-ST32000641AS_9WM3MA23-part2 -> ../../sdd2
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-ST32000641AS_9WM3MA23-part3 -> ../../sdd3
0 lrwxrwxrwx 1 root root  9 déc.  29 09:02 ata-ST32000641AS_9WM3NERY -> ../../sdb
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-ST32000641AS_9WM3NERY-part1 -> ../../sdb1
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-ST32000641AS_9WM3NERY-part2 -> ../../sdb2
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-ST32000641AS_9WM3NERY-part3 -> ../../sdb3
0 lrwxrwxrwx 1 root root  9 déc.  29 09:02 ata-ST500DM002-1BD142_Z6E92V2C -> ../../sde
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-ST500DM002-1BD142_Z6E92V2C-part1 -> ../../sde1
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-ST500DM002-1BD142_Z6E92V2C-part2 -> ../../sde2
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-ST500DM002-1BD142_Z6E92V2C-part3 -> ../../sde3
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-ST500DM002-1BD142_Z6E92V2C-part4 -> ../../sde4
0 lrwxrwxrwx 1 root root  9 déc.  29 09:02 ata-TSSTcorp_DVD+_-RW_SN-208FB_S13L6YAF900QDZ -> ../../sr0
0 lrwxrwxrwx 1 root root  9 déc.  29 09:02 usb-WD_My_Passport_0748_57584C3145393245544E5536-0:0 -> ../../sdf
0 lrwxrwxrwx 1 root root 10 déc.  29 09:33 usb-WD_My_Passport_0748_57584C3145393245544E5536-0:0-part1 -> ../../sdf1
0 lrwxrwxrwx 1 root root  9 déc.  29 09:02 wwn-0x5000c5002dc4b0ae -> ../../sdb
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 wwn-0x5000c5002dc4b0ae-part1 -> ../../sdb1
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 wwn-0x5000c5002dc4b0ae-part2 -> ../../sdb2
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 wwn-0x5000c5002dc4b0ae-part3 -> ../../sdb3
0 lrwxrwxrwx 1 root root  9 déc.  29 09:02 wwn-0x5000c5002dc565b2 -> ../../sdd
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 wwn-0x5000c5002dc565b2-part1 -> ../../sdd1
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 wwn-0x5000c5002dc565b2-part2 -> ../../sdd2
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 wwn-0x5000c5002dc565b2-part3 -> ../../sdd3
0 lrwxrwxrwx 1 root root  9 déc.  29 09:02 wwn-0x5000c50078e95e0d -> ../../sde
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 wwn-0x5000c50078e95e0d-part1 -> ../../sde1
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 wwn-0x5000c50078e95e0d-part2 -> ../../sde2
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 wwn-0x5000c50078e95e0d-part3 -> ../../sde3
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 wwn-0x5000c50078e95e0d-part4 -> ../../sde4
0 lrwxrwxrwx 1 root root  9 déc.  29 09:02 wwn-0x5000cca369c684e4 -> ../../sda
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 wwn-0x5000cca369c684e4-part1 -> ../../sda1
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 wwn-0x5000cca369c684e4-part2 -> ../../sda2
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 wwn-0x5000cca369c684e4-part3 -> ../../sda3
0 lrwxrwxrwx 1 root root  9 déc.  29 09:02 wwn-0x5000cca369c952f1 -> ../../sdc
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 wwn-0x5000cca369c952f1-part1 -> ../../sdc1
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 wwn-0x5000cca369c952f1-part2 -> ../../sdc2
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 wwn-0x5000cca369c952f1-part3 -> ../../sdc3

Depuis le dernier reboot, ce sont à nouveau les disques abc et d !

dell@dell-OptiPlex-3020:/var/lib/dpkg$ sudo mdadm --examine /dev/sd[abcde]3
/dev/sda3:
          Magic : a92b4efc
        Version : 1.1
    Feature Map : 0x0
     Array UUID : 901ea4cb:5e7f3b44:37d055a3:405e18fd
           Name : SynologyDS411:2
  Creation Time : Thu Mar 24 19:01:18 2011
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 3897586617 sectors (1858.51 GiB 1995.56 GB)
     Array Size : 5846379840 KiB (5.44 TiB 5.99 TB)
  Used Dev Size : 3897586560 sectors (1858.51 GiB 1995.56 GB)
    Data Offset : 264 sectors
   Super Offset : 0 sectors
   Unused Space : before=192 sectors, after=57 sectors
          State : clean
    Device UUID : b31df98e:44309591:ce3a385f:0d01f6c5

    Update Time : Thu Dec 28 21:01:37 2023
       Checksum : 3d351d6b - correct
         Events : 769177

         Layout : left-symmetric
     Chunk Size : 64K

   Device Role : Active device 2
   Array State : A.A. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdb3:
          Magic : a92b4efc
        Version : 1.1
    Feature Map : 0x0
     Array UUID : 901ea4cb:5e7f3b44:37d055a3:405e18fd
           Name : SynologyDS411:2
  Creation Time : Thu Mar 24 19:01:18 2011
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 3897586617 sectors (1858.51 GiB 1995.56 GB)
     Array Size : 5846379840 KiB (5.44 TiB 5.99 TB)
  Used Dev Size : 3897586560 sectors (1858.51 GiB 1995.56 GB)
    Data Offset : 264 sectors
   Super Offset : 0 sectors
   Unused Space : before=192 sectors, after=57 sectors
          State : clean
    Device UUID : ec32873f:d2cb8e61:bb256054:1dd0c5c7

    Update Time : Tue Jan  1 05:23:22 2002
       Checksum : 8a9aed02 - correct
         Events : 769164

         Layout : left-symmetric
     Chunk Size : 64K

   Device Role : Active device 3
   Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdc3:
          Magic : a92b4efc
        Version : 1.1
    Feature Map : 0x0
     Array UUID : 901ea4cb:5e7f3b44:37d055a3:405e18fd
           Name : SynologyDS411:2
  Creation Time : Thu Mar 24 19:01:18 2011
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 3897586617 sectors (1858.51 GiB 1995.56 GB)
     Array Size : 5846379840 KiB (5.44 TiB 5.99 TB)
  Used Dev Size : 3897586560 sectors (1858.51 GiB 1995.56 GB)
    Data Offset : 264 sectors
   Super Offset : 0 sectors
   Unused Space : before=192 sectors, after=57 sectors
          State : clean
    Device UUID : 9e8cfb05:173027a6:14c41b2c:b79c5907

    Update Time : Thu Dec 28 21:01:37 2023
       Checksum : d710b115 - correct
         Events : 769177

         Layout : left-symmetric
     Chunk Size : 64K

   Device Role : Active device 0
   Array State : A.A. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdd3:
          Magic : a92b4efc
        Version : 1.1
    Feature Map : 0x0
     Array UUID : 901ea4cb:5e7f3b44:37d055a3:405e18fd
           Name : SynologyDS411:2
  Creation Time : Thu Mar 24 19:01:18 2011
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 3897586617 sectors (1858.51 GiB 1995.56 GB)
     Array Size : 5846379840 KiB (5.44 TiB 5.99 TB)
  Used Dev Size : 3897586560 sectors (1858.51 GiB 1995.56 GB)
    Data Offset : 264 sectors
   Super Offset : 0 sectors
   Unused Space : before=192 sectors, after=57 sectors
          State : active
    Device UUID : 2ad02476:f9b0d655:7506dba8:26b0673b

    Update Time : Thu Dec 28 15:16:31 2023
       Checksum : a7b97a70 - correct
         Events : 769175

         Layout : left-symmetric
     Chunk Size : 64K

   Device Role : Active device 1
   Array State : AAA. ('A' == active, '.' == missing, 'R' == replacing)
mdadm: No md superblock detected on /dev/sde3.



En suivant le fil de la discussion :

dell@dell-OptiPlex-3020:/var/lib/dpkg$ sudo mdadm --stop /dev/md2
[sudo] Mot de passe de dell : 
mdadm: stopped /dev/md2

Pour le code suivant

mdadm --zero-superblock /dev/sd[abc]1

c'est pour forcer la création du superblock ?Il n'y a pas de risque pour les données ?
J'ai bien noté l'usage de ddrescue, mais je n'ai pas 3 ou 4 DD de 2To chacun !


XUbuntu 22.04

Hors ligne

#7 Le 29/12/2023, à 14:33

geole

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

Je ne souhaite pas qu on fasse cette commande tout de suite.   Dans mes essais, cela  peut  ne pas du tout marcher... Reste dans le montage classique avec force.
Le journal a montré des secteurs illisibles non retrouvés dans smartctl. Je crains qu il y ait des mauvais branchements

Mais il faut d abord  bien identifier les disques à monter

for i in a b c d e ; do echo ==== sd$i ==== ;sudo smartctl  -a /dev/sd$i | egrep "Pending|Reallocated|On_Hours"; sudo mdadm --examine "/dev/sd$i"18 |  egrep "Update Time|Events";echo;done

Je récupère déjà des noms.

0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-Hitachi_HDS723020BLA642_MN1220F30GAKUD-part3 -> ../../sda3
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-Hitachi_HDS723020BLA642_MN1220F30NHVJD-part3 -> ../../sdc3
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-ST32000641AS_9WM3NERY-part3 -> ../../sdb3

Le disque avec un secteur illisible Serial Number:    9WM3MA23
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 ata-ST32000641AS_9WM3MA23-part3 -> ../../sdd3
les actives devices        sont dans l ordre      C3     D3  A3 B3
La commande a lancer devrait donc être la suivante

sudo mdadm --assemble  --readonly  --verbose  --force --run /dev/md125  /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30NHVJD-part3  missing /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30GAKUD-part3 /dev/disk/by-id/ata-ST32000641AS_9WM3NERY-part3

Dernière modification par geole (Le 29/12/2023, à 14:52)


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

#8 Le 29/12/2023, à 14:52

moromain

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

geole a écrit :

Mais il faut d abord  bien identifier les disques à monter

for i in a b c d e ; do echo ==== sd$i ==== ;sudo smartctl  -a /dev/sd$i | egrep "Pending|Reallocated|On_Hours"; sudo mdadm --examine "/dev/sd$i"18 |  egrep "Update Time|Events";echo;done
dell@dell-OptiPlex-3020:/var/lib/dpkg$ for i in a b c d e ; do echo ==== sd$i ==== ;sudo smartctl  -a /dev/sd$i | egrep "Pending|Reallocated|On_Hours"; sudo mdadm --examine "/dev/sd$i"18 |  egrep "Update Time|Events";echo;done
==== sda ====
[sudo] Mot de passe de dell : 
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0012   093   093   000    Old_age   Always       -       53717
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
mdadm: cannot open /dev/sda18: No such file or directory

==== sdb ====
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   054   054   000    Old_age   Always       -       40479
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
mdadm: cannot open /dev/sdb18: No such file or directory

==== sdc ====
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0012   093   093   000    Old_age   Always       -       53719
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
mdadm: cannot open /dev/sdc18: No such file or directory

==== sdd ====
  5 Reallocated_Sector_Ct   0x0033   068   068   036    Pre-fail  Always       -       1339
  9 Power_On_Hours          0x0032   056   056   000    Old_age   Always       -       39339
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       1
mdadm: cannot open /dev/sdd18: No such file or directory

==== sde ====
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   086   086   000    Old_age   Always       -       12474
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
mdadm: cannot open /dev/sde18: No such file or directory

XUbuntu 22.04

Hors ligne

#9 Le 29/12/2023, à 14:56

geole

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

Si  on doit sauver, un disque de 6 To peut aussi faire l affaire.

Je crois que mon script a une erreur

for i in a b c d e ; do echo ==== sd$i ==== ;sudo smartctl  -a /dev/sd$i | egrep "Serial|Pending|Reallocated|On_Hours"; sudo mdadm --examine "/dev/sd$i"3 |  egrep "Update Time|Events";echo;done

La commande à lancer devrait donc être la suivante.

sudo mdadm --assemble  --readonly  --verbose  --force --run /dev/md125  /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30NHVJD-part3  missing /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30GAKUD-part3 /dev/disk/by-id/ata-ST32000641AS_9WM3NERY-part3

Dernière modification par geole (Le 29/12/2023, à 15:10)


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

#10 Le 29/12/2023, à 15:05

moromain

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

Voici le retour :

dell@dell-OptiPlex-3020:/var/lib/dpkg$  sudo mdadm --assemble  --readonly  --verbose  --force --run /dev/md125  /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30NHVJD-part3  missing /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30GAKUD-part3 /dev/disk/by-id/ata-ST32000641AS_9WM3NERY-part3
mdadm: looking for devices for /dev/md125
mdadm: cannot open device missing: No such file or directory
mdadm: missing has no superblock - assembly aborted

En tout cas, un grand merci pour ton aide !


XUbuntu 22.04

Hors ligne

#11 Le 29/12/2023, à 15:12

geole

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

On va trouver la cause

journalctl --no-pager -b -g mdadm
ls -ls /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30NHVJD-part3
ls -ls /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30GAKUD-part3 
ls -ls /dev/disk/by-id/ata-ST32000641AS_9WM3NERY-part3

Dernière modification par geole (Le 29/12/2023, à 15: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

Hors ligne

#12 Le 29/12/2023, à 15:16

moromain

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

dell@dell-OptiPlex-3020:/var/lib/dpkg$ journalctl --no-pager -b -g mdadm
déc. 29 13:15:23 dell-OptiPlex-3020 sudo[8659]:     dell : TTY=pts/0 ; PWD=/var/lib/dpkg ; USER=root ; COMMAND=/usr/sbin/mdadm --stop /dev/md2
déc. 29 13:16:46 dell-OptiPlex-3020 sudo[8674]:     dell : TTY=pts/0 ; PWD=/var/lib/dpkg ; USER=root ; COMMAND=/usr/sbin/mdadm --examine /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/sde3
déc. 29 13:19:10 dell-OptiPlex-3020 sudo[8684]:     dell : TTY=pts/0 ; PWD=/var/lib/dpkg ; USER=root ; COMMAND=/usr/sbin/mdadm --examine /dev/sdc3
déc. 29 13:19:16 dell-OptiPlex-3020 sudo[8687]:     dell : TTY=pts/0 ; PWD=/var/lib/dpkg ; USER=root ; COMMAND=/usr/sbin/mdadm --examine /dev/sda3
déc. 29 13:19:19 dell-OptiPlex-3020 sudo[8690]:     dell : TTY=pts/0 ; PWD=/var/lib/dpkg ; USER=root ; COMMAND=/usr/sbin/mdadm --examine /dev/sdb3
déc. 29 13:19:21 dell-OptiPlex-3020 sudo[8693]:     dell : TTY=pts/0 ; PWD=/var/lib/dpkg ; USER=root ; COMMAND=/usr/sbin/mdadm --examine /dev/sdd3
déc. 29 13:21:21 dell-OptiPlex-3020 sudo[8704]:     dell : TTY=pts/0 ; PWD=/var/lib/dpkg ; USER=root ; COMMAND=/usr/sbin/mdadm --examine /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/sdd3 /dev/sde3
déc. 29 13:49:13 dell-OptiPlex-3020 sudo[8814]:     dell : TTY=pts/0 ; PWD=/var/lib/dpkg ; USER=root ; COMMAND=/usr/sbin/mdadm --examine /dev/sda18
déc. 29 13:49:14 dell-OptiPlex-3020 sudo[8822]:     dell : TTY=pts/0 ; PWD=/var/lib/dpkg ; USER=root ; COMMAND=/usr/sbin/mdadm --examine /dev/sdb18
déc. 29 13:49:15 dell-OptiPlex-3020 sudo[8830]:     dell : TTY=pts/0 ; PWD=/var/lib/dpkg ; USER=root ; COMMAND=/usr/sbin/mdadm --examine /dev/sdc18
déc. 29 13:49:15 dell-OptiPlex-3020 sudo[8838]:     dell : TTY=pts/0 ; PWD=/var/lib/dpkg ; USER=root ; COMMAND=/usr/sbin/mdadm --examine /dev/sdd18
déc. 29 13:49:15 dell-OptiPlex-3020 sudo[8846]:     dell : TTY=pts/0 ; PWD=/var/lib/dpkg ; USER=root ; COMMAND=/usr/sbin/mdadm --examine /dev/sde18
déc. 29 14:04:02 dell-OptiPlex-3020 sudo[8949]:     dell : TTY=pts/0 ; PWD=/var/lib/dpkg ; USER=root ; COMMAND=/usr/sbin/mdadm --assemble --readonly --verbose --force --run /dev/md125 /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30NHVJD-part3 missing /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30GAKUD-part3 /dev/disk/by-id/ata-ST32000641AS_9WM3NERY-part3
déc. 29 14:06:06 dell-OptiPlex-3020 sudo[8960]:     dell : TTY=pts/0 ; PWD=/var/lib/dpkg ; USER=root ; COMMAND=/usr/sbin/mdadm --assemble --readonly --verbose --force --run /dev/md2 /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30NHVJD-part3 missing /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30GAKUD-part3 /dev/disk/by-id/ata-ST32000641AS_9WM3NERY-part3
dell@dell-OptiPlex-3020:/var/lib/dpkg$ ls -ls /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30NHVJD-part3
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30NHVJD-part3 -> ../../sdc3
dell@dell-OptiPlex-3020:/var/lib/dpkg$ ls -ls /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30GAKUD-part3 
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30GAKUD-part3 -> ../../sda3
dell@dell-OptiPlex-3020:/var/lib/dpkg$ ls -ls /dev/disk/by-id/ata-ST32000641AS_9WM3NERY-part3
0 lrwxrwxrwx 1 root root 10 déc.  29 09:02 /dev/disk/by-id/ata-ST32000641AS_9WM3NERY-part3 -> ../../sdb3

XUbuntu 22.04

Hors ligne

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

geole

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

Cela serait donc mot missing qui ne lui plait pas.

sudo mdadm --assemble  --readonly  --verbose  --force --run /dev/md125  /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30NHVJD-part3  /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30GAKUD-part3 /dev/disk/by-id/ata-ST32000641AS_9WM3NERY-part3

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

#14 Le 29/12/2023, à 15:26

moromain

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

dell@dell-OptiPlex-3020:/var/lib/dpkg$ sudo mdadm --assemble  --readonly  --verbose  --force --run /dev/md125  /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30NHVJD-part3  /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30GAKUD-part3 /dev/disk/by-id/ata-ST32000641AS_9WM3NERY-part3
[sudo] Mot de passe de dell : 
mdadm: looking for devices for /dev/md125
mdadm: /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30NHVJD-part3 is identified as a member of /dev/md125, slot 0.
mdadm: /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30GAKUD-part3 is identified as a member of /dev/md125, slot 2.
mdadm: /dev/disk/by-id/ata-ST32000641AS_9WM3NERY-part3 is identified as a member of /dev/md125, slot 3.
mdadm: forcing event count in /dev/disk/by-id/ata-ST32000641AS_9WM3NERY-part3(3) from 769164 up to 769177
mdadm: clearing FAULTY flag for device 2 in /dev/md125 for /dev/disk/by-id/ata-ST32000641AS_9WM3NERY-part3
mdadm: Marking array /dev/md125 as 'clean'
mdadm: no uptodate device for slot 1 of /dev/md125
mdadm: added /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30GAKUD-part3 to /dev/md125 as 2
mdadm: added /dev/disk/by-id/ata-ST32000641AS_9WM3NERY-part3 to /dev/md125 as 3
mdadm: added /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F30NHVJD-part3 to /dev/md125 as 0
mdadm: /dev/md125 has been started with 3 drives (out of 4).

J'ai un disque 1.41.10-1354 qui est apparu dans mon gestionnaire de fichiers.

Dernière modification par moromain (Le 29/12/2023, à 15:28)


XUbuntu 22.04

Hors ligne

#15 Le 29/12/2023, à 15:31

geole

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

Pas mal.

mdadm: forcing event count in /dev/disk/by-id/ata-ST32000641AS_9WM3NERY-part3(3) from 769164 up to 769177
mdadm: clearing FAULTY flag for device 2 in /dev/md125 for /dev/disk/by-id/ata-ST32000641AS_9WM3NERY-part3

Donne ce retour

lsblk -fe7 | cat

il ne reste plus qu à le monter

mkdir RAID
sudo mount -v /dev/md125  RAID

et continuer ta sauvegarde
Si tu as des problèmes de montage de ton second disque USB, poste le message dans la discussion.

On pourrait même le basculer en écriture   

sudo mdadm --readwrite /dev/md125 

et dire que le quatrième disque est fichu et est à remplacer.
Mais cela serait mieux d attendre que le remplaçant soit sur place

Dernière modification par geole (Le 29/12/2023, à 15:41)


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

#16 Le 29/12/2023, à 15:36

moromain

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

Heu...

dell@dell-OptiPlex-3020:/var/lib/dpkg$ sudo mount /dev/md125 /mnt/md0
mount: /mnt/md0: échec de l’appel système mount(2) : La structure a besoin d'un nettoyage.

J'ai testé avec un autre point de montage, sans succès.


XUbuntu 22.04

Hors ligne

#17 Le 29/12/2023, à 15:44

moromain

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

dell@dell-OptiPlex-3020:/var/lib/dpkg$ lsblk -fe7 | cat
NAME      FSTYPE            FSVER  LABEL           UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                                                    
├─sda1    linux_raid_member 0.90.0                 4a86f02d-1d67-57fa-3017-a5a8c86610be                
├─sda2    linux_raid_member 0.90.0                 531b5aa2-747a-e782-3017-a5a8c86610be                
└─sda3    linux_raid_member 1.1    SynologyDS411:2 901ea4cb-5e7f-3b44-37d0-55a3405e18fd                
  └─md125 ext4              1.0    1.41.10-1354    907f8c64-84df-430a-8986-09f0ee1b9147                
sdb                                                                                                    
├─sdb1    linux_raid_member 0.90.0                 4a86f02d-1d67-57fa-3017-a5a8c86610be                
├─sdb2    linux_raid_member 0.90.0                 531b5aa2-747a-e782-3017-a5a8c86610be                
└─sdb3    linux_raid_member 1.1    SynologyDS411:2 901ea4cb-5e7f-3b44-37d0-55a3405e18fd                
  └─md125 ext4              1.0    1.41.10-1354    907f8c64-84df-430a-8986-09f0ee1b9147                
sdc                                                                                                    
├─sdc1    linux_raid_member 0.90.0                 4a86f02d-1d67-57fa-3017-a5a8c86610be                
├─sdc2    linux_raid_member 0.90.0                 531b5aa2-747a-e782-3017-a5a8c86610be                
└─sdc3    linux_raid_member 1.1    SynologyDS411:2 901ea4cb-5e7f-3b44-37d0-55a3405e18fd                
  └─md125 ext4              1.0    1.41.10-1354    907f8c64-84df-430a-8986-09f0ee1b9147                
sdd                                                                                                    
├─sdd1    linux_raid_member 0.90.0                 4a86f02d-1d67-57fa-3017-a5a8c86610be                
├─sdd2    linux_raid_member 0.90.0                 531b5aa2-747a-e782-3017-a5a8c86610be                
└─sdd3    linux_raid_member 1.1    SynologyDS411:2 901ea4cb-5e7f-3b44-37d0-55a3405e18fd                
sde                                                                                                    
├─sde1    swap              1                      311b8939-f1ac-4ed0-98c9-4cc5ff7e6daf                [SWAP]
├─sde2    vfat              FAT32                  D9E4-F3AD                              92,4M     6% /boot/efi
├─sde3    ext4              1.0                    e007a364-5991-4e50-8fde-58263c79c8cf   18,5G    30% /
└─sde4    ext4              1.0                    976d31af-d548-4c84-b504-d1489a513312  384,6G     0% /home
sr0 

XUbuntu 22.04

Hors ligne

#18 Le 29/12/2023, à 15:45

moromain

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

On pourrait même le basculer en écriture   

sudo mdadm --readwrite /dev/md125 

et dire que le quatrième disque est fichu et est à remplacer.

Ça marche !


XUbuntu 22.04

Hors ligne

#19 Le 29/12/2023, à 15:54

geole

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

Les 4 DD sont installés sur une carte PCIe raid (c'est tout ce que j'avais en stock pour brancher 4 disques !).
Et effectivement, je me suis rendu compte que ce sont les disques a, b, c et d, et parfois le d est remplacé par le e.

Mon avis est que tu as des problèmes avec cette carte.
Il semble  qu'elle perde la  présence  d'un disque.   Du coup le logiciel râle en disant que plein de secteurs consécutifs sont illisibles.    Elle  finit par retrouver le disque et  le logiciel l'alloue avec une autre lettre. Mais dans l'intervalle,  mdadm a déclaré  que le RAID  n'avait plus assez de disques puisque déjà un  est H.S.

A propos de ce disque avec un  seul secteur  illisible, il y en a déjà eu pas mal de très difficiles à lire   et il commence à bien se fatiguer.

  5 Reallocated_Sector_Ct   0x0033   068   068   036    Pre-fail  Always       -       1339
  9 Power_On_Hours          0x0032   056   056   000    Old_age   Always       -       39334

Perte d'un secteur toutes les 30 heures environ (39334/1339
Déjà 1139 secteurs de remplacés et plus que 1339/(100-68)*(68-36)  soit  aussi 1139 en réserve avant que le disque soit déclaré failling.

Dernière modification par geole (Le 29/12/2023, à 17: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

Hors ligne

#20 Le 29/12/2023, à 15:56

geole

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

moromain a écrit :

Heu...

dell@dell-OptiPlex-3020:/var/lib/dpkg$ sudo mount /dev/md125 /mnt/md0
mount: /mnt/md0: échec de l’appel système mount(2) : La structure a besoin d'un nettoyage.

J'ai testé avec un autre point de montage, sans succès.

sudo fsck  /dev/md125

En apparté:   Ta partition /home semble vide. Donne ce retour

df -Htext4

Dernière modification par geole (Le 29/12/2023, à 16:01)


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

#21 Le 29/12/2023, à 16:00

moromain

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

geole a écrit :
sudo fsck  /dev/md125

Il m'est demandé d'effacer l'index Htree. Je valide ?


XUbuntu 22.04

Hors ligne

#22 Le 29/12/2023, à 16:11

geole

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

https://en.wikipedia.org/wiki/HTree
Cela fait peur.
Dans un premier temps , je dirais non. quitte à relancer le fsck plus tard
Je regarde dans internet. Pour cela, il faudrait que tu donnes le message exact.

Dernière modification par geole (Le 29/12/2023, à 16: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

Hors ligne

#23 Le 29/12/2023, à 16:13

moromain

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

J'ai répondu "non" à toutes les questions ! Mais la liste des questions est longue !

dell@dell-OptiPlex-3020:/var/lib/dpkg$ sudo fsck  /dev/md125
fsck de util-linux 2.37.2
e2fsck 1.46.5 (30-Dec-2021)
exet2fs_check_desc: Descripteur de groupe corrompu : bloc invalide pour le bitmap d'i-noeuds
fsck.ext4 : Les descripteurs de groupe semblent en mauvais état... tentons d'utiliser les blocs de sauvetage...
le drapeau needs_recovery n'est pas activé, mais le journal contient des données.
Le drapeau de récupération n'est pas activé dans le superbloc de secours, le journal sera donc quand même exécuté.
1.41.10-1354 : récupération du journal
Passe 1 : vérification des i-noeuds, des blocs et des tailles
l'i-noeud 30 a le drapeau INDEX_FL activé sur le système de fichiers sans support des htrees.
Effacer l'index HTree<o>? non
l'i-noeud 1143 a le drapeau INDEX_FL activé sur le système de fichiers sans support des htrees.
Effacer l'index HTree<o>? non
l'i-noeud 1553 a le drapeau INDEX_FL activé sur le système de fichiers sans support des htrees.
Effacer l'index HTree<o>? non
L'arbre d'extent de l'i-noeud 1966222 (au niveau 1) pourrait être plus court.  Optimiser<o>? non
L'arbre d'extent de l'i-noeud 2884043 (au niveau 1) pourrait être plus court.  Optimiser<o>? non
l'i-noeud 3021827 a le drapeau INDEX_FL activé sur le système de fichiers sans support des htrees.
Effacer l'index HTree<o>? non
L'arbre d'extent de l'i-noeud 3538968 (au niveau 1) pourrait être plus court.  Optimiser<o>? non
L'arbre d'extent de l'i-noeud 3539039 (au niveau 1) pourrait être plus court.  Optimiser<o>? non
L'arbre d'extent de l'i-noeud 3539050 (au niveau 1) pourrait être plus court.  Optimiser<o>? non
L'arbre d'extent de l'i-noeud 3671103 (au niveau 1) pourrait être plus court.  Optimiser<o>? non
l'i-noeud 4063271 a le drapeau INDEX_FL activé sur le système de fichiers sans support des htrees.
Effacer l'index HTree<o>? non
L'arbre d'extent de l'i-noeud 4194492 (au niveau 1) pourrait être plus court.  Optimiser<o>? non
nL'arbre d'extent de l'i-noeud 4456688 (au niveau 1) pourrait être plus court.  Optimiser<o>? non

XUbuntu 22.04

Hors ligne

#24 Le 29/12/2023, à 16:15

moromain

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

Effacer l'index HTree<o>? non
nl'i-noeud 28710564 a le drapeau INDEX_FL activé sur le système de fichiers sans support des htrees.
Effacer l'index HTree<o>? non
des i-noeuds qui faisaient partie d'une liste chaînée d'orphelins corrompue ont été repérés.  Corriger<o>? non
l'i-noeud 28711985 fait partie de la liste des i-noeuds orphelins.  IGNORÉ.
l'i-noeud 28711985 a le drapeau casefold activé mais n'est pas un répertoire.  Effacer le drapeau<o>? non
le répertoire <28711985> a le drapeau casefold, mais la
fonctionalité casefold n'est pas activée.  Effacer le drapeau<o>? non
l'i-noeud 28711985 est utilisé, mais a un dtime.  Corriger<o>? non
l'i-noeud 28711985 a un drapeau imagic activé.  Effacer<o>? non
I-noeud 28711985, i_blocs est 33886184, devrait être 0.  Corriger<o>? non
l'i-noeud 28712001 fait partie de la liste des i-noeuds orphelins.  IGNORÉ.
l'i-noeud 28712001 a le drapeau casefold activé mais n'est pas un répertoire.  Effacer le drapeau<o>? non
le répertoire <28712001> a le drapeau casefold, mais la
fonctionalité casefold n'est pas activée.  Effacer le drapeau<o>? non
L'i-noeud 28712001 semble avec des données en ligne mais le drapeau d'extent est positionné.
Corriger<o>? non
L'i-noeud 28712001 a des données en ligne et le drapeau d'extent positionné mais l'i_block contient des déchets.
Effacer l'i-noeud<o>? non
L'i-noeud 28712001 a le drapeau INLINE_DATA_FL activé sur le système de fichiers sans support des données en ligne.
Effacer<o>? non
l'i-noeud 28712001 est utilisé, mais a un dtime.  Corriger<o>? non
l'i-noeud 28712001 a un drapeau imagic activé.  Effacer<o>? non
l'i-noeud 28712001 a une taille extra (17732) qui est invalide
Corriger<o>? non
l'i-noeud 28712001 a un mauvais bloc 1081369711 d'attribut étendu.  Effacer<o>? non
le bloc 1081369711 d'attribut étendu a h_blocks > 1.  Effacer<o>? non
l'i-noeud 28712001 a une valeur d'attribut étendu i-noeud 1941124507 illégal.
Effacer<o>? non
l'i-noeud 28712001 a une valeur d'attribut étendu i-noeud 3666726336 illégal.
Effacer<o>? 

XUbuntu 22.04

Hors ligne

#25 Le 29/12/2023, à 16:17

moromain

Re : [Résolu] Montage RAID 5 "out of date" + "read error not correctable"

Pour Htree, dans cette discussion, il est conseillé d'accepter les modifications.


XUbuntu 22.04

Hors ligne