[linux-lvm] Strange behavior

Georges Giralt georges.giralt at free.fr
Sat Nov 18 16:26:16 UTC 2017


Hello !

Ubuntu 16.04.3 LTS with all updates applied.

Mdadm gets updated.

Then grub is updated to reflect the changes.

Got this message :

root at menfin:/etc/lvm# update-grub
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.4.0-98-generic
Image mémoire initiale trouvée : /boot/initrd.img-4.4.0-98-generic
Image Linux trouvée : /boot/vmlinuz-4.4.0-97-generic
Image mémoire initiale trouvée : /boot/initrd.img-4.4.0-97-generic
Image Linux trouvée : /boot/vmlinuz-3.19.0-66-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-66-generic
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
fait

The pv0 device is (according to the lvm conf) :

        physical_volumes {

                 pv0 {
                         id = "gcjLSH-3lL5-NjBq-QdYh-vddQ-pwlg-UmEiZs"
                         device = "/dev/md1"     # Hint only

                         status = ["ALLOCATABLE"]
                         flags = []
                         dev_size = 612173696    # 291,907 Gigabytes
                         pe_start = 384
                         pe_count = 74728        # 291,906 Gigabytes
                 }

and as per blkid :

/dev/md0: UUID="a27ec3c6-3f64-4133-a600-500ffd37ef6a" TYPE="ext4"
/dev/md1: UUID="gcjLSH-3lL5-NjBq-QdYh-vddQ-pwlg-UmEiZs" TYPE="LVM2_member"

I checked mdstat :

root at menfin:/etc/lvm# cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] 
[raid4] [raid10]
md1 : active raid1 sdb2[2] sdc2[0] sda2[1]
       306087040 blocks [3/3] [UUU]

md0 : active raid1 sdb1[2] sdc1[1] sda1[0]
       6291000 blocks [3/3] [UUU]

unused devices: <none>

So everything is correct.

What do you think of that ?

Thanks 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.




More information about the linux-lvm mailing list