-   Linux - Newbie (
-   -   how to fix inactive ... RAID 0 (

masuch 05-23-2012 10:22 AM

how to fix inactive ... RAID 0

I have cat /proc/mdstat:

md122 : inactive sdm2[1] sdo2[3] sdn2[2]
122870016 blocks super 1.2

/dev/sdl3: LABEL="raid0ocz" UUID="d2a38127-0270-4d9f-b434-524e9e390b8d" TYPE="ext4"
/dev/sdm2: UUID="152fb8b4-9526-5477-57e0-dde891307b7b" UUID_SUB="326b2e62-6c84-7913-7dca-62543941670f" LABEL="raid0ocz" TYPE="linux_raid_member"
/dev/sdn2: UUID="152fb8b4-9526-5477-57e0-dde891307b7b" UUID_SUB="36dbf9b0-796d-9d94-5773-449916f2b65d" LABEL="raid0ocz" TYPE="linux_raid_member"
/dev/sdo2: UUID="152fb8b4-9526-5477-57e0-dde891307b7b" UUID_SUB="afa32a55-83d8-da9e-992e-4b4b05c52e65" LABEL="raid0ocz" TYPE="linux_raid_member"

How can I fix it ?

thank you,
kind regards,

r0b0 05-24-2012 07:12 AM


You can just run

mdadm -A /dev/md122
and it will become active again.

If you get this error on every boot, you probably need to edit your /etc/mdadm/mdadm.conf file, try appending output of

mdadm --examine --scan
to the end of your mdadm.conf

masuch 05-26-2012 03:31 AM

thank you for help.
Unfortunately I tried that before and It did not help - so I have to stop and create the new one bear in mind to lost all data of course.

All times are GMT -5. The time now is 12:36 AM.