Can´t activate an inactive LV

Kernels & Hardware, configuring network, installing services

Can´t activate an inactive LV

Postby wineem » 2018-07-12 17:15

Hi!, yesterday my proxmox collapsed, could not manage the virtual machines so I had to restart.
after the restart, the volume group and the lv disks were inactive. So we should try with:

Code: Select all
# lvchange -a y pve/data

He informed us
"Check of pool pvc / data failed (status: 1) Manual repair required!"


Then we made the repair with:

Code: Select all
#lvconvert --repair pve/data


The discs were recovered but I miss one

Code: Select all
#lvscan
ACTIVE '/ dev / pve / swap' [8.00 GiB] inherit
ACTIVE '/ dev / pve / root' [96.00 GiB] inherit
ACTIVE '/ dev / pve / data' [811.21 GiB] inherit
ACTIVE '/ dev / pve / vm-101-disk-1' [60.00 GiB] inherit
ACTIVE '/ dev / pve / vm-102-disk-1' [50.00 GiB] inherit
ACTIVE '/ dev / pve / vm-103-disk-1' [50.00 GiB] inherit
ACTIVE '/ dev / pve / vm-103-disk-2' [60.00 GiB] inherit
inactive '/ dev / pve / vm-103-disk-4' [566.00 GiB] inherit


Code: Select all
#lvdisplay / dev / pve / vm-103-disk-4
--- Logical volume ---
LV Path / dev / pve / vm-103-disk-4
LV Name vm-103-disk-4
VG Name pve
LV UUID QoZbv3-R8Mj-paT3-Pf9M-23QX-2Ail-yzT5iv
LV Write Access read / write
LV Creation host, time node1, 2018-06-08 10:55:39 -0300
LV Pool name data
LV Status NOT available
LV Size 566.00 GiB
Current LE 144896
Segments 1
Allocation inherit
Read ahead auto sectors


When I want to activate the lv separately it informs me:

Code: Select all
#lvchange -a and / dev / pve / vm-103-disk-4

device-mapper: reload ioctl on (253: 10) failed: No data available


Code: Select all
#lvs -v

LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- 811.21g 19.58 1.91
root pve -wi-ao---- 96.00g
swap pve -wi-ao---- 8.00g
vm-101-disk-1 pve Vwi-aotz-- 60.00g data 100.00
vm-102-disk-1 pve Vwi-aotz-- 50.00g data 55.34
vm-103-disk-1 pve Vwi-aotz-- 50.00g data 32.29
vm-103-disk-2 pve Vwi-aotz-- 60.00g data 91.64
vm-103-disk-4 pve Vwi---tz-- 566.00g data


Regards!

EDIT:
Debian version: Debian 6.3.0-18+deb9u1
Proxmox VE is a virtualization platform, it was installed with its iso.
Last edited by wineem on 2018-07-12 23:29, edited 1 time in total.
wineem
 
Posts: 2
Joined: 2018-07-12 16:56

Re: Can´t activate an inactive LV

Postby GarryRicketson » 2018-07-12 17:31

Please learn to use code boxes, without code boxes, I am not even going to try to read all of that, others might, but it is better with code boxes.
Also, What OS are you actually using ? Version, etc.
Beyond that, there just is not enough details to be able to help much,...
Where did you get this "proxmox" ? How it was installed ? and on what ?
Looking at some info, I see it could be on Debian Wheezy, but then again, it could be installed on Debian 8 (jessie), or Debian 9 ,.... ???
User avatar
GarryRicketson
 
Posts: 4872
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Can´t activate an inactive LV

Postby wineem » 2018-07-12 23:34

GarryRicketson wrote:Please learn to use code boxes, without code boxes, I am not even going to try to read all of that, others might, but it is better with code boxes.
Also, What OS are you actually using ? Version, etc.
Beyond that, there just is not enough details to be able to help much,...
Where did you get this "proxmox" ? How it was installed ? and on what ?
Looking at some info, I see it could be on Debian Wheezy, but then again, it could be installed on Debian 8 (jessie), or Debian 9 ,.... ???


Tanks Garry. I edit my question.
I add that in the output of dmesg for the device block 253:10

Code: Select all
device-mapper: table: 253:10: thin: Couldn't open thin internal device
wineem
 
Posts: 2
Joined: 2018-07-12 16:56

Re: Can´t activate an inactive LV

Postby GarryRicketson » 2018-07-13 01:23

Tanks Garry. I edit my question.

Your welcome, that really does look better and is easier to read

Debian 6.3.0-18+deb9u1
Proxmox VE is a virtualization platform, it was installed with its iso

When I looked it up, I saw that, but thank you for telling us
this,
..Now the bad news, Debian 6.3 is really outdated, combined with not being
pure Debian, but a derivative, see:
https://wiki.debian.org/Derivatives/Census/Proxmox
Proxmox VE is a complete server virtualization management solution based on Debian.

Anyway, if you look at the above Debian wiki link, you will see a list of resources, including : https://forum.proxmox.com/
There is nothing wrong with asking here, but I don't think you will get much help here, especially on such a old version. I think you have a better chance of getting some help at the proxmox forum, there might even be members still using this version.
I don't know myself, since I have never used proxmox, all though I did use Debian 6 for some time, several years ago, in fact that was the first version
of Debian I used.
Probably the best thing to do, back up all of your data and install fresh, with the current version of Proxmox: https://pve.proxmox.com/wiki/Installation
User avatar
GarryRicketson
 
Posts: 4872
Joined: 2015-01-20 22:16
Location: Durango, Mexico


Return to System configuration

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable