Phillip,

I replied to Brian Murray before your comment showed up after I
refreshed my screen.

I did nothing in Ubuntu's Partitioning Tool other than try to find a way
to get the installer to recognize Red Hat's partitioning scheme.
Ubuntu's Partitioning Tool did not allow me to install into the root
logical volume that contains CentOS. In fact it marked the entire lvm pv
as "format" and did not recognize the luks encryption. That is when I
clicked "-" instead of "change" and it changed the entire luks container
to "free space". I tried to revert the changes I made and it did not
revert. I know for a fact I pressed "revert" over and over again and
nothing happened. It clearly showed the luks container in the
Partitioning Tool window as "free space" and would not let me undo the
changes.

The only time I have ever seen anything similar to this kind of luks
incompatibility is with OpenSUSE's installer - it will not read Red
Hat's luks format if it contains any odd character such an apostrophe.

It appears the luks container was resized since testdisk shows a sector
count of only 4096. I believe 4096 is luk's Payload Offset boundary.
Luks would not initialize the encryption as a result. I deleted the
partition and recreated it with fdisk to start at 1026048 and end on
sector 975747120 (1026048 is the beginning sector of the luks encryption
header). This fixed the problem with luks, but the lvm pv seems to be
misaligned.

In my frustration over trying to repair the partition table, I
overlooked the fact that e2fsck does no good on a lvm pv. Thanks for
this clarification. What do you suggest I do to restore the lvm
metadata? I am very puzzled why I cannot find the lvm backup headers (I
thought they were normally within the first 255 sectors of the lvm pv?).
If the luks encryption header is aligned properly then how could the lvm
pv get out of alignment?

I normally have viable backups, but they have become corrupt - must be a
stroke of bad luck since I have never had this happen before. This is
why I am hoping I can find the correct alignment on the lvm pv or find
the backup headers.

Thanks for your help with this matter.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1179122

Title:
  Ubuntu's  Partitioning Tool does not revert changes to partition table

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1179122/+subscriptions

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

Reply via email to