Romep
08.02.10, 18:22
Hey,
das Thema gabs ja schon öfter, leider hat mir alles lesen nix geholfen :(
Ich habe 4 mit luks verschlüsselte devices, über die ich einen Raid5 gebildet habe. Wenn ich das raid assemble, kriege ich häufig die Fehlermeldung, dass ein device busy ist (nicht immer das gleiche).
mdadm: failed to add /dev/mapper/a to /dev/md0: Device or resource busy
mdadm: /dev/md0 assembled from 3 drives - need all 4 to start it (use --run to insist).
Die Fehlermeldung ist immer unterschiedlich. Mal sind 2 devides busy, mal assembled er gar nix. Wenn ich lange genug probiere funktioniert das assemble mit allen 4 devices.
/dev/mapper/a:
Magic : x
Version : 00.90.00
UUID : x
Creation Time : Sun Jan 3 00:50:08 2010
Raid Level : raid5
Used Dev Size : 1465038464 (1397.17 GiB 1500.20 GB)
Array Size : 4395115392 (4191.51 GiB 4500.60 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Update Time : Mon Feb 8 15:53:24 2010
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : x - correct
Events : 324855
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 2 252 2 2 active sync /dev/mapper/a
0 0 252 3 0 active sync /dev/mapper/b
1 1 252 4 1 active sync /dev/mapper/c
2 2 252 2 2 active sync /dev/mapper/a
3 3 252 5 3 active sync /dev/mapper/d
/dev/mapper/b:
Magic : x
Version : 00.90.00
UUID : x
Creation Time : Sun Jan 3 00:50:08 2010
Raid Level : raid5
Used Dev Size : 1465038464 (1397.17 GiB 1500.20 GB)
Array Size : 4395115392 (4191.51 GiB 4500.60 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Update Time : Mon Feb 8 15:53:24 2010
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : x - correct
Events : 324855
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 0 252 3 0 active sync /dev/mapper/b
0 0 252 3 0 active sync /dev/mapper/b
1 1 252 4 1 active sync /dev/mapper/c
2 2 252 2 2 active sync /dev/mapper/a
3 3 252 5 3 active sync /dev/mapper/d
/dev/mapper/c:
Magic : x
Version : 00.90.00
UUID : x
Creation Time : Sun Jan 3 00:50:08 2010
Raid Level : raid5
Used Dev Size : 1465038464 (1397.17 GiB 1500.20 GB)
Array Size : 4395115392 (4191.51 GiB 4500.60 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Update Time : Mon Feb 8 15:53:24 2010
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : x - correct
Events : 324855
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 1 252 4 1 active sync /dev/mapper/c
0 0 252 3 0 active sync /dev/mapper/b
1 1 252 4 1 active sync /dev/mapper/c
2 2 252 2 2 active sync /dev/mapper/a
3 3 252 5 3 active sync /dev/mapper/d
/dev/mapper/d:
Magic : x
Version : 00.90.00
UUID : x
Creation Time : Sun Jan 3 00:50:08 2010
Raid Level : raid5
Used Dev Size : 1465038464 (1397.17 GiB 1500.20 GB)
Array Size : 4395115392 (4191.51 GiB 4500.60 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Update Time : Mon Feb 8 15:53:24 2010
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : x - correct
Events : 324855
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 3 252 5 3 active sync /dev/mapper/d
0 0 252 3 0 active sync /dev/mapper/b
1 1 252 4 1 active sync /dev/mapper/c
2 2 252 2 2 active sync /dev/mapper/a
3 3 252 5 3 active sync /dev/mapper/d
Jemand 'nen Plan woran das liegen kann? Wie kann ich nachgucken, wo wie auf welches device zugegriffen wird?
das Thema gabs ja schon öfter, leider hat mir alles lesen nix geholfen :(
Ich habe 4 mit luks verschlüsselte devices, über die ich einen Raid5 gebildet habe. Wenn ich das raid assemble, kriege ich häufig die Fehlermeldung, dass ein device busy ist (nicht immer das gleiche).
mdadm: failed to add /dev/mapper/a to /dev/md0: Device or resource busy
mdadm: /dev/md0 assembled from 3 drives - need all 4 to start it (use --run to insist).
Die Fehlermeldung ist immer unterschiedlich. Mal sind 2 devides busy, mal assembled er gar nix. Wenn ich lange genug probiere funktioniert das assemble mit allen 4 devices.
/dev/mapper/a:
Magic : x
Version : 00.90.00
UUID : x
Creation Time : Sun Jan 3 00:50:08 2010
Raid Level : raid5
Used Dev Size : 1465038464 (1397.17 GiB 1500.20 GB)
Array Size : 4395115392 (4191.51 GiB 4500.60 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Update Time : Mon Feb 8 15:53:24 2010
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : x - correct
Events : 324855
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 2 252 2 2 active sync /dev/mapper/a
0 0 252 3 0 active sync /dev/mapper/b
1 1 252 4 1 active sync /dev/mapper/c
2 2 252 2 2 active sync /dev/mapper/a
3 3 252 5 3 active sync /dev/mapper/d
/dev/mapper/b:
Magic : x
Version : 00.90.00
UUID : x
Creation Time : Sun Jan 3 00:50:08 2010
Raid Level : raid5
Used Dev Size : 1465038464 (1397.17 GiB 1500.20 GB)
Array Size : 4395115392 (4191.51 GiB 4500.60 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Update Time : Mon Feb 8 15:53:24 2010
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : x - correct
Events : 324855
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 0 252 3 0 active sync /dev/mapper/b
0 0 252 3 0 active sync /dev/mapper/b
1 1 252 4 1 active sync /dev/mapper/c
2 2 252 2 2 active sync /dev/mapper/a
3 3 252 5 3 active sync /dev/mapper/d
/dev/mapper/c:
Magic : x
Version : 00.90.00
UUID : x
Creation Time : Sun Jan 3 00:50:08 2010
Raid Level : raid5
Used Dev Size : 1465038464 (1397.17 GiB 1500.20 GB)
Array Size : 4395115392 (4191.51 GiB 4500.60 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Update Time : Mon Feb 8 15:53:24 2010
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : x - correct
Events : 324855
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 1 252 4 1 active sync /dev/mapper/c
0 0 252 3 0 active sync /dev/mapper/b
1 1 252 4 1 active sync /dev/mapper/c
2 2 252 2 2 active sync /dev/mapper/a
3 3 252 5 3 active sync /dev/mapper/d
/dev/mapper/d:
Magic : x
Version : 00.90.00
UUID : x
Creation Time : Sun Jan 3 00:50:08 2010
Raid Level : raid5
Used Dev Size : 1465038464 (1397.17 GiB 1500.20 GB)
Array Size : 4395115392 (4191.51 GiB 4500.60 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Update Time : Mon Feb 8 15:53:24 2010
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : x - correct
Events : 324855
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 3 252 5 3 active sync /dev/mapper/d
0 0 252 3 0 active sync /dev/mapper/b
1 1 252 4 1 active sync /dev/mapper/c
2 2 252 2 2 active sync /dev/mapper/a
3 3 252 5 3 active sync /dev/mapper/d
Jemand 'nen Plan woran das liegen kann? Wie kann ich nachgucken, wo wie auf welches device zugegriffen wird?