disk order problem in a raid 10 array
Hello,
Le vendredi 18 mars 2011 23:22:51, NeilBrown écrivait :
Quoted 9 lines
On Fri, 18 Mar 2011 21:12:49 +0100 Xavier Brochard <[email protected]>
Quoted 8 lines
Le vendredi 18 mars 2011 18:22:34 [email protected], vous avez écrit :
Quoted 2 lines
On Fri, Mar 18, 2011 at 9:49 PM, Xavier Brochard
<[email protected]>Quoted 3 lines · wrote:
Quoted 2 lines
disk order is mixed between each boot - even with live-cd. is that normal?
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
If nothing is changing and the order is swapping really every boot, then IMO that is odd.
nothing has changed, except kernel minor version
Yet you don't tell us what the kernel minor version changed from or to.
Previously it was ubuntu 2.6.32-27-server or 2.6.32-28-server and now it is ubuntu 2.6.32-29.58-server 2.6.32.28+drm33.13
Quoted 2 lines
That may not be important, but it might and you obviously don't know which. It is always better to give too much information rather than not enough.
Again sorry, my wednesday email was long and I thought it was too long!
Quoted 9 lines
Quoted 8 lines
exactly, in my case mdadm --examine output is somewhat weird as it shows:
/dev/sde1
this 0 8 33 0 active sync/dev/sdd1/dev/sdd1
this 0 8 33 0 active sync/dev/sdc1/dev/sdc1
this 0 8 33 0 active sync/dev/sde1
and/dev/sdf1as sdf1
Quoted 4 lines
You are hiding lots of details again...
Are these all from different arrays? They all claim to be 'device 0' of some array.
They are all from same md RAID10 array
Quoted 2 lines
Infact, "8, 33" is *always*
/dev/sdc1, so I think the above lines have been edited by hand because I'm 100% certain mdadm didn't output them.
You're right, I'm sorry. I have copied this line, just changing the /dev/sd?
Here's full output of mdadm --examine /dev/sd[cdefg]1
As you can see, disks sdc, sdd and sde claims to be different, is it a problem?
======================================/dev/sdc1:
Magic : a92b4efc
Version : 0.90.00
UUID : b784237b:5a021f4d:4cf004e3:2cb521cf
Creation Time : Sun Jan 2 16:41:45 2011
Raid Level : raid10
Used Dev Size : 488383936 (465.76 GiB 500.11 GB)
Array Size : 976767872 (931.52 GiB 1000.21 GB) Raid Devices : 4
Total Devices : 5
Preferred Minor : 0
Update Time : Wed Mar 16 09:50:03 2011
State : clean
Active Devices : 1
Working Devices : 1
Failed Devices : 2
Spare Devices : 0
Checksum : ec151590 - correct
Events : 154
Layout : near=2
Chunk Size : 64K
Number Major Minor RaidDevice State
this 2 8 65 2 active sync /dev/sde1
0 0 0 0 0 removed
1 1 0 0 1 faulty removed
2 2 8 65 2 active sync /dev/sde1
3 3 0 0 3 faulty removed
/dev/sdd1:
Magic : a92b4efc
Version : 0.90.00
UUID : b784237b:5a021f4d:4cf004e3:2cb521cf
Creation Time : Sun Jan 2 16:41:45 2011
Raid Level : raid10
Used Dev Size : 488383936 (465.76 GiB 500.11 GB)
Array Size : 976767872 (931.52 GiB 1000.21 GB) Raid Devices : 4
Total Devices : 5
Preferred Minor : 0
Update Time : Wed Mar 16 07:43:45 2011
State : clean
Active Devices : 4
Working Devices : 5
Failed Devices : 0
Spare Devices : 1
Checksum : ec14f740 - correct
Events : 102
Layout : near=2
Chunk Size : 64K
Number Major Minor RaidDevice State
this 0 8 33 0 active sync /dev/sdc1
0 0 8 33 0 active sync /dev/sdc1
1 1 8 49 1 active sync /dev/sdd1
2 2 8 65 2 active sync /dev/sde1
3 3 8 81 3 active sync /dev/sdf1
4 4 8 97 4 spare /dev/sdg1
/dev/sde1:
Magic : a92b4efc
Version : 0.90.00
UUID : b784237b:5a021f4d:4cf004e3:2cb521cf
Creation Time : Sun Jan 2 16:41:45 2011
Raid Level : raid10
Used Dev Size : 488383936 (465.76 GiB 500.11 GB)
Array Size : 976767872 (931.52 GiB 1000.21 GB) Raid Devices : 4
Total Devices : 5
Preferred Minor : 0
Update Time : Wed Mar 16 07:43:45 2011
State : clean
Active Devices : 4
Working Devices : 5
Failed Devices : 0
Spare Devices : 1
Checksum : ec14f752 - correct
Events : 102
Layout : near=2
Chunk Size : 64K
Number Major Minor RaidDevice State
this 1 8 49 1 active sync /dev/sdd1
0 0 8 33 0 active sync /dev/sdc1
1 1 8 49 1 active sync /dev/sdd1
2 2 8 65 2 active sync /dev/sde1
3 3 8 81 3 active sync /dev/sdf1
4 4 8 97 4 spare /dev/sdg1
/dev/sdf1:
Magic : a92b4efc
Version : 0.90.00
UUID : b784237b:5a021f4d:4cf004e3:2cb521cf
Creation Time : Sun Jan 2 16:41:45 2011
Raid Level : raid10
Used Dev Size : 488383936 (465.76 GiB 500.11 GB)
Array Size : 976767872 (931.52 GiB 1000.21 GB) Raid Devices : 4
Total Devices : 5
Preferred Minor : 0
Update Time : Wed Mar 16 07:43:45 2011
State : clean
Active Devices : 4
Working Devices : 5
Failed Devices : 0
Spare Devices : 1
Checksum : ec14f776 - correct
Events : 102
Layout : near=2
Chunk Size : 64K
Number Major Minor RaidDevice State
this 3 8 81 3 active sync /dev/sdf1
0 0 8 33 0 active sync /dev/sdc1
1 1 8 49 1 active sync /dev/sdd1
2 2 8 65 2 active sync /dev/sde1
3 3 8 81 3 active sync /dev/sdf1
4 4 8 97 4 spare /dev/sdg1
/dev/sdg1:
Magic : a92b4efc
Version : 0.90.00
UUID : b784237b:5a021f4d:4cf004e3:2cb521cf
Creation Time : Sun Jan 2 16:41:45 2011
Raid Level : raid10
Used Dev Size : 488383936 (465.76 GiB 500.11 GB)
Array Size : 976767872 (931.52 GiB 1000.21 GB) Raid Devices : 4
Total Devices : 5
Preferred Minor : 0
Update Time : Wed Mar 16 07:43:45 2011
State : clean
Active Devices : 4
Working Devices : 5
Failed Devices : 0
Spare Devices : 1
Checksum : ec14f782 - correct
Events : 102
Layout : near=2
Chunk Size : 64K
Number Major Minor RaidDevice State
this 4 8 97 4 spare /dev/sdg1
0 0 8 33 0 active sync /dev/sdc1 1 1 8 49 1 active sync /dev/sdd1 2 2 8 65 2 active sync /dev/sde1 3 3 8 81 3 active sync /dev/sdf1 4 4 8 97 4 spare /dev/sdg1
===========
Quoted 4 lines
Quoted 1 line
I think I can believe mdadm?
Yes, you can believe mdadm - but only if you understand what it is saying, and there are times when that is not as easy as one might like....
Specially when a raid system is broken! One mind looks broken too and it's a bit hard to think clearly :-)
Thanks for the help
Xavier
[email protected] - 09 54 06 16 26
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
did you try to change udev configuration?
2011/3/18 Xavier Brochard <[email protected]>:
Quoted 230 lines
Hello,
Le vendredi 18 mars 2011 23:22:51, NeilBrown écrivait :
Quoted 9 lines
On Fri, 18 Mar 2011 21:12:49 +0100 Xavier Brochard <[email protected]>
Quoted 8 lines
Le vendredi 18 mars 2011 18:22:34 [email protected], vous avez écrit :
Quoted 2 lines
On Fri, Mar 18, 2011 at 9:49 PM, Xavier Brochard
<[email protected]>Quoted 3 lines · wrote:
Quoted 2 lines
disk order is mixed between each boot - even with live-cd. is that normal?
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
If nothing is changing and the order is swapping really every boot, then IMO that is odd.
nothing has changed, except kernel minor version
Yet you don't tell us what the kernel minor version changed from or to.
Previously it was ubuntu 2.6.32-27-server or 2.6.32-28-server and now it is ubuntu 2.6.32-29.58-server 2.6.32.28+drm33.13
Quoted 2 lines
That may not be important, but it might and you obviously don't know which. It is always better to give too much information rather than not enough.
Again sorry, my wednesday email was long and I thought it was too long!
Quoted 9 lines
Quoted 8 lines
exactly, in my case mdadm --examine output is somewhat weird as it shows:
/dev/sde1
this 0 8 33 0 active sync/dev/sdd1/dev/sdd1
this 0 8 33 0 active sync/dev/sdc1/dev/sdc1
this 0 8 33 0 active sync/dev/sde1and/dev/sdf1as sdf1Quoted 4 lines
You are hiding lots of details again...
Are these all from different arrays? They all claim to be 'device 0' of some array.
They are all from same md RAID10 array
Quoted 2 lines
Infact, "8, 33" is *always*
/dev/sdc1, so I think the above lines have been edited by hand because I'm 100% certain mdadm didn't output them.You're right, I'm sorry. I have copied this line, just changing the
/dev/sd?Here's full output of mdadm --examine /dev/sd[cdefg]1
As you can see, disks sdc, sdd and sde claims to be different, is it a problem?
======================================/dev/sdc1:
Magic :a92b4efc
Version : 0.90.00
UUID : b784237b:5a021f4d:4cf004e3:2cb521cf
Creation Time : Sun Jan 2 16:41:45 2011
Raid Level : raid10
Used Dev Size : 488383936 (465.76 GiB 500.11 GB)
Array Size : 976767872 (931.52 GiB 1000.21 GB)
Raid Devices : 4
Total Devices : 5
Preferred Minor : 0Update Time : Wed Mar 16 09:50:03 2011
State : clean
Active Devices : 1
Working Devices : 1
Failed Devices : 2
Spare Devices : 0
Checksum :ec151590- correct
Events : 154Layout : near=2
Chunk Size : 64KNumber Major Minor RaidDevice State
this 2 8 65 2 active sync/dev/sde10 0 0 0 0 removed
1 1 0 0 1 faulty removed 2 2 8 65 2 active sync/dev/sde13 3 0 0 3 faulty removed/dev/sdd1:
Magic :a92b4efc
Version : 0.90.00
UUID : b784237b:5a021f4d:4cf004e3:2cb521cf Creation Time : Sun Jan 2 16:41:45 2011
Raid Level : raid10
Used Dev Size : 488383936 (465.76 GiB 500.11 GB) Array Size : 976767872 (931.52 GiB 1000.21 GB) Raid Devices : 4
Total Devices : 5
Preferred Minor : 0Update Time : Wed Mar 16 07:43:45 2011
State : clean
Active Devices : 4
Working Devices : 5
Failed Devices : 0
Spare Devices : 1
Checksum :ec14f740- correct
Events : 102Layout : near=2
Chunk Size : 64KNumber Major Minor RaidDevice State
this 0 8 33 0 active sync/dev/sdc10 0 8 33 0 active sync
/dev/sdc11 1 8 49 1 active sync/dev/sdd12 2 8 65 2 active sync/dev/sde13 3 8 81 3 active sync/dev/sdf14 4 8 97 4 spare/dev/sdg1/dev/sde1:
Magic :a92b4efc
Version : 0.90.00
UUID : b784237b:5a021f4d:4cf004e3:2cb521cf Creation Time : Sun Jan 2 16:41:45 2011
Raid Level : raid10
Used Dev Size : 488383936 (465.76 GiB 500.11 GB) Array Size : 976767872 (931.52 GiB 1000.21 GB) Raid Devices : 4
Total Devices : 5
Preferred Minor : 0Update Time : Wed Mar 16 07:43:45 2011
State : clean
Active Devices : 4
Working Devices : 5
Failed Devices : 0
Spare Devices : 1
Checksum :ec14f752- correct
Events : 102Layout : near=2
Chunk Size : 64KNumber Major Minor RaidDevice State
this 1 8 49 1 active sync/dev/sdd10 0 8 33 0 active sync
/dev/sdc11 1 8 49 1 active sync/dev/sdd12 2 8 65 2 active sync/dev/sde13 3 8 81 3 active sync/dev/sdf14 4 8 97 4 spare/dev/sdg1/dev/sdf1:
Magic :a92b4efc
Version : 0.90.00
UUID : b784237b:5a021f4d:4cf004e3:2cb521cf Creation Time : Sun Jan 2 16:41:45 2011
Raid Level : raid10
Used Dev Size : 488383936 (465.76 GiB 500.11 GB) Array Size : 976767872 (931.52 GiB 1000.21 GB) Raid Devices : 4
Total Devices : 5
Preferred Minor : 0Update Time : Wed Mar 16 07:43:45 2011
State : clean
Active Devices : 4
Working Devices : 5
Failed Devices : 0
Spare Devices : 1
Checksum :ec14f776- correct
Events : 102Layout : near=2
Chunk Size : 64KNumber Major Minor RaidDevice State
this 3 8 81 3 active sync/dev/sdf10 0 8 33 0 active sync
/dev/sdc11 1 8 49 1 active sync/dev/sdd12 2 8 65 2 active sync/dev/sde13 3 8 81 3 active sync/dev/sdf14 4 8 97 4 spare/dev/sdg1/dev/sdg1:
Magic :a92b4efc
Version : 0.90.00
UUID : b784237b:5a021f4d:4cf004e3:2cb521cf Creation Time : Sun Jan 2 16:41:45 2011
Raid Level : raid10
Used Dev Size : 488383936 (465.76 GiB 500.11 GB) Array Size : 976767872 (931.52 GiB 1000.21 GB) Raid Devices : 4
Total Devices : 5
Preferred Minor : 0Update Time : Wed Mar 16 07:43:45 2011
State : clean
Active Devices : 4
Working Devices : 5
Failed Devices : 0
Spare Devices : 1
Checksum :ec14f782- correct
Events : 102Layout : near=2
Chunk Size : 64KNumber Major Minor RaidDevice State this 4 8 97 4 spare
/dev/sdg10 0 8 33 0 active sync
/dev/sdc11 1 8 49 1 active sync/dev/sdd12 2 8 65 2 active sync/dev/sde13 3 8 81 3 active sync/dev/sdf14 4 8 97 4 spare/dev/sdg1
===========Quoted 4 lines
Quoted 1 line
I think I can believe mdadm?
Yes, you can believe mdadm - but only if you understand what it is saying, and there are times when that is not as easy as one might like....
Specially when a raid system is broken! One mind looks broken too and it's a bit hard to think clearly :-)
Thanks for the help
Xavier
[email protected] - 09 54 06 16 26
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 6 lines
Roberto Spadim Spadim Technology / SPAEmpresarial -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Le samedi 19 mars 2011 00:57:15, Roberto Spadim écrivait :
Quoted 1 line
did you try to change udev configuration?
no
But attempting to boot on a 2.6.32-27 or 2.6.32-24 kernel result in a freeze short after:
ata_id[919] : HDIO_GET_IDENTITY failed for '/dev/sdb'
And while rebooting with alt + Sysrq + REISUB keys, I saw that udev was stuck on waiting a logitech usb mouse.
Xavier
[email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html