I am having trouble with unsustainable RAID array, it keeps on disappearing in random fashion. At creation time the warnings related to lost / meaningless partition table are displayed, even though a partition and not a disk is used as the RAID base. The output clearly suggest an existing partition table within the partition, indeed a closer look at */dev/sdd** reveals a whole partition table within the /dev/sdd1 partition!
I don't know for a fact, but I suspect the issue of disappearing RAID arrray might be ralated to this mysterious extra partition table. I certainly did not put it there, the 'main' partition table was overwritten many times over, yet the table internal to sdd1 somehow prevails. Is there a way to wipe / erase / get rid of this extra partition table and re-purpose the disk as a RAID array member? Do you think that's what's causing the issue? What kind of nested-partition-table voodoo is this and how do I proceed??
The relevant outputs below. Many thanks in advance.
mdadm --create --verbose --homehost=any --level=1 --force --raid-
devices=1 --name=md127 /dev/md/md127 /dev/sdd1
mdadm: partition table exists on /dev/sdd1
mdadm: partition table exists on /dev/sdd1 but will be lost or
meaningless after creating array
mdadm: Note: this array has metadata at the start and
may not be suitable as a boot device. If you plan to
store '/boot' on this device please ensure that
your boot-loader understands md/v1.x metadata, or use
--metadata=0.90
mdadm: size set to 1953381440K
mdadm: automatically enabling write-intent bitmap on large array
Continue creating array? n
mdadm: create aborted.
fdisk -l /dev/sdd*
Disk /dev/sdd: 1.84 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: ASM1153E
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 33553920 bytes
Disklabel type: dos
Disk identifier: 0x2966153e
Device Boot Start End Sectors Size Id Type
/dev/sdd1 2048 3907029167 3907027120 1.8T fd Linux raid autodetect
Disk /dev/sdd1: 1.84 TiB, 2000397885440 bytes, 3907027120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 33553920 bytes
Disklabel type: dos
Disk identifier: 0x6e697373
Device Boot Start End Sectors Size Id Type
/dev/sdd1p1 1936269394 3772285809 1836016416 875.5G 4f QNX4.x 3rd part
/dev/sdd1p2 1917848077 2462285169 544437093 259.6G 73 unknown
/dev/sdd1p3 1818575915 2362751050 544175136 259.5G 2b unknown
/dev/sdd1p4 2844524554 2844579527 54974 26.9M 61 SpeedStor
Partition table entries are not in disk order.