I'm getting weird behaviour while setting up an mdadm RAID1 array on debian 8.2.After I set-up the array, lsblk shows:simon@debian-server:~$ lsblkNAME                          MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTsda                             8:0    0 931.5G  0 disk`-sda1                          8:1    0 931.5G  0 part  `-md0                         9:0    0 931.4G  0 raid1sdb                             8:16   0 931.5G  0 disk`-sdb1                          8:17   0 931.5G  0 part  `-md0                         9:0    0 931.4G  0 raid1sdc                             8:32   0 232.9G  0 disk|-sdc1                          8:33   0   512M  0 part  /boot/efi|-sdc2                          8:34   0   244M  0 part  /boot`-sdc3                          8:35   0 232.2G  0 part  |-debian--server--vg-root   254:0    0 228.3G  0 lvm   /  `-debian--server--vg-swap_1 254:1    0   3.9G  0 lvm   [SWAP]After a reboot, lsblk shows:simon@debian-server:~$ lsblkNAME                          MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTsda                             8:0    0 931.5G  0 disk`-sda1                          8:1    0 931.5G  0 part  `-md0                         9:0    0 931.4G  0 raid1    |-md0p1                   259:0    0 811.6G  0 md    `-md0p2                   259:1    0 346.1G  0 mdsdb                             8:16   0 931.5G  0 disk`-sdb1                          8:17   0 931.5G  0 part  `-md0                         9:0    0 931.4G  0 raid1    |-md0p1                   259:0    0 811.6G  0 md    `-md0p2                   259:1    0 346.1G  0 mdsdc                             8:32   0 232.9G  0 disk|-sdc1                          8:33   0   512M  0 part  /boot/efi|-sdc2                          8:34   0   244M  0 part  /boot`-sdc3                          8:35   0 232.2G  0 part  |-debian--server--vg-root   254:0    0 228.3G  0 lvm   /  `-debian--server--vg-swap_1 254:1    0   3.9G  0 lvm   [SWAP]I don't know where the md0p1 and md0p2 partitions are coming from. My /etc/fstab and /etc/mdadm/mdadm.conf both have nothing about this in them.parted shows one partition on md0:simon@debian-server:~$ sudo parted /dev/md0 printModel: Linux Software RAID Array (md)Disk /dev/md0: 1000GBSector size (logical/physical): 512B/4096BPartition Table: loopDisk Flags:Number  Start  End     Size    File system  Flags 1      0.00B  1000GB  1000GB  ntfsAny ideas where the md0p1 and md0p2 partitions are coming from?I'm setting up the array by doing as follows:Delete existing device (I've done this a few times):sudo mdadm --stop /dev/md0sudo mdadm --remove /dev/md0Zero drives:sudo dd if=/dev/zero of=/dev/sda bs=1M count=1024sudo dd if=/dev/zero of=/dev/sdb bs=1M count=1024Create partition tables:sudo parted /dev/sda mklabel gptsudo parted /dev/sdb mklabel gptCreate full-disk partitions:sudo parted -a optimal /dev/sda mkpart primary '0%' '100%'sudo parted -a optimal /dev/sdb mkpart primary '0%' '100%'Set raid flag on partitions:sudo parted /dev/sda set 1 raid onsudo parted /dev/sdb set 1 raid onCreate RAID array:sudo mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sd[ab]1Add filesystem (I'm using NTFS, but the problem also happens with ext4)sudo mkfs.ntfs -f /dev/md0
lsblk shows non-existent md partitions after reboot
debian;raid;mdadm;software raid