[Bug 1014159] Re: update-grub error: physical volume pv0 not found.
SirG
launchpad at gleizer.net
Fri Aug 2 22:05:42 UTC 2013
Reproducible with:
# grub-probe xyz
, which on my machine produces 4 errors ('xyz' can be any meaningless string, of course):
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
grub-probe: error: failed to get canonical path of xyz.
'grub-prove -v xyz' has these relevant lines:
...
grub-probe: info: Scanning for mdraid09 RAID devices on disk bass-swap_1.
error: physical volume pv0 not found.
grub-probe: info: Scanning for mdraid09 RAID devices on disk bass-root.
error: physical volume pv0 not found.
...
grub-probe: info: Scanning for mdraid1x RAID devices on disk bass-swap_1.
error: physical volume pv0 not found.
grub-probe: info: Scanning for mdraid1x RAID devices on disk bass-root.
error: physical volume pv0 not found.
...
The devices, that appear to trigger the whining, are LVM volumes on a
drive, that has a partition used as a PV; an ext2 boot partition is on
the same drive. There are other volumes, but not on the same PV (but in
the same VG). No RAID is in use on the system.
I am reluctant to do much experimentation with this machine: it's a live
production box.
--
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/1014159
Title:
update-grub error: physical volume pv0 not found.
Status in “grub2” package in Ubuntu:
Confirmed
Bug description:
I am getting lots of error: physical volume pv0 not found when I have
a kernel update. I managed to reproduce the problem with update-grub.
root at server8:~# update-grub
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
Generating grub.cfg ...
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
Found linux image: /boot/vmlinuz-3.2.0-25-generic
Found initrd image: /boot/initrd.img-3.2.0-25-generic
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
error: physical volume pv0 not found.
Found memtest86+ image: /memtest86+.bin
done
# lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04
root at server8:~# vgdisplay -vv
Setting global/locking_type to 1
Setting global/wait_for_locks to 1
File-based locking selected.
Setting global/locking_dir to /var/lock/lvm
Finding all volume groups
/dev/ram0: No label detected
/dev/dm-0: No label detected
/dev/ram1: No label detected
/dev/sda1: No label detected
/dev/ram2: No label detected
/dev/ram3: No label detected
/dev/ram4: No label detected
/dev/ram5: No label detected
/dev/sda5: No label detected
/dev/ram6: No label detected
/dev/sda6: No label detected
/dev/ram7: No label detected
/dev/sda7: lvm2 label detected
/dev/ram8: No label detected
/dev/ram9: No label detected
/dev/ram10: No label detected
/dev/ram11: No label detected
/dev/ram12: No label detected
/dev/ram13: No label detected
/dev/ram14: No label detected
/dev/ram15: No label detected
/dev/sdb: lvm2 label detected
Finding volume group "vg_server8"
Locking /var/lock/lvm/V_vg_server8 RB
/dev/sda7: lvm2 label detected
/dev/sdb: lvm2 label detected
--- Volume group ---
VG Name vg_server8
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 1
Max PV 0
Cur PV 2
Act PV 2
VG Size 339.58 GiB
PE Size 4.00 MiB
Total PE 86932
Alloc PE / Size 84480 / 330.00 GiB
Free PE / Size 2452 / 9.58 GiB
VG UUID IrUtdp-Oeps-hBeW-Ou9w-EWcj-XaFj-dvf0lU
--- Logical volume ---
LV Name /dev/vg_server8/lv_home
VG Name vg_server8
LV UUID kJwNH2-J001-REtG-tAUd-k7Uc-2qMw-LvyE1X
LV Write Access read/write
LV Status available
# open 1
LV Size 330.00 GiB
Current LE 84480
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:0
--- Physical volumes ---
PV Name /dev/sda7
PV UUID gNtuzp-QLgW-gB3u-W0wa-M6cF-DSUB-OpuU5i
PV Status allocatable
Total PE / Free PE 39285 / 2452
PV Name /dev/sdb
PV UUID XnCXZq-le9b-YO6L-tiW4-W2Dg-EsU2-izzrLR
PV Status allocatable
Total PE / Free PE 47647 / 0
Unlocking /var/lock/lvm/V_vg_server8
root at server8:~# lvdisplay
--- Logical volume ---
LV Name /dev/vg_server8/lv_home
VG Name vg_server8
LV UUID kJwNH2-J001-REtG-tAUd-k7Uc-2qMw-LvyE1X
LV Write Access read/write
LV Status available
# open 1
LV Size 330.00 GiB
Current LE 84480
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:0
root at server8:~# df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda6 ext4 29G 21G 7.1G 75% /
udev devtmpfs 7.9G 12K 7.9G 1% /dev
tmpfs tmpfs 3.2G 340K 3.2G 1% /run
none tmpfs 5.0M 8.0K 5.0M 1% /run/lock
none tmpfs 7.9G 0 7.9G 0% /run/shm
/dev/sda1 ext2 228M 27M 189M 13% /boot
/dev/mapper/vg_server8-lv_home ext4 330G 157G 158G 50% /home
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: grub-pc 1.99-21ubuntu3.1
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Sun Jun 17 02:06:08 2012
ProcEnviron:
LANGUAGE=en_US:en
TERM=xterm
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1014159/+subscriptions
More information about the foundations-bugs
mailing list