Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Software] Volume group "hostname-vg" not found - but booting and mounting OK.

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
postcd
Posts: 133
Joined: 2022-01-08 18:33
Has thanked: 48 times
Been thanked: 2 times

[Software] Volume group "hostname-vg" not found - but booting and mounting OK.

#1 Post by postcd »

During boot: Volume group "hostname-vg" not found

$ sudo vgs

Code: Select all

  VG    #PV #LV #SN Attr   VSize   VFree  
  hostname-vg   1   1   0 wz--n- 111.29g 980.00m

$ grep vg /etc/fstab

Code: Select all

/dev/mapper/hostname--vg-root /               ext4    errors=remount-ro 0       1
#/dev/mapper/hostname--vg-swap_1 none            swap    sw              0       0
$ grep vg /boot/grub/grub.cfg

Code: Select all

    insmod vga
        linux   /vmlinuz-5.19.0-0.deb11.2-amd64 root=/dev/mapper/hostname--vg-root ro  quiet crashkernel=384M-:128M
                linux   /vmlinuz-5.19.0-0.deb11.2-amd64 root=/dev/mapper/hostname--vg-root ro  quiet crashkernel=384M-:128M
                linux   /vmlinuz-5.19.0-0.deb11.2-amd64 root=/dev/mapper/hostname--vg-root ro single 
                linux   /vmlinuz-5.15.0-0.bpo.3-amd64 root=/dev/mapper/hostname--vg-root ro  quiet crashkernel=384M-:128M
                linux   /vmlinuz-5.15.0-0.bpo.3-amd64 root=/dev/mapper/hostname--vg-root ro single 
$ grep vg /etc/grub.d/*

Code: Select all

/etc/grub.d/00_header:    insmod vga
$ df -h

Code: Select all

Filesystem               Size  Used Avail Use% Mounted on
/dev/mapper/hostname--vg-root  109G   93G  9.6G  91% /
...
Maybe the difference in group name (dashes) is normal. Can i fix the not found notification or it is known bug that i should not fix?
Similar, but i do not understand it enough to try something:
https://unix.stackexchange.com/question ... every-boot
https://unix.stackexchange.com/question ... enaming-it

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: [Software] Volume group "hostname-vg" not found - but booting and mounting OK.

#2 Post by p.H »

If the the system is encrypted, this message is normal.
The initramfs tries to activate LVM first, then tries to open encrypted volumes and tries again to activate LVM.
It allows either LVM over encryption or encryption over LVM, and interesting setups such as LVM over encryption over LVM.

Post Reply