undo LVM

Luis Paulo luis.barbas at gmail.com
Sat May 15 23:17:12 UTC 2010


On Sat, May 15, 2010 at 11:47 PM, Michel Racic <michel.racic at gmail.com> wrote:
> Hi Luis
>
> Did you get a solution for your problem?
>
> I made the same (similar) mistake...
> I have a 1TB Data disk that is encrypted with luks (cryptsetup) and I
> installed a new SSD disk because my old HD has crashed and wanted to
> install lucid lynx on it.
> On the partition screen I accidentally added the encrypted partition
> to the LVM and have seen it after I accepted the writing of the
> partition table to the disk.
> Now I have the problem how to revert the LVM part that I can decrypt
> my luks partition with cryptsetup again.
>
> Could you manage reverting LVM to get to your data or finishing LVM
> without deleting the content of that disk?
>
> Best regards
>
> Michel
>

Hi, Michel

I didn't had any problem with LVM, i think it was Herman.

And I don't know anything about encryption.

Maybe if you can give more details, like:

Do you see the encrypted files, or nothing at all?

Post the output of
$ sudo vgdisplay
$ sudo lvdysplay

and of
$ sudo pvdysplay
pointing out what is the partition you want to rescue.

I don't really know if lvm erases the content of the partition when
added during install process, it may just be a simple matter of
removing it from the lvm. Don't know.

Regards
Luis




More information about the ubuntu-users mailing list