e2fsck broke my 'md' partitions!
I had a working setup of Ubuntu 7.04 with two SATA2 drives setup as /sda and /sdb with matching ext3 root partitions and setup as a RAID-1 mirror called /md0. Long story short, I installed another drive and got an error message about invalid partition, unable to run fsck. But then it would allow me to continue boot-up? Eventually I figured-out that I'd made a typo in adding the new drive to /etc/fstab and then the error message went away. But in the meantime I'd discovered that fdisk reported "Disk /dev/md0 doesn't contain a valid partition table." I actually posted about this on the forums,
http://
Then I was experimenting with the latest Gutsy/Tribe-3 LiveCD and saw the new Partition Editor. It had a seemingly nice easy "Check partition" feature so I naively tried it. It showed the command-line as some long command-line for e2fsck. When I ran it on /sda it found no errors BUT then also said it was resizing the partition. I figured I had to make sure that both partitions were identical so I ran it on /sdb, too.
Now the machine won't boot! I'm getting the same error message re invalid partitions but now I can't skip past it -- it's for real! fsck reports that the partition size (according to the superblock?) is larger than the actual partition. Or something like that; I know, I need to get the exact message but I'm not at the machine right now.
So it appears that e2fsck made an unnecessary change to my md0 partition. Help!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Tony T
- Solved:
- Last query:
- Last reply: