I was able to reproduce this reliably now.

1) take a fresh disk with no lvm
2) install using automatic lvm setup and it will work
3) install on it again this time not using lvm and it will work
4) install again this time using lvm and it will fail

The problem is that at #4 the disk has no partitions type LVM but the
lvm metadata from #2 are still there.

pvscan still works but all other lvm operations will correctly report
that there is an error.

So I think we need to address the issue at #3. When wiping the disk we need to 
make sure that metadata from
raid or lvm are wiped too.

Colin, i am not sure what package should be in charge of it but if you can 
point me in the right direction i can hack on it.
I think partman-auto would be a good candidate for the fix.

The issue does not really raise when doing manual partitioning because 
simulating stage #3, you will see the lvm volumes
and you get proper questions to erase/enable them.

Fabio

-- 
LVM install crashed
https://bugs.launchpad.net/bugs/107205
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to