I've been able to define a physical volume (LVM) in two ways:
- Creating a
8e(Linux LVM type) partition and then# pvcreate /dev/sdb1 - Usign pvcreate directly using a non-partitioned disk and then
# pvcreate /dev/sdc<-- note the lack of number since there aren't any partitions.
My disks are not local, I use both scenarios: SAN provided LUN and VMware provided disks in different systems. We are testing LUN/vmware disk online resizing and everything went fine with the PVs defined using non-partitioned disks but with the partition layer it was impossible to hot-resize them using parted or fdisk.
My question is: why should I bother using 8e partitions if I can use raw disks for creating physical volumes and then resizing them online?