I'm not sure what happened but after a few reboots after a mysterious lockup, something very interesting has happened to my RAID 5 array that holds my home.
I (should) have three disks in the following configuration:
/dev/sda6 - RAID autodetect (0xfd)
/dev/sdb6 - RAID autodetect (0xfd)
/dev/sdc6 - RAID autodetect (0xfd)
However, it now shows:
/dev/sda6 - RAID autodetect (0xfd)
/dev/sdb6 - RAID autodetect (0xfd)
/dev/sdc6 - Linux native (0x83)
I was able to use sfdisk and change the partition id for /dev/sdc6 back to fd and rebuild the array using /dev/sdb6 and /dev/sdc6. Now the problem rests with /dev/sda6.
When I checked the blocks with:
# blockdev --getsz /dev/sda6
I get a big fat 0. All of the other show the proper size partition. Using sfdisk -l, /dev/sda shows all of the right partitions with the correct sizes. Does anyone know how I can reset /dev/sda6 without effecting any of the other partitions?
Cheers.