How to calculate the start of a Physical Extent?

Solution In Progress - Updated -

Issue

  • How to calculate the start of a Physical Extent?
                pv3 {
                        id = "We9qXJ-gm0O-7GxX-hMC1-GgtY-sFg2-DlH0jv"
                        device = "/dev/mapper/mpathh"   # Hint only

                        status = ["ALLOCATABLE"]
                        flags = []
                        dev_size = 209715200    # 100 Gigabytes
                        pe_start = 65535                            <<======== 65535
                        pe_count = 25592        # 99.9688 Gigabytes
  • Why is part of PV is not usable?
  --- Physical volume ---
  PV Name               /dev/mapper/mpathh
  VG Name               asmvg
  PV Size               100.00 GiB / not usable 32.00 MiB   <<=====
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              25592
  Free PE               0
  Allocated PE          25592
  PV UUID               We9qXJ-gm0O-7GxX-hMC1-GgtY-sFg2-DlH0jv

Environment

  • Red Hat Enterprise Linux
    • lvm2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.