PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 26, 2012, 10:47:46 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Help with bad partition info  (Read 275 times)
wyohman
Hero Member
*****
Offline Offline

Posts: 1339

Texas, USA


WWW
« on: April 21, 2010, 11: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.


Logged

SD39P2 | Q6600 | 4GB | 320x3 RAID 5 | HD4350 | 245BW | 2TB External | PCLOS 2009
Linux user since kernel 0.93
wyohman
Hero Member
*****
Offline Offline

Posts: 1339

Texas, USA


WWW
« Reply #1 on: April 23, 2010, 07: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.
Logged

SD39P2 | Q6600 | 4GB | 320x3 RAID 5 | HD4350 | 245BW | 2TB External | PCLOS 2009
Linux user since kernel 0.93
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM