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?
migrated from stackoverflow.com Apr 4 '11 at 19:12
This question came from our site for professional and enthusiast programmers.
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'.