Re: " Failed to find physical volume <ZFS block device"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Zdenek,

so it might be that metadata is corrupted somehow and hence the pvs program doesn't recognize that partition as physical volume?
That may explain why lvmdiskscan reports physical disks (by just looking at the partition type 8e) and pvs completely ignores it.
Am I correct?

Alex


Le jeu. 23 sept. 2021 à 15:52, Zdenek Kabelac <zkabelac@xxxxxxxxxx> a écrit :
Dne 22. 09. 21 v 18:48 alessandro macuz napsal(a):
> 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?
>
>

Hi

Yes - PVs do have header signature keeping information about PV attributes
and also has the storage area to keep lvm2 metadata.

Partition flags known to fdisk are irrelevant.


Regards

Zdenek

_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux