[Bug 1662661] Re: /usr/sbin/grub-probe: warning: Couldn't find physical volume `pv1'.

Joseph Dalrymple 1662661 at bugs.launchpad.net
Mon Jan 20 05:54:20 UTC 2025


Running into this as well with partitionless lvm.

```
# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
/usr/bin/grub-probe: warning: Couldn't find physical volume `pv1'. Some modules may be missing from core image..
...truncated...
Adding boot menu entry for UEFI Firmware Settings ...
done
```

The resulting grub.cfg is effectively empty and non-functional.

```
# lsblk -f

NAME                                  FSTYPE            FSVER    LABEL                UUID                                   FSAVAIL FSUSE% MOUNTPOINTS
sda                                   crypto_LUKS       2                             04bdf5ca-6bc6-4d1f-996c-a9b4aab6e8d5
└─burnell-sgr-1806-20                 LVM2_member       LVM2 001                      1yRd6R-O2e7-LpuF-Bta9-fq9Q-qofZ-LKpVA7
  ├─jocelyn-saggitarius_cpool_cmeta
  │ └─jocelyn-aquila                  ext4              1.0                           6e641e1e-38e3-480a-98eb-f1b8e86cc105    583.9G    77% /
  └─jocelyn-aquila_corig
    └─jocelyn-aquila                  ext4              1.0                           6e641e1e-38e3-480a-98eb-f1b8e86cc105    583.9G    77% /
sdb
├─sdb1                                vfat              FAT32                         6AC7-D20C                              1020.5M     0% /boot/efi
└─sdb2                                crypto_LUKS       1                             54a71b20-6378-47db-87d7-77cbcbc26d9e
  └─bulwark                           ext4              1.0                           61424289-899e-4bd0-88c5-cc5eedebcf48       26G     1% /boot
nvme1n1                               crypto_LUKS       2                             7b1f4399-d263-4343-9c67-70b491c0a603
└─burnell-hulse                       linux_raid_member 1.2      psr-b1913+16 883d682c-070b-9263-344c-6dd51690056a
  └─md127                             LVM2_member       LVM2 001                      rDvKfL-B0lI-266M-3g77-mZeY-x9BT-GechmX
    ├─jocelyn-saggitarius_cpool_cdata
    │ └─jocelyn-aquila                ext4              1.0                           6e641e1e-38e3-480a-98eb-f1b8e86cc105    583.9G    77% /
    └─jocelyn-swap                    swap              1                             475a7d85-9a41-44bc-9839-f1cb7fc6eee1                  [SWAP]
nvme0n1                               crypto_LUKS       2                             4731acae-ebdb-4eb7-aa00-cdc95747fb58
└─burnell-taylor                      linux_raid_member 1.2      psr-b1913+16 883d682c-070b-9263-344c-6dd51690056a
  └─md127                             LVM2_member       LVM2 001                      rDvKfL-B0lI-266M-3g77-mZeY-x9BT-GechmX
    ├─jocelyn-saggitarius_cpool_cdata
    │ └─jocelyn-aquila                ext4              1.0                           6e641e1e-38e3-480a-98eb-f1b8e86cc105    583.9G    77% /
    └─jocelyn-swap                    swap              1                             475a7d85-9a41-44bc-9839-f1cb7fc6eee1                  [SWAP]


# pvdisplay
  --- Physical volume ---
  PV Name               /dev/mapper/burnell-sgr-1806-20
  VG Name               jocelyn
  PV Size               <3.64 TiB / not usable <3.84 MiB
  Allocatable           yes
  PE Size               4.00 MiB
  Total PE              953857
  Free PE               95362
  Allocated PE          858495
  PV UUID               1yRd6R-O2e7-LpuF-Bta9-fq9Q-qofZ-LKpVA7

  --- Physical volume ---
  PV Name               /dev/md127
  VG Name               jocelyn
  PV Size               1.86 TiB / not usable 0
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              488306
  Free PE               0
  Allocated PE          488306
  PV UUID               rDvKfL-B0lI-266M-3g77-mZeY-x9BT-GechmX

# vgdisplay
  --- Volume group ---
  VG Name               jocelyn
  System ID
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  19
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               5.50 TiB
  PE Size               4.00 MiB
  Total PE              1442163
  Alloc PE / Size       1346801 / <5.14 TiB
  Free  PE / Size       95362 / <372.51 GiB
  VG UUID               Nfg53c-6vsH-1eNP-Mmud-wcyO-RMzL-KYxWXM

# lvdisplay
  --- Logical volume ---
  LV Path                /dev/jocelyn/aquila
  LV Name                aquila
  VG Name                jocelyn
  LV UUID                nmUpJH-ckol-OB6E-NsET-IT9N-43nZ-r8lPlj
  LV Write Access        read/write
  LV Creation host, time jdalrymple-arch1, 2023-07-30 19:24:38 -0500
  LV Cache pool name     saggitarius_cpool
  LV Cache origin name   aquila_corig
  LV Status              available
  # open                 1
  LV Size                3.27 TiB
  Cache used blocks      99.99%
  Cache metadata blocks  23.65%
  Cache dirty blocks     0.00%
  Cache read hits/misses 317717689 / 10527082
  Cache wrt hits/misses  886013932 / 12440447
  Cache demotions        1321
  Cache promotions       1456
  Current LE             858471
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     32768
  Block device           254:6

  --- Logical volume ---
  LV Path                /dev/jocelyn/swap
  LV Name                swap
  VG Name                jocelyn
  LV UUID                M72bOf-HTSB-LlTa-eUkV-MlZu-pFMB-ICvgEn
  LV Write Access        read/write
  LV Creation host, time archiso, 2023-08-01 21:29:08 -0500
  LV Status              available
  # open                 1
  LV Size                16.00 GiB
  Current LE             4096
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     32768
  Block device           254:7
```

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1662661

Title:
  /usr/sbin/grub-probe: warning: Couldn't find physical volume `pv1'.

Status in grub2 package in Ubuntu:
  Confirmed

Bug description:
  This warning started appearing after adding a new disk to the VM and using the GUI logical volume manager to add it to the existing volume group.
  It does not cause issues, other than erroneously displaying incorrect information.

  Linux ubu16svr 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
  Running in VM under ESXi5
  Completely up-to-date as of 2/7/2017.

  root at ubu16svr:/usr/bin# lsb_release -rd
  Description:	Ubuntu 16.04.1 LTS
  Release:	16.04

  root at ubu16svr:/boot/grub# apt-cache policy grub-common
  grub-common:
    Installed: 2.02~beta2-36ubuntu3.6
    Candidate: 2.02~beta2-36ubuntu3.7
    Version table:
       2.02~beta2-36ubuntu3.7 500
          500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
   *** 2.02~beta2-36ubuntu3.6 100
          100 /var/lib/dpkg/status
       2.02~beta2-36ubuntu3 500
          500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

  root at ubu16svr:/usr/bin# df -h
  Filesystem                     Size  Used Avail Use% Mounted on
  udev                           7.9G     0  7.9G   0% /dev
  tmpfs                          1.6G  9.4M  1.6G   1% /run
  /dev/mapper/ubu16svr--vg-root   33G  4.6G   27G  15% /
  tmpfs                          7.9G  176K  7.9G   1% /dev/shm
  tmpfs                          5.0M     0  5.0M   0% /run/lock
  tmpfs                          7.9G     0  7.9G   0% /sys/fs/cgroup
  tmpfs                          7.9G     0  7.9G   0% /run/shm
  /dev/sda1                      472M  113M  335M  26% /boot
  /dev/mapper/ubu16svr--vg-u      50G  6.2G   41G  14% /u
  tmpfs                          1.6G   28K  1.6G   1% /run/user/112
  tmpfs                          1.6G     0  1.6G   0% /run/user/0

  root at ubu16svr:/usr/bin# pvdisplay
    --- Physical volume ---
    PV Name               /dev/sda5
    VG Name               ubu16svr-vg
    PV Size               49.52 GiB / not usable 2.00 MiB
    Allocatable           yes (but full)
    PE Size               4.00 MiB
    Total PE              12677
    Free PE               0
    Allocated PE          12677
    PV UUID               0oMBEX-ic7t-FTdn-cLu7-KPiL-7oDp-mbKZGu
     
    --- Physical volume ---
    PV Name               /dev/sdb
    VG Name               ubu16svr-vg
    PV Size               50.00 GiB / not usable 4.00 MiB
    Allocatable           yes (but full)
    PE Size               4.00 MiB
    Total PE              12799
    Free PE               0
    Allocated PE          12799
    PV UUID               QkmmnW-Pdgm-L22d-ry2O-4RD6-eJc1-tcFtZc

  root at ubu16svr:/usr/bin# vgdisplay
    --- Volume group ---
    VG Name               ubu16svr-vg
    System ID             
    Format                lvm2
    Metadata Areas        2
    Metadata Sequence No  5
    VG Access             read/write
    VG Status             resizable
    MAX LV                0
    Cur LV                3
    Open LV               3
    Max PV                0
    Cur PV                2
    Act PV                2
    VG Size               99.52 GiB
    PE Size               4.00 MiB
    Total PE              25476
    Alloc PE / Size       25476 / 99.52 GiB
    Free  PE / Size       0 / 0   
    VG UUID               8U9kUQ-3OKE-MkU7-feOI-99jh-R5Rm-f7LVfp

  root at ubu16svr:/usr/bin# lvdisplay
    --- Logical volume ---
    LV Path                /dev/ubu16svr-vg/root
    LV Name                root
    VG Name                ubu16svr-vg
    LV UUID                mJ1QGk-GRIq-UevN-1Pz3-3cJV-67eC-joF4hX
    LV Write Access        read/write
    LV Creation host, time ubu16svr, 2016-09-01 11:00:07 -0400
    LV Status              available
    # open                 1
    LV Size                33.52 GiB
    Current LE             8581
    Segments               1
    Allocation             inherit
    Read ahead sectors     auto
    - currently set to     256
    Block device           252:0
     
    --- Logical volume ---
    LV Path                /dev/ubu16svr-vg/swap_1
    LV Name                swap_1
    VG Name                ubu16svr-vg
    LV UUID                hfxDTL-4c3c-tX8Y-vfQ2-0qjq-7fCK-a5NCE8
    LV Write Access        read/write
    LV Creation host, time ubu16svr, 2016-09-01 11:00:08 -0400
    LV Status              available
    # open                 2
    LV Size                16.00 GiB
    Current LE             4096
    Segments               1
    Allocation             inherit
    Read ahead sectors     auto
    - currently set to     256
    Block device           252:1
     
    --- Logical volume ---
    LV Path                /dev/ubu16svr-vg/u
    LV Name                u
    VG Name                ubu16svr-vg
    LV UUID                uyyGK8-ju2p-MFWV-cjR3-8zPi-UItn-dfA4kh
    LV Write Access        read/write
    LV Creation host, time ubu16svr, 2017-01-23 17:10:17 -0500
    LV Status              available
    # open                 1
    LV Size                50.00 GiB
    Current LE             12799
    Segments               1
    Allocation             inherit
    Read ahead sectors     auto
    - currently set to     256
    Block device           252:2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1662661/+subscriptions




More information about the foundations-bugs mailing list