我遇到了不可持续的 RAID 阵列的问题,它一直以随机方式消失。在创建时,会显示与丢失/无意义的分区表相关的警告,即使分区而不是磁盘用作 RAID 基础。输出清楚地表明分区内存在一个分区表,仔细查看 */dev/sdd** 确实可以发现/dev/sdd1分区内有一个完整的分区表!
我不知道事实,但我怀疑 RAID 阵列消失的问题可能与这个神秘的额外分区表有关。我当然没有把它放在那里,“主”分区表被覆盖了很多次,但sdd1内部的表以某种方式占了上风。有没有办法擦除/擦除/摆脱这个额外的分区表并将磁盘重新用作 RAID 阵列成员?你认为这是导致问题的原因吗?这是什么样的嵌套分区表巫术,我该如何进行?
下面的相关输出。提前谢谢了。
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.