Hi,
I'm having problems trying to create a physical volume. This is my scenario.
I have configured this layout:
pvscan
PV /dev/sdg1 VG REDO01 lvm2 [10.00 GiB / 0 free]
PV /dev/sdf1 VG ORAFRA lvm2 [75.00 GiB / 0 free]
PV /dev/sdi1 VG ORAFRA lvm2 [10.00 GiB / 10.00 GiB free]
PV /dev/sdb1 VG SYSTEM lvm2 [49.99 GiB / 0 free]
PV /dev/sdd1 VG ORADATA lvm2 [150.00 GiB / 0 free]
PV /dev/sde1 VG ORABACKUP lvm2 [50.00 GiB / 0 free]
PV /dev/sdc1 VG ORAINSTALL lvm2 [20.00 GiB / 0 free]
PV /dev/sdh1 VG REDO02 lvm2 [10.00 GiB / 0 free]
Total: 8 [374.96 GiB] / in use: 8 [374.96 GiB] / in no VG: 0 [0 ]
now if I want to expand ORAFRA, the plan is to expand /dev/sdf hard drive, and to create one more partition on it:
fdisk -l /dev/sdf
Disk /dev/sdf: 107.4 GB, 107374182400 bytes, 209715200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x05a34f6a
Device Boot Start End Blocks Id System
/dev/sdf1 2048 157286399 78642176 83 Linux
/dev/sdf2 157286400 209715199 26214400 5 Extended
i have also tried to configure /dev/sdf2 as "8e" (Linux LVM type). In both cases (extended and Linux LVM) I get the same when trying to create a new physical volume:
pvcreate /dev/sdf2
Device /dev/sdf2 not found (or ignored by filtering).
I have also tried to change filter setting in /etc/lvm/lvm.conf. Didn't help.
Adding a new Hard Disk and creating a new partition on it allows me to create a new physical volume. I did is with /dev/sdi, and than expanded VG ORAFRA.
The problem seems to happen only if I use multiple partitions on the same hard drive. The Server is running as a VM on VMware.
Any idea how to fix this issue?