yatoula
16/12/2013, 16h55
Disk /dev/md2 doesn't contain a valid partition table
Disk /dev/md2 doesn't contain a valid partition table
fdisk -l Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 1306 10485760+ fd Linux raid autodetect /dev/sda2 1306 121536 965746688 fd Linux raid autodetect /dev/sda3 121536 121601 525536 82 Linux swap / Solaris Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 * 1 1306 10485760+ fd Linux raid autodetect /dev/sdb2 1306 121536 965746688 fd Linux raid autodetect /dev/sdb3 121536 121601 525536 82 Linux swap / Solaris Disk /dev/md2: 988.9 GB, 988924542976 bytes 2 heads, 4 sectors/track, 241436656 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk /dev/md2 doesn't contain a valid partition table Disk /dev/md1: 10.7 GB, 10737352704 bytes 2 heads, 4 sectors/track, 2621424 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk /dev/md1 doesn't contain a valid partition table
CPU
Type : Intel(R) Xeon(R) CPU E5-1650 0...
Vitesse : 3201.000 MHz
Cache : 12288 KB
Nombre : 12
Disques durs
IO : md0
Volume Type Capacité totale Etat
vol0 raid1 1776.7 GB active
sdc1 1776.7 GB OK
sdd1 1776.7 GB OK
IO : md1
Volume Type Capacité totale Etat
vol0 raid1 10.0 GB active
sda1 10.0 GB
sdb1 10.0 GB OK
IO : md2
Volume Type Capacité totale Etat
vol0 raid1 269.0 GB active
sda2 269.0 GB OK
sdb2 269.0 GB OK
sfdisk -d /dev/sdb | sfdisk --force /dev/sda
1.) Installation de MDADM
La suite des logiciels MDADM n'est pas installé par défaut sur certains serveurs.
En release 1:
4.) ADD d'un disque en mode dégradé
Nous allons faire pareil sur md2:
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty]
md1 : active raid1 sdb1[1] sda1[0]
10485696 blocks [2/2] [UU]
md2 : active raid1 sdb2[1] sda2[0]
965746624 blocks [2/2] [UU]
unused devices:
Si ton serveur a du RAID, il faudra reconstruire le raid à partir de l'autre disque.
smartctl --all /dev/sda
ATA Standard is: ATA-8-ACS revision 4 Local Time is: Sun Dec 15 22:51:42 2013 CET 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: ( 575) 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: ( 113) 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 108 090 006 Pre-fail Always - 232638192 3 Spin_Up_Time 0x0003 097 097 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 16 5 Reallocated_Sector_Ct 0x0033 099 099 036 Pre-fail Always - 1656 7 Seek_Error_Rate 0x000f 083 060 030 Pre-fail Always - 224198325 9 Power_On_Hours 0x0032 086 086 000 Old_age Always - 12509 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 15 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 001 001 000 Old_age Always - 1011 188 Command_Timeout 0x0032 100 100 000 Old_age Always - 4295163907 189 High_Fly_Writes 0x003a 091 091 000 Old_age Always - 9 190 Airflow_Temperature_Cel 0x0022 078 056 045 Old_age Always - 22 (Min/Max 17/24) 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 - 14 193 Load_Cycle_Count 0x0032 085 085 000 Old_age Always - 31797 194 Temperature_Celsius 0x0022 022 044 000 Old_age Always - 22 (0 16 0 0 0) 197 Current_Pending_Sector 0x0012 100 001 000 Old_age Always - 1 198 Offline_Uncorrectable 0x0010 100 001 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 - 40943923245226 241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 13954225751722 242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 102823663466236 SMART Error Log Version: 1 ATA Error Count: 985 (device log contains only the most recent five errors) CR = Command Register [HEX] FR = Features Register [HEX] SC = Sector Count Register [HEX] SN = Sector Number Register [HEX] CL = Cylinder Low Register [HEX] CH = Cylinder High Register [HEX] DH = Device/Head Register [HEX] DC = Device Command Register [HEX] ER = Error register [HEX] ST = Status register [HEX] Powered_Up_Time is measured from power on, and printed as DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes, SS=sec, and sss=millisec. It "wraps" after 49.710 days. Error 985 occurred at disk power-on lifetime: 12493 hours (520 days + 13 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 60 00 00 ff ff ff 4f 00 19d+13:31:00.285 READ FPDMA QUEUED ef 10 02 00 00 00 a0 00 19d+13:31:00.285 SET FEATURES [Reserved for Serial ATA] 27 00 00 00 00 00 e0 00 19d+13:31:00.285 READ NATIVE MAX ADDRESS EXT ec 00 00 00 00 00 a0 00 19d+13:31:00.285 IDENTIFY DEVICE ef 03 46 00 00 00 a0 00 19d+13:31:00.285 SET FEATURES [Set transfer mode] Error 984 occurred at disk power-on lifetime: 12493 hours (520 days + 13 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 60 00 00 ff ff ff 4f 00 19d+13:30:55.299 READ FPDMA QUEUED 60 00 00 ff ff ff 4f 00 19d+13:30:55.298 READ FPDMA QUEUED ef 10 02 00 00 00 a0 00 19d+13:30:55.298 SET FEATURES [Reserved for Serial ATA] 27 00 00 00 00 00 e0 00 19d+13:30:55.298 READ NATIVE MAX ADDRESS EXT ec 00 00 00 00 00 a0 00 19d+13:30:55.298 IDENTIFY DEVICE Error 983 occurred at disk power-on lifetime: 12493 hours (520 days + 13 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 60 00 00 ff ff ff 4f 00 19d+13:30:52.326 READ FPDMA QUEUED 60 00 00 ff ff ff 4f 00 19d+13:30:52.326 READ FPDMA QUEUED ef 10 02 00 00 00 a0 00 19d+13:30:52.325 SET FEATURES [Reserved for Serial ATA] 27 00 00 00 00 00 e0 00 19d+13:30:52.325 READ NATIVE MAX ADDRESS EXT ec 00 00 00 00 00 a0 00 19d+13:30:52.325 IDENTIFY DEVICE Error 982 occurred at disk power-on lifetime: 12493 hours (520 days + 13 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 60 00 00 ff ff ff 4f 00 19d+13:30:45.730 READ FPDMA QUEUED 60 00 00 ff ff ff 4f 00 19d+13:30:45.730 READ FPDMA QUEUED ef 10 02 00 00 00 a0 00 19d+13:30:45.730 SET FEATURES [Reserved for Serial ATA] 27 00 00 00 00 00 e0 00 19d+13:30:45.730 READ NATIVE MAX ADDRESS EXT ec 00 00 00 00 00 a0 00 19d+13:30:45.729 IDENTIFY DEVICE Error 981 occurred at disk power-on lifetime: 12493 hours (520 days + 13 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 60 00 00 ff ff ff 4f 00 19d+13:30:42.767 READ FPDMA QUEUED 60 00 00 ff ff ff 4f 00 19d+13:30:42.767 READ FPDMA QUEUED ef 10 02 00 00 00 a0 00 19d+13:30:42.766 SET FEATURES [Reserved for Serial ATA] 27 00 00 00 00 00 e0 00 19d+13:30:42.766 READ NATIVE MAX ADDRESS EXT ec 00 00 00 00 00 a0 00 19d+13:30:42.766 IDENTIFY DEVICE 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% 15 - # 2 Short offline Completed without error 00% 10 - # 3 Short offline Completed without error 00% 10 - # 4 Short offline Completed without error 00% 2 - SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay.
This email was generated by the smartd daemon running on:
host name: ns30xxxxxx6.ovh.net
DNS domain: ovh.net
NIS domain: (none)
The following warning/error was logged by the smartd daemon:
Device: /dev/sda [SAT], 65512 Currently unreadable (pending) sectors
For details see host's SYSLOG.
You can also use the smartctl utility for further investigation.
No additional email messages about this problem will be sent.