From: Thomas MARCHESSEAU <marchesseau@gmail.com>
To: linux-raid@vger.kernel.org
Cc: Roger Heflin <rogerheflin@gmail.com>, Phil Turmel <philip@turmel.org>
Subject: Re: RAID 5 "magicaly" become a RAID0
Date: Mon, 13 Apr 2015 10:55:27 +0200 [thread overview]
Message-ID: <D15148A7.3B83B%marchesseau@gmail.com> (raw)
In-Reply-To: <552B0B58.8050102@turmel.org>
Hi all,
Thanks a lot for your time. I appreciate .
Immediate Feedback (with jet lag :) -
Roger,
I’ve already forced the —- assemble, just forget to write it , no more
mdadm --assemble --force /dev/md127 /dev/sdb /dev/sdc /dev/sdd /dev/sde
/dev/sdf /dev/sdg /dev/sdh
mdadm: /dev/md127 assembled from 5 drives - not enough to start the array.
I’ll move to raid6 , that was my 1st choice, but i didn’t build it
Phil,
Md0 .. I got the point, I will use it again to avoid mistakes
==============
OUTPUT of : or x in /dev/sd[b-h] ; do mdadm -E $x ; smartctl -iA -l scterc
$x ; done > report.txt
/dev/sdb:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : e0890308:1fd11c2e:138b5542:4b5cdc62
Name : Cerebro:0 (local to host Cerebro)
Creation Time : Sat Feb 7 23:02:47 2015
Raid Level : raid5
Raid Devices : 7
Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
Array Size : 11720300544 (11177.35 GiB 12001.59 GB)
Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=176 sectors
State : clean
Device UUID : 3c496797:3cf85a2f:295fbd9b:2e077213
Internal Bitmap : 8 sectors from superblock
Update Time : Sun Apr 12 06:10:59 2015
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : 15dbf80e - correct
Events : 21958
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 5
Array State : AAAA.A. ('A' == active, '.' == missing, 'R' == replacing)
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.16.0-34-generic] (local
build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital RE4 (SATA 6Gb/s)
Device Model: WDC WD2000FYYZ-01UL1B1
Serial Number: WD-WCC1P1091161
LU WWN Device Id: 5 0014ee 25ee4fcd6
Firmware Version: 01.01K02
User Capacity: 2,000,398,934,016 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 (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Mon Apr 13 10:03:15 2015 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Disabled
SMART Disabled. Use option -s with argument 'on' to enable it.
(override with '-T permissive' option)
--------------------------------------------------------------
/dev/sdc:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : e0890308:1fd11c2e:138b5542:4b5cdc62
Name : Cerebro:0 (local to host Cerebro)
Creation Time : Sat Feb 7 23:02:47 2015
Raid Level : raid5
Raid Devices : 7
Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
Array Size : 11720300544 (11177.35 GiB 12001.59 GB)
Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=176 sectors
State : clean
Device UUID : 8df5ff53:7e7b70cd:8f4f00f1:62d06766
Internal Bitmap : 8 sectors from superblock
Update Time : Sun Apr 12 06:10:59 2015
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : 18c2e134 - correct
Events : 21958
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 0
Array State : AAAA.A. ('A' == active, '.' == missing, 'R' == replacing)
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.16.0-34-generic] (local
build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital RE4 (SATA 6Gb/s)
Device Model: WDC WD2000FYYZ-01UL1B1
Serial Number: WD-WCC1P1097832
LU WWN Device Id: 5 0014ee 2b4399815
Firmware Version: 01.01K02
User Capacity: 2,000,398,934,016 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 (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Mon Apr 13 10:03:15 2015 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Disabled
SMART Disabled. Use option -s with argument 'on' to enable it.
(override with '-T permissive' option)
--------------------------------------------------------------
/dev/sdd:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : e0890308:1fd11c2e:138b5542:4b5cdc62
Name : Cerebro:0 (local to host Cerebro)
Creation Time : Sat Feb 7 23:02:47 2015
Raid Level : raid5
Raid Devices : 7
Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
Array Size : 11720300544 (11177.35 GiB 12001.59 GB)
Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=176 sectors
State : clean
Device UUID : ce00382c:1af27788:009df454:44e23f65
Internal Bitmap : 8 sectors from superblock
Update Time : Sun Apr 12 06:10:59 2015
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : ecec264 - correct
Events : 21958
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 1
Array State : AAAA.A. ('A' == active, '.' == missing, 'R' == replacing)
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.16.0-34-generic] (local
build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital RE4 (SATA 6Gb/s)
Device Model: WDC WD2000FYYZ-01UL1B1
Serial Number: WD-WCC1P1097658
LU WWN Device Id: 5 0014ee 2098fea8e
Firmware Version: 01.01K02
User Capacity: 2,000,398,934,016 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 (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Mon Apr 13 10:03:16 2015 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Disabled
SMART Disabled. Use option -s with argument 'on' to enable it.
(override with '-T permissive' option)
--------------------------------------------------------------
/dev/sde:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : e0890308:1fd11c2e:138b5542:4b5cdc62
Name : Cerebro:0 (local to host Cerebro)
Creation Time : Sat Feb 7 23:02:47 2015
Raid Level : raid5
Raid Devices : 7
Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
Array Size : 11720300544 (11177.35 GiB 12001.59 GB)
Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=176 sectors
State : clean
Device UUID : c31958a3:769ae8c1:c610013a:8ac4ced9
Internal Bitmap : 8 sectors from superblock
Update Time : Sun Apr 12 06:10:59 2015
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : 18fad9c3 - correct
Events : 21958
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 2
Array State : AAAA.A. ('A' == active, '.' == missing, 'R' == replacing)
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.16.0-34-generic] (local
build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital RE4 (SATA 6Gb/s)
Device Model: WDC WD2000FYYZ-01UL1B1
Serial Number: WD-WCC1P1111248
LU WWN Device Id: 5 0014ee 2b43abede
Firmware Version: 01.01K02
User Capacity: 2,000,398,934,016 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 (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Mon Apr 13 10:03:16 2015 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED
WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always
- 0
3 Spin_Up_Time 0x0027 174 169 021 Pre-fail Always
- 6266
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always
- 45
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always
- 0
7 Seek_Error_Rate 0x002e 100 253 000 Old_age Always
- 0
9 Power_On_Hours 0x0032 089 089 000 Old_age Always
- 8298
10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always
- 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always
- 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always
- 43
183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always
- 0
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always
- 30
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always
- 14
194 Temperature_Celsius 0x0022 101 092 000 Old_age Always
- 49
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always
- 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always
- 0
198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline
- 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always
- 0
200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline
- 0
SCT Error Recovery Control:
Read: 70 (7.0 seconds)
Write: 70 (7.0 seconds)
--------------------------------------------------------------
/dev/sdf:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : e0890308:1fd11c2e:138b5542:4b5cdc62
Name : Cerebro:0 (local to host Cerebro)
Creation Time : Sat Feb 7 23:02:47 2015
Raid Level : raid5
Raid Devices : 7
Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
Array Size : 11720300544 (11177.35 GiB 12001.59 GB)
Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=176 sectors
State : clean
Device UUID : 486831b4:ce34ac6f:c5f43616:8042099d
Internal Bitmap : 8 sectors from superblock
Update Time : Sun Apr 12 06:10:59 2015
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : 77082495 - correct
Events : 21958
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 3
Array State : AAAA.A. ('A' == active, '.' == missing, 'R' == replacing)
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.16.0-34-generic] (local
build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital RE4 (SATA 6Gb/s)
Device Model: WDC WD2000FYYZ-01UL1B1
Serial Number: WD-WCC1P1107956
LU WWN Device Id: 5 0014ee 2b4399801
Firmware Version: 01.01K02
User Capacity: 2,000,398,934,016 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 (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Mon Apr 13 10:03:16 2015 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED
WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always
- 0
3 Spin_Up_Time 0x0027 178 173 021 Pre-fail Always
- 6058
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always
- 43
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always
- 0
7 Seek_Error_Rate 0x002e 100 253 000 Old_age Always
- 0
9 Power_On_Hours 0x0032 089 089 000 Old_age Always
- 8297
10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always
- 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always
- 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always
- 42
183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always
- 0
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always
- 29
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always
- 13
194 Temperature_Celsius 0x0022 103 094 000 Old_age Always
- 47
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always
- 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always
- 0
198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline
- 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always
- 0
200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline
- 0
SCT Error Recovery Control:
Read: 70 (7.0 seconds)
Write: 70 (7.0 seconds)
--------------------------------------------------------------
/dev/sdg:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : e0890308:1fd11c2e:138b5542:4b5cdc62
Name : Cerebro:0 (local to host Cerebro)
Creation Time : Sat Feb 7 23:02:47 2015
Raid Level : raid5
Raid Devices : 7
Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
Array Size : 11720300544 (11177.35 GiB 12001.59 GB)
Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=176 sectors
State : clean
Device UUID : fd209577:7efc364a:aae51364:230eefcd
Internal Bitmap : 8 sectors from superblock
Update Time : Sun Apr 12 06:09:14 2015
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : 93c0611b - correct
Events : 21954
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 4
Array State : AAAAAAA ('A' == active, '.' == missing, 'R' == replacing)
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.16.0-34-generic] (local
build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital RE4 (SATA 6Gb/s)
Device Model: WDC WD2000FYYZ-01UL1B1
Serial Number: WD-WCC1P1164520
LU WWN Device Id: 5 0014ee 2b4562c3e
Firmware Version: 01.01K02
User Capacity: 2,000,398,934,016 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 (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Mon Apr 13 10:03:16 2015 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED
WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always
- 0
3 Spin_Up_Time 0x0027 170 165 021 Pre-fail Always
- 6466
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always
- 43
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always
- 0
7 Seek_Error_Rate 0x002e 100 253 000 Old_age Always
- 0
9 Power_On_Hours 0x0032 089 089 000 Old_age Always
- 8298
10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always
- 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always
- 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always
- 42
183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always
- 0
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always
- 29
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always
- 13
194 Temperature_Celsius 0x0022 105 092 000 Old_age Always
- 45
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always
- 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always
- 0
198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline
- 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always
- 0
200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline
- 0
SCT Error Recovery Control:
Read: 70 (7.0 seconds)
Write: 70 (7.0 seconds)
--------------------------------------------------------------
/dev/sdh:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : e0890308:1fd11c2e:138b5542:4b5cdc62
Name : Cerebro:0 (local to host Cerebro)
Creation Time : Sat Feb 7 23:02:47 2015
Raid Level : raid5
Raid Devices : 7
Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
Array Size : 11720300544 (11177.35 GiB 12001.59 GB)
Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=176 sectors
State : clean
Device UUID : b1146034:7d8ab0e5:3c975a91:8f786829
Internal Bitmap : 8 sectors from superblock
Update Time : Sun Apr 12 06:09:14 2015
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : 74c4fecf - correct
Events : 21954
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 6
Array State : AAAAAAA ('A' == active, '.' == missing, 'R' == replacing)
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.16.0-34-generic] (local
build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital RE4 (SATA 6Gb/s)
Device Model: WDC WD2000FYYZ-01UL1B1
Serial Number: WD-WCC1P1154279
LU WWN Device Id: 5 0014ee 25f0218e4
Firmware Version: 01.01K02
User Capacity: 2,000,398,934,016 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 (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Mon Apr 13 10:03:16 2015 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED
WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always
- 0
3 Spin_Up_Time 0x0027 170 170 021 Pre-fail Always
- 6491
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always
- 18
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always
- 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always
- 0
9 Power_On_Hours 0x0032 098 098 000 Old_age Always
- 1534
10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always
- 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always
- 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always
- 18
183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always
- 0
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always
- 12
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always
- 5
194 Temperature_Celsius 0x0022 106 100 000 Old_age Always
- 44
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always
- 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always
- 0
198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline
- 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always
- 0
200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline
- 0
SCT Error Recovery Control:
Read: 70 (7.0 seconds)
Write: 70 (7.0 seconds)
--------------------------------------------------------------
Regards,
Thomas
Le 13/04/15 02:18, « Phil Turmel » <philip@turmel.org> a écrit :
>Hi Thomas,
>
>On 04/12/2015 05:42 PM, Thomas MARCHESSEAU wrote:
>> Hi team ,
>>
>> Like probably lot of new subscriber , i mail you, guys, for help .
>>
>> I¹m running a raid5 on 7 HDD for several month now ( and years on other
>> system) without problem .
>> last week i had a crash disk (sdg) , i¹ve add a new drive (sdi) and
>> rebuild .. Works fine , and i dont think this is the cause of my today
>> problem.
>
>Agreed. Probably not related.
>
>> Yesterday , i¹v upgraded my ubuntu 14.10 , and the system warm me with a
>> message that i can¹t recall and rewrite exactly , but something like :
>> md127 doesn¹t not match with /etc/mdadm/mdadm.conf , blah blah , run
>> /usr/share/mdadm/mkconf , and fix /etc/mdadm/mdadm.conf
>>
>> i¹ve done it , and reboot , all looks good .
>> All the drive have been rename after reboot ( orginal sdg was extract
>>form
>> the bay )
>
>Yes, you cannot trust drives to keep their names through upgrades. The
>names are pseudo-random during boot.
>
>You should know that md127 is the default name chosen by mdadm when
>assembling an array for which it doesn't know any other name. Followed
>by md126, then md125 and so on. You really should give your arrays
>other names. Most commonly starting with md0 or md1.
>
>> I¹ve setup a rsync of my most important data on a external drive this
>> night, who partially failed (only 25% ha been backuped , bad luck ) ,
>> (probably) because this morning i have re-inserted by mistake the
>>faulty
>> drive ( for information , i think the drive was in fact ok , the sata
>> connector was a bit disconnect )
>>
>> I did not pay attention of the situation at the moment , but few hour
>> later , i ssh my filer and my « home » (on the raid partition) was not
>> available anymore .
>
>You should collect your 'dmesg' and post it here. Or cut and paste from
>it anything related to your drives or array.
>
>> I didn¹t try to fschk or any thing else than :
>>
>> Mdadm ‹stop /dev/md127
>> mdadm --assemble /dev/md127 /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf
>> /dev/sdg /dev/sdh
>> mdadm: /dev/md127 assembled from 5 drives - not enough to start the
>>array.
>>
>>
>> So i¹ve read a bunch of usefull link , one of them :) ,
>> https://raid.wiki.kernel.org/index.php/RAID_Recovery , says , don¹t do
>> stupid thing until drop a mail on linux-raid mailling Š so i¹m here .
>>
>> i¹ve collected this usefull info :
>> mdadm --examine /dev/sd[a-z] | egrep 'Event|/dev/sd'
>> /dev/sda: (system HDD )
>> /dev/sdb:
>> Events : 21958
>> /dev/sdc:
>> Events : 21958
>> /dev/sdd:
>> Events : 21958
>> /dev/sde:
>> Events : 21958
>> /dev/sdf:
>> Events : 21958
>> /dev/sdg:
>> Events : 21954 <‹ here
>> /dev/sdh:
>> Events : 21954 <‹ and here
>
>In general, people on this list want to see the full --examine reports.
> As do I.
>
>Also, you need to record which drive serial numbers correspond to which
>device roles, just in case. You can show the smartctl data along with
>the examines like so:
>
>for x in /dev/sd[b-h] ; do mdadm -E $x ; smartctl -iA -l scterc $x ;
>done > report.txt
>
>Then paste report.txt into your next mail.
>
>> The strange thing is that my raid array is now seen as a RAID0 in
>> mdadm --detail /dev/md127
>> /dev/md127:
>> Version :
>> Raid Level : raid0
>> Total Devices : 0
>>
>> State : inactive
>
>It didn't start, so that info isn't meaningful.
>
>> But individually all drive in mdadm ‹examine , are RAID 5 member .
>>
>> Anyone for help ?
>
>Your array should be fixable. The use of "mdadm --assemble --force" as
>recommended by Roger is likely to work. But it won't be enough if you
>don't also figure out why the array stopped after a few hours. That
>sounds like a common problem with raid5 rebuilds.
>
>> i¹ was on the way to perform a
>> mdadm --create --assume-clean ‹level=5 --raid-devices=7
>>--size=11720300544
>> /dev/md127 /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg
>>/dev/sdh
>>
>> Which looks a bit stupid before ask for help
>
>Yes, this is what the wiki means when it refers to doing something
>stupid. Any form of --create is destructive and should only be
>attempted when all other attempts have failed.
>
>Phil
>
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-04-13 8:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-12 21:42 RAID 5 "magicaly" become a RAID0 Thomas MARCHESSEAU
2015-04-12 22:28 ` Roger Heflin
2015-04-13 0:18 ` Phil Turmel
2015-04-13 8:55 ` Thomas MARCHESSEAU [this message]
2015-04-13 10:57 ` Phil Turmel
2015-04-13 12:27 ` Thomas MARCHESSEAU
[not found] ` <D151DEA1.8EEA1%marchesseau@gmail.com>
2015-04-14 12:32 ` Phil Turmel
2015-04-16 8:53 ` Thomas MARCHESSEAU
2015-04-16 12:25 ` Phil Turmel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D15148A7.3B83B%marchesseau@gmail.com \
--to=marchesseau@gmail.com \
--cc=linux-raid@vger.kernel.org \
--cc=philip@turmel.org \
--cc=rogerheflin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.