I have a very odd issue. I happened to do an fdisk -l on my system and my raid drives have invalid partition tables, in addition my md0 device also has an invalid partition table. Note that the raid (5) is only a data storage and the OS is on another non-raid drive.

I used fdisk to correct the partition tables setting the raid drives to have 1 primary partition of type fd (raid auto) and span the whole drive. I set the md device to span the entire raid and of type Linux Native.

The drives resynced and looked good when I viewed the subsequent fdisk -l.

After reboot, however, fdisk yields recorrupted partition tables. Am I not understanding something, or is this a bug? There was a power outage that caused the system not to shut down. Is this the dreaded write hole?

Thanks,
WT