linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Unknown PV missing ?
@ 2019-02-17 14:57 Georges Giralt
  2019-02-18  2:06 ` Roger Heflin
  0 siblings, 1 reply; 2+ messages in thread
From: Georges Giralt @ 2019-02-17 14:57 UTC (permalink / raw)
  To: LVM general discussion and development

Hello,

I've this computer running since a very long time on the same LVM 
configuration consisting of 2 PV  and one VG onto which the whole system 
is installed (it is bare metal running now Ubuntu 18.04.2 LTS.).

Every time I do an upgrade-grub, I get the following message :

======================

Création du fichier de configuration GRUB…
/usr/sbin/grub-probe : attention : Impossible de trouver le volume 
physique « pv0 ». Certains modules risquent de manquer dans l'image de 
base..
Image Linux trouvée : /boot/vmlinuz-4.18.0-15-generic

======================

IF I do a pvscan -v I get this :

======================

# pvscan  -v
     Wiping internal VG cache
     Wiping cache of LVM-capable devices
   PV /dev/md1         VG vg0             lvm2 [<291,91 GiB / 126,66 GiB 
free]
   PV /dev/nvme0n1p1   VG vg0             lvm2 [<119,24 GiB / <91,80 GiB 
free]
   Total: 2 [411,14 GiB] / in use: 2 [411,14 GiB] / in no VG: 0 [0   ]
#

And this is the extract of vgdisplay -v pertaining to PVs

=======================
   --- Physical volumes ---
   PV Name               /dev/md1
   PV UUID               gcjLSH-3lL5-NjBq-QdYh-vddQ-pwlg-UmEiZs
   PV Status             allocatable
   Total PE / Free PE    74728 / 32426

   PV Name               /dev/nvme0n1p1
   PV UUID               UGWM1s-GSly-Riyp-3hfE-s2nr-ng2E-wNuTVS
   PV Status             allocatable
   Total PE / Free PE    30525 / 23500

#

========================

Nowhere is a "pv0" referenced. So I wonder what is this pv0 and from 
where it comes ?

Could you, please, help me get rid of this message ?

Because it puzzle me since a long time and I can't find how to suppress it.

Many thanks in advance for your help and advice.


-- 
"If a man empties his purse into his head, no man can take it away from him.
An investment in knowledge always pays the best interest"


Benjamin Franklin.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] Unknown PV missing ?
  2019-02-17 14:57 [linux-lvm] Unknown PV missing ? Georges Giralt
@ 2019-02-18  2:06 ` Roger Heflin
  0 siblings, 0 replies; 2+ messages in thread
From: Roger Heflin @ 2019-02-18  2:06 UTC (permalink / raw)
  To: LVM general discussion and development

pv0 the first pv in the vg, internally lvm keeps track of disks that way.

It is an md device, do you have the md modules and pieces needed for
boot in your dracut.conf and/or dracut.conf.d files?

On Sun, Feb 17, 2019 at 8:58 AM Georges Giralt <georges.giralt@free.fr> wrote:
>
> Hello,
>
> I've this computer running since a very long time on the same LVM
> configuration consisting of 2 PV  and one VG onto which the whole system
> is installed (it is bare metal running now Ubuntu 18.04.2 LTS.).
>
> Every time I do an upgrade-grub, I get the following message :
>
> ======================
>
> Création du fichier de configuration GRUB…
> /usr/sbin/grub-probe : attention : Impossible de trouver le volume
> physique « pv0 ». Certains modules risquent de manquer dans l'image de
> base..
> Image Linux trouvée : /boot/vmlinuz-4.18.0-15-generic
>
> ======================
>
> IF I do a pvscan -v I get this :
>
> ======================
>
> # pvscan  -v
>      Wiping internal VG cache
>      Wiping cache of LVM-capable devices
>    PV /dev/md1         VG vg0             lvm2 [<291,91 GiB / 126,66 GiB
> free]
>    PV /dev/nvme0n1p1   VG vg0             lvm2 [<119,24 GiB / <91,80 GiB
> free]
>    Total: 2 [411,14 GiB] / in use: 2 [411,14 GiB] / in no VG: 0 [0   ]
> #
>
> And this is the extract of vgdisplay -v pertaining to PVs
>
> =======================
>    --- Physical volumes ---
>    PV Name               /dev/md1
>    PV UUID               gcjLSH-3lL5-NjBq-QdYh-vddQ-pwlg-UmEiZs
>    PV Status             allocatable
>    Total PE / Free PE    74728 / 32426
>
>    PV Name               /dev/nvme0n1p1
>    PV UUID               UGWM1s-GSly-Riyp-3hfE-s2nr-ng2E-wNuTVS
>    PV Status             allocatable
>    Total PE / Free PE    30525 / 23500
>
> #
>
> ========================
>
> Nowhere is a "pv0" referenced. So I wonder what is this pv0 and from
> where it comes ?
>
> Could you, please, help me get rid of this message ?
>
> Because it puzzle me since a long time and I can't find how to suppress it.
>
> Many thanks in advance for your help and advice.
>
>
> --
> "If a man empties his purse into his head, no man can take it away from him.
> An investment in knowledge always pays the best interest"
>
>
> Benjamin Franklin.
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-02-18  2:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-17 14:57 [linux-lvm] Unknown PV missing ? Georges Giralt
2019-02-18  2:06 ` Roger Heflin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).