On 07/31/2017 03:57 PM, Paul Tonelli wrote: > Hello (again) > > Sorry to resuscitate this topic back from the dead, but I have again the > same issue. > > TL;DR > > The difference compared to last time: > - I created a clean raid a few days back > - the data is completely backed up and available > - I can actually access the data > > but I still have no clue about what went wrong. > > 1) I created the raid: > > sudo mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 > /dev/sdb /dev/sdc /dev/sdd > > without lvm this time, juste a single ext4 partition > > mkfs.ext4 /dev/md0 > mount /dev/md0 /srv/data > > I copied 3Tb on it > > I just rebooted the machine > > 2) and (again) no md0 assembled at boot: > > mdadm -E /dev/sd[bcd] > /dev/sdb: > MBR Magic : aa55 > Partition[0] : 4294967295 sectors at 1 (type ee) > /dev/sdc: > MBR Magic : aa55 > Partition[0] : 4294967295 sectors at 1 (type ee) > /dev/sdd: > MBR Magic : aa55 > Partition[0] : 4294967295 sectors at 1 (type ee) You have partition tables on these drives, but you are using the entire drives when you create your arrays. You need to zero the first 4k of each drive to kill off the incorrect partition tables. You might also have a GPT partition table backup at the end of the disk that needs to die as well. Phil -- 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