fdisk correctly identifies the extended partition as 8e. I wonder which kind of data lvmdiskscan and pvs use in order to list LVM physical volumes. Does PVS check some specific metadata within the partition without just relying on the type of partition displayed by fdisk?
Alex Le mer. 22 sept. 2021 à 01:36, alessandro macuz <alessandro.ma...@gmail.com> a écrit : > Hi all, > > I sought the web for the error " Failed to find physical volume > "/dev/zd96p5"." but the closest discussion in the LVM archives I found > was one of mine back in 2014 > > https://listman.redhat.com/archives/linux-lvm/2014-June/msg00016.html > > This time though it seems pvs fails to find the physical volume when > lvmdiskscan does recognize it. Do I have to really upgrade lvm2 or is there > another way to have pvs recognize the volume? > > root@server:/etc# lvm version > LVM version: 2.02.133(2) (2015-10-30) > Library version: 1.02.110 (2015-10-30) > Driver version: 4.34.0 > root@ server :/etc# lvmdiskscan -l > WARNING: only considering LVM devices > /dev/sda5 [ 74.05 GiB] LVM physical volume > /dev/zd304p3 [ 19.00 GiB] LVM physical volume > /dev/zd96p5 [ 1023.52 GiB] LVM physical volume > * /dev/zd112p5 [ 1023.52 GiB] LVM physical volume* > 0 LVM physical volume whole disks > 4 LVM physical volumes > root@ server :/etc# pvs -a /dev/zd96p5 > Failed to find physical volume "/dev/zd96p5". > > Thanks, Alex. >
_______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://listman.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/