<div dir="ltr"><div>fdisk correctly identifies the extended partition as 8e.</div><div>I wonder which kind of data lvmdiskscan and pvs use in order to list LVM physical volumes.</div><div>Does PVS check some specific metadata within the partition without just relying on the type of partition displayed by fdisk?</div><div><br></div><div>Alex<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 22 sept. 2021 à 01:36, alessandro macuz <<a href="mailto:alessandro.macuz@gmail.com">alessandro.macuz@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><span style="font-family:arial,sans-serif">Hi all,</span></div><div><span style="font-family:arial,sans-serif"><br></span></div><div><span style="font-family:arial,sans-serif">I sought the web for the error " <span style="font-family:monospace">Failed to find physical volume "/dev/zd96p5".</span>" but the closest discussion in the LVM archives I found was one of mine back in 2014<br><br><a href="https://listman.redhat.com/archives/linux-lvm/2014-June/msg00016.html" target="_blank">https://listman.redhat.com/archives/linux-lvm/2014-June/msg00016.html</a><br></span></div><div><br></div><div>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?<br></div><div><span style="font-family:arial,sans-serif"></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">root@server:/etc# lvm version<br>  LVM version:     2.02.133(2) (2015-10-30)<br>  Library version: 1.02.110 (2015-10-30)<br>  Driver version:  4.34.0<br>root@
<span style="font-family:monospace">server</span>

:/etc# lvmdiskscan -l</span></div><div><span style="font-family:monospace"></span></div><span style="font-family:monospace">  WARNING: only considering LVM devices<br>  /dev/sda5             [      74.05 GiB] LVM physical volume<br>  /dev/zd304p3          [      19.00 GiB] LVM physical volume<br>  /dev/zd96p5           [    1023.52 GiB] LVM physical volume<br><b>  /dev/zd112p5          [    1023.52 GiB] LVM physical volume</b><br>  0 LVM physical volume whole disks<br>  4 LVM physical volumes<br>root@
<span style="font-family:monospace">server</span>

:/etc# pvs -a /dev/zd96p5<br>  Failed to find physical volume "/dev/zd96p5".</span><br><br></div>Thanks, Alex.<br></div>
</blockquote></div>