Salut,
Quelles seraient les commandes à taper pour vérifier le bon fonctionnement du disque, et éventuellement le reconstruire ?
J’ai vu ce sujet : raid-1-degradedarray-event-on-dev-md-0-t44798.html
Donc j’ai lancé une partie des commandes pour vérifier (voir première message) et ensuite les commandes pour reconstruire
root@ns1:/home/XX# mdadm -E /dev/sdb4
mdadm: No md superblock detected on /dev/sdb4.
root@ns1:/home/XX# mdadm /dev/md4 -r /dev/sdb4
mdadm: hot remove failed for /dev/sdb4: No such device or address
root@ns1:/home/XX# mdadm /dev/md4 -f /dev/sdb4
mdadm: set device faulty failed for /dev/sdb4: No such device
root@ns1:/home/XX# mdadm --assemble --force /dev/md4 /dev/sdb4
mdadm: no recogniseable superblock on /dev/sdb4
mdadm: /dev/sdb4 has no superblock - assembly aborted
[code]root@ns1:/home/XX# smartctl -a /dev/sdb
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.10.23-xxxx-std-ipv6-64] (local build)
Copyright © 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Short INQUIRY response, skip product id
A mandatory SMART command failed: exiting. To continue, add one or more ‘-T permissive’ options.
root@ns1:/home/XX# y SMART command failed: exiting. To continue, add one or more ‘-T permissive’ options.
bash: y : commande introuvable
root@ns1:/home/tantang# smartctl -a /dev/sda
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.10.23-xxxx-std-ipv6-64] (local build)
Copyright © 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Device Model: ST2000DM001-1CH164
Serial Number: W2F0KQVC
LU WWN Device Id: 5 000c50 05c7048ea
Firmware Version: CC43
User Capacity: 2 000 398 934 016 bytes [2,00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 8
ATA Standard is: ATA-8-ACS revision 4
Local Time is: Fri Sep 4 11:46:04 2015 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (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: ( 600) seconds.
Offline data collection
capabilities: (0x73) SMART execute Offline immediate.
Auto Offline data collection on/off 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: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 255) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x3085) SCT Status supported.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 112 099 006 Pre-fail Always - 44128360
3 Spin_Up_Time 0x0003 091 091 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 25
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 069 060 030 Pre-fail Always - 167825230863
9 Power_On_Hours 0x0032 076 076 000 Old_age Always - 21071
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 25
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 065 052 045 Old_age Always - 35 (Min/Max 18/48)
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 - 25
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 43
194 Temperature_Celsius 0x0022 035 048 000 Old_age Always - 35 (0 18 0 0)
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 - 29661044167239
241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 46052504755
242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 111989991921
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% 6298 -
2 Short offline Completed without error 00% 6290 -
3 Short offline Completed without error 00% 6290 -
4 Short offline Completed without error 00% 1020 -
5 Short offline Completed without error 00% 1008 -
6 Short offline Completed without error 00% 1008 -
7 Short offline Completed without error 00% 1006 -
8 Short offline Completed without error 00% 33 -
9 Short offline Completed without error 00% 21 -
#10 Short offline Completed without error 00% 21 -
#11 Short offline Completed without error 00% 0 -
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.
[/code]
Malheureusement je reste bloqué et perdu par ce qu’il faut faire, et surtout je n’ai pas envie de faire de conneries 