Re: mdadm raid1 stops to work after kernel panic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[please don't drop the list from the cc: line - I've re-added it]

On Mon, May 5, 2008 7:56 pm, Federico wrote:
> wax@persifae:~$sudo !!
> sudo mdadm --examine /dev/sda1 /dev/sdc1

Thanks.  That looks fairly normal.  sda1 is thought to be out-of-date
so you would expect mdadm to assemble the array with just sdc1
as a member.  You would then need to add sda1 as a spare and it would
rebuild.
I wonder why it isn't including sdc1 at first.

What happens if you:
  mdadm -S /dev/md2
  mdadm -A /dev/md2 /dev/sda1 /dev/sdc1
??

NeilBrown


> Parola d'ordine:
> /dev/sda1:
>           Magic : a92b4efc
>         Version : 00.90.00
>            UUID : 62a5cb51:36ca61a3:1298e6c2:30fde3ba
>   Creation Time : Mon May  5 04:39:59 2008
>      Raid Level : raid1
>   Used Dev Size : 293049600 (279.47 GiB 300.08 GB)
>      Array Size : 293049600 (279.47 GiB 300.08 GB)
>    Raid Devices : 2
>   Total Devices : 2
> Preferred Minor : 2
>
>     Update Time : Mon May  5 06:15:31 2008
>           State : active
>  Active Devices : 2
> Working Devices : 2
>  Failed Devices : 0
>   Spare Devices : 0
>        Checksum : 27e6bd76 - correct
>          Events : 0.9
>
>
>       Number   Major   Minor   RaidDevice State
> this     0       8        1        0      active sync   /dev/sda1
>
>    0     0       8        1        0      active sync   /dev/sda1
>    1     1       8       33        1      active sync   /dev/sdc1
> /dev/sdc1:
>           Magic : a92b4efc
>         Version : 00.90.00
>            UUID : 62a5cb51:36ca61a3:1298e6c2:30fde3ba
>   Creation Time : Mon May  5 04:39:59 2008
>      Raid Level : raid1
>   Used Dev Size : 293049600 (279.47 GiB 300.08 GB)
>      Array Size : 293049600 (279.47 GiB 300.08 GB)
>    Raid Devices : 2
>   Total Devices : 1
> Preferred Minor : 0
>
>     Update Time : Mon May  5 09:16:19 2008
>           State : active
>  Active Devices : 1
> Working Devices : 1
>  Failed Devices : 0
>   Spare Devices : 0
>        Checksum : 27e6e7e5 - correct
>          Events : 0.11
>
>
>       Number   Major   Minor   RaidDevice State
> this     1       8       33        1      active sync   /dev/sdc1
>
>    0     0       0        0        0      removed
>    1     1       8       33        1      active sync   /dev/sdc1
>

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux