volume group not found
by MichielvM from LinuxQuestions.org on (#6MBBF)
Hi all,
I have an Azure VM running RHEL 8.9
I want to extend de /log volume. I have done this many times before without too much hassle, until now.
lvextend output:
And it's clearly right ther.
I'm at a loss.
I have an Azure VM running RHEL 8.9
I want to extend de /log volume. I have done this many times before without too much hassle, until now.
lvextend output:
#lvextend -v -r -L 300G /dev/mapper/logvg-loglvlsblk -f output:
VG name on command line not found in list of VGs: logvg
Volume group "logvg" not found
Cannot process volume group logvg
# lsblkvgs output:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 256G 0 disk
logvg-loglv 253:6 0 256G 0 lvm /log
sdb 8:16 0 512G 0 disk
repovg-repolv 253:5 0 512G 0 lvm /repo
sdc 8:32 0 256G 0 disk
sdc1 8:33 0 500M 0 part /boot
sdc2 8:34 0 63G 0 part
rootvg-tmplv 253:0 0 2G 0 lvm /tmp
rootvg-usrlv 253:1 0 10G 0 lvm /usr
rootvg-homelv 253:2 0 1G 0 lvm /home
rootvg-varlv 253:3 0 32G 0 lvm /var
rootvg-rootlv 253:4 0 2G 0 lvm /
sdc14 8:46 0 4M 0 part
sdc15 8:47 0 495M 0 part /boot/efi
sdd 8:48 0 8G 0 disk
sdd1 8:49 0 8G 0 part /mnt
# vgsvgs output shows no logvg.
VG #PV #LV #SN Attr VSize VFree
repovg 1 1 0 wz--n- <512.00g 0
rootvg 1 5 0 wz--n- <63.02g <16.02g
And it's clearly right ther.
I'm at a loss.