Could it be that the raid wasnt synced at the time i overwrote /dev/sda ? i have run the command you suggested and will report after its done. would it still be possible to recover the raid? On Tue, Oct 13, 2015 at 4:36 PM, Weedy <weedy2887@xxxxxxxxx> wrote: > > On 13 Oct 2015 10:06 am, "Marek" <mlf.conv@xxxxxxxxx> wrote: >> >> no, i had a working raid consisting of 4 2TB drives (raid5) >> sda,sdb,sdc,sdb ( no partitions were created on drives) - then i >> accidentally deleted /dev/sda by installing ubuntu. when inspecting >> dev/md127 with a hex editor i discovered first 12mb are missing. > > Wait, if it's a raid5 can't you just resync it? > > Also I believe 1.2 metadata is at the end of a partition. If your saying the > raids hasn't noticed you can run a check and it should fix itself. > > echo check > /sys/block/mdX/md/sync_action -- 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