LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-25-2024, 06:07 AM   #1
MichielvM
LQ Newbie
 
Registered: Apr 2014
Posts: 4

Rep: Reputation: Disabled
volume group not found


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:
#lvextend -v -r -L 300G /dev/mapper/logvg-loglv
VG name on command line not found in list of VGs: logvg
Volume group "logvg" not found
Cannot process volume group logvg
lsblk -f output:
# lsblk
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
vgs output:
# vgs
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
vgs output shows no logvg.
And it's clearly right ther.
I'm at a loss.
 
Old 04-27-2024, 04:05 AM   #2
MadeInGermany
Senior Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 2,804

Rep: Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203Reputation: 1203
Looks like a corruption in a /etc/lvm/ file e.g. /etc/lvm/lvm.conf

Try to restore the lost vg from the last backup:
Code:
vgcfgrestore logvg
See options in the man page
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
LVM Mount Physical Volume/Logical Volume without a working Volume Group mpivintis Linux - Newbie 10 01-11-2014 07:02 AM
Map/Mount Volume Group Folder to Volume Group Folder??? Led Zappa Linux - Newbie 4 09-21-2013 04:12 PM
I have spce in volume group but it can not increase the size of logical volume anis123 Linux - Newbie 14 04-16-2012 06:23 AM
[SOLVED] Redhat volume group,logical volume group dhairysheel Red Hat 3 08-02-2011 05:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration