Tejas Sumant wrote:
Hi there,
I created a physical volume using pvcreate command on /dev/sda. When I
checked the partition entries in MBR for /dev/sda using fdisk observed
that no partitions were displayed.
The pvcreate command only creates LVM2 labels, it does not update the
MBR or other disk label at all.
Why pvcreate doesnt make partition entry with type 8e in MBR? Which
That's your job ;)
If you chose to use partitions for PVs then you need to create those
partitions and set their type codes appropriately (although LVM2
doesn't actually check/use those type codes anywhere - it's really
more of a "documentation" step these days).
partition entry gets used in case whole disk is made PV?
None of them. If you use the whole disk as a PV it should not have any
MBR at all.
Regards,
Bryn.
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/