(fyi - in my original post I meant to write 16 blocks for the md
superblock, not 64)

whew!  I managed to fix my system.  And it still points to there being a
serious bug somewhere in either the new Partition Editor (in Gutsy) or
e2fsck or resize2fs.  One of them has the code for 'md' superblocks
BACKWARDS. Instead of excluding the 16 blocks at the end of the
partition (where the md-superblock resides) they 'include' it.

Here's what happened to my partition size:
- original/correct size of my /md0 partitions = 2,441,840 blocks
- physical size of my /md0 drives = 2,441,856 blocks
- size that the partitions got resized to = 2,441,872 blocks  ... 32 blocks too 
many!

The solution was to boot the Gutsy LiveCD again and manually run the correct 
'resize2fs' command,
 > resize2fs /dev/sda1 2441840
 > resize2fs /dev/sdb1 2441840

I then rebooted and everything appears to be working perfectly. So, at
the very least, the resize command didn't damage anything ... it 'just'
made it unbootable!

-- 
new Partition Editor 'Check' breaks md partitions
https://bugs.launchpad.net/bugs/129855
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to