Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

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'.

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.