Author Topic: Help with bad partition info  (Read 387 times)

Offline wyohman

  • Hero Member
  • *****
  • Posts: 1346
  • Texas, USA
    • Shelby Registry
Help with bad partition info
« on: April 21, 2010, 10:37:58 PM »
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.


« Last Edit: April 23, 2010, 06:43:14 PM by wyohman »
SZ77R5 | I7 3770 | 16GB | Samsung 840Pro | HD6670 | PCLOS 2012
Linux user since kernel 0.93

Offline wyohman

  • Hero Member
  • *****
  • Posts: 1346
  • Texas, USA
    • Shelby Registry
Re: Help with bad partition info
« Reply #1 on: April 23, 2010, 06:44:02 PM »
I edited my last post after managing to get most of my RAID back. If anyone has any insights, please let me know.

Cheers.
SZ77R5 | I7 3770 | 16GB | Samsung 840Pro | HD6670 | PCLOS 2012
Linux user since kernel 0.93