LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-11-2019, 05:05 AM   #1
Shootinputin89
LQ Newbie
 
Registered: Feb 2019
Posts: 1

Rep: Reputation: Disabled
LVM - Overfilled thinpools


Hi all,

Hopefully this is the right forum for this,

I have been a very happy Qubes 4 (which uses LVM thin pools) user for some time now and have had no issues until the other day. I stupidly allocated a VM too much space and totally filled the volume group, which crippled Qubes. When I would login I couldn't even open the VM manager, let alone the backup.

I have tried fixing the problem by myself using a Linux Mint live-USB (with much googling), and have added a new pv to the vg, but for some reason was not able to expand the vg, move the vg, or even use any command such as lvconvert --repair, vgchange. It turns out that lvm thinks one of the pv is missing (my luks partition), and this stops any attempt of repair, even when using --partial, etc.

I then realised when looking in /etc/lvm/archive that the vg file is listing my first pv as an unknown device with a missing flag. I am figuring this is a result of me having to mount the partition using cryptopen to /dev/mapper/qubes. I subsequently corrected the path and removed the missing flag (using this guide - https://mbroz.fedorapeople.org/talks...vmrecovery.pdf). I then go to restore the corrected .vg file (sudo vgcfgrestore -f /etc/lvm/archive/thevgfile.vg my_vg.. and get told that it cannot restore the vg with thin logical volumes as it is not supported yet and thus the restore failed.

I have tried googling my way out of this once again, but I'm afraid I am stuck. I know the pv's are all fine, and the drives are working well (apart from two of the pv being totally full).

Am I out of luck with this, or is there a way of correcting the missing vg with thin logical volumes?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible to change non-LVM to LVM? darthfoolish Linux - Software 2 08-01-2008 04:47 AM
LXer: Back Up (And Restore) LVM Partitions With LVM Snapshots LXer Syndicated Linux News 0 04-17-2007 12:16 PM
Big Problem with overfilled directory davesbedroom Linux - Software 11 01-19-2005 04:38 PM
To LVM or not to LVM? illtbagu Linux - Software 3 12-29-2003 05:17 PM
Overfilled message queue. I need very ugent help! J_Szucs Linux - Software 2 05-23-2002 10:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration