I know pvcreate a LVM physical volume usually on a LVM partition, but I do a pvcreate on a empty ext3 partition accidentally, is this dangerous, do I really need to repartition with LVM format on the target disk?

link|improve this question
Hi, welcome to Stackoverflow. This question is better suited for serverfault.com imho (or unix.stackexchange.com). You can wait a little while to see if this question gets moved there. – ChristopheD Apr 4 '11 at 18:57
feedback

migrated from stackoverflow.com Apr 4 '11 at 19:12

This question came from our site for professional and enthusiast programmers.

1 Answer

It should be fine. I'm pretty sure the "format" you would select in fdisk is really nothing more than a label.

With that said, changing a partition type is an easy process. You only need to use fdisk's 't' command. The type for LVM is '8e'.

link|improve this answer
Some OSes care about partition types, but Linux doesn't (it only looks for signatures inside the partitions) except for extended partitions (i.e. containers for logical partitions). – Gilles Apr 4 '11 at 20:40
feedback

Your Answer

 
or
required, but never shown