You are not logged in.

#1 2023-04-12 05:20:48

Morta
Member
Registered: 2019-07-07
Posts: 660

LVM error due restore of backup

I replaced /dev/md127 with new drives and did vgremove --force -removemissing

Unfortunately it delete my root lvs

How I can restore my lvm with one PV missing?

lsblk

http://0x0.st/hXko.txt

blkid

http://0x0.st/HXkH.txt

ls -lrt /etc/lvm/archive

http://0x0.st/HXkX.txt

vgcfgrestore vg_data -f /etc/lvm/archive/vg_data_00002-1283577682.vg
Couldn't find device with uuid 14GwXp-.....
1 PVs marked as missing
cat /etc/lvm/archive/vg_data_00002-1283577682.vg

http://0x0.st/HXkN.txt

What I have to do?

Last edited by Morta (2023-04-12 05:24:15)

Offline

#2 2023-04-12 16:09:36

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: LVM error due restore of backup

Have someone a solution or idea? Is very needed.

Offline

#3 2023-04-12 16:47:24

frostschutz
Member
Registered: 2013-11-15
Posts: 1,646

Re: LVM error due restore of backup

Your paste link does not work for me.

Your root LV had ~24 Gigabytes allocated on that missing PV. What happened to it? Does it still exist? Gone? What?

Which filesystem?

PS: any chance you just forgot to cryptsetup open that 2nd luks container of yours?! please elaborate more ...

Last edited by frostschutz (2023-04-12 16:54:27)

Offline

#4 2023-04-12 18:21:20

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: LVM error due restore of backup

The links works for me on laptop and mobile.
Have you disabled http?

ext4 on nvme and md127 is empty only a luks container.

When I recreate vg_data-root without restore the data is loss?

Offline

#5 2023-04-13 05:11:25

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: LVM error due restore of backup

100GB are lv root and 24GB are swap of nvme

Offline

#6 2023-04-13 17:14:48

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: LVM error due restore of backup

Could someone from the support team answer? Much appreciated!  I very desperated….

Offline

Board footer

Powered by FluxBB