* problem with raid after reboot
@ 2012-12-10 4:13 bobzer
2012-12-10 13:58 ` Phil Turmel
0 siblings, 1 reply; 3+ messages in thread
From: bobzer @ 2012-12-10 4:13 UTC (permalink / raw)
To: linux-raid
hi had to reboot my raid 5 server. but now it doesnt't want to
reassemble correctly
i have a raid 5 of 3 disk and a lvm on top of that. i know my data are
there but i'm afraid of enter the dead command :-)
so here is the information about my raid, if someone could help or
explain me something or just give a clue to follow.
i remember that, this already happend to me ... exactly the same but i
don't remember how i did (promes that this time right everything down)
because it's already happend i'm afraid there is a bigger problem in my raid...
help me please :-)
cat /etc/mdstat :
Personalities :
md0 : inactive sdd1[2](S) sdc1[1](S) sdb1[3](S)
5860532931 blocks super 1.2
unused devices: <none>
------------------------------------------------
/dev/sdb1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : bf3c605b:9699aa55:d45119a2:7ba58d56
Name : debian:0 (local to host debian)
Creation Time : Sun Mar 4 22:49:14 2012
Raid Level : raid5
Raid Devices : 3
Avail Dev Size : 3907021954 (1863.01 GiB 2000.40 GB)
Array Size : 7814043136 (3726.03 GiB 4000.79 GB)
Used Dev Size : 3907021568 (1863.01 GiB 2000.40 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 5e71f69a:a78b0cd7:bbbb7ecb:cf81f9f6
Update Time : Sat Dec 1 20:46:35 2012
Bad Block Log : 512 entries available at offset 2032 sectors
Checksum : 920f006c - correct
Events : 372
Layout : left-symmetric
Chunk Size : 128K
Device Role : Active device 0
Array State : A.. ('A' == active, '.' == missing)
----------------------------------------------
/dev/sdc1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : bf3c605b:9699aa55:d45119a2:7ba58d56
Name : debian:0 (local to host debian)
Creation Time : Sun Mar 4 22:49:14 2012
Raid Level : raid5
Raid Devices : 3
Avail Dev Size : 3907021954 (1863.01 GiB 2000.40 GB)
Array Size : 7814043136 (3726.03 GiB 4000.79 GB)
Used Dev Size : 3907021568 (1863.01 GiB 2000.40 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : active
Device UUID : 406c4cb5:c188e4a9:7ed8be9f:14a49b16
Update Time : Sat Dec 1 06:58:57 2012
Bad Block Log : 512 entries available at offset 2032 sectors
Checksum : 73207571 - correct
Events : 367
Layout : left-symmetric
Chunk Size : 128K
Device Role : Active device 1
Array State : AAA ('A' == active, '.' == missing)
----------------------------------------------
/dev/sdd1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : bf3c605b:9699aa55:d45119a2:7ba58d56
Name : debian:0 (local to host debian)
Creation Time : Sun Mar 4 22:49:14 2012
Raid Level : raid5
Raid Devices : 3
Avail Dev Size : 3907021954 (1863.01 GiB 2000.40 GB)
Array Size : 7814043136 (3726.03 GiB 4000.79 GB)
Used Dev Size : 3907021568 (1863.01 GiB 2000.40 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : active
Device UUID : f9059dfb:74af1ab7:bc1465b1:e2ff30ba
Update Time : Sat Dec 1 06:58:57 2012
Bad Block Log : 512 entries available at offset 2032 sectors
Checksum : 7be2cdeb - correct
Events : 367
Layout : left-symmetric
Chunk Size : 128K
Device Role : Active device 2
Array State : AAA ('A' == active, '.' == missing)
hope you can help me thanks
Mathieu
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: problem with raid after reboot
2012-12-10 4:13 problem with raid after reboot bobzer
@ 2012-12-10 13:58 ` Phil Turmel
[not found] ` <CADzS=aq_83Nr55m+LFywx6LqHdwwkfzfBM+tPv8gcf6ono_j8g@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Phil Turmel @ 2012-12-10 13:58 UTC (permalink / raw)
To: bobzer; +Cc: linux-raid
Hi Mathieu,
On 12/09/2012 11:13 PM, bobzer wrote:
> hi had to reboot my raid 5 server. but now it doesnt't want to
> reassemble correctly
>
> i have a raid 5 of 3 disk and a lvm on top of that. i know my data are
> there but i'm afraid of enter the dead command :-)
>
> so here is the information about my raid, if someone could help or
> explain me something or just give a clue to follow.
> i remember that, this already happend to me ... exactly the same but i
> don't remember how i did (promes that this time right everything down)
> because it's already happend i'm afraid there is a bigger problem in my raid...
>
> help me please :-)
It looks like the superblocks didn't get updated together due to your
improper reboot. (Event counts don't match.)
I suggest you stop the array and reassemble with "--force", like so:
mdadm --stop /dev/md0
mdadm --assemble --force /dev/md0 /dev/sd[bcd]1
The "--force" option will instruct mdadm to ignore the event count mismatch.
You probably want to investigate why your array wasn't properly stopped
during shutdown.
HTH,
Phil
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-12-10 15:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-10 4:13 problem with raid after reboot bobzer
2012-12-10 13:58 ` Phil Turmel
[not found] ` <CADzS=aq_83Nr55m+LFywx6LqHdwwkfzfBM+tPv8gcf6ono_j8g@mail.gmail.com>
2012-12-10 15:04 ` Phil Turmel
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.