I try to recover from disk crash, and while doing so, I make a mistake -- now I have to recover from two things.
So the first is recovering previous LVM configuration file for volumne group -- I have the desired file, but I when I run:
I get error:
Couldn't find device with uuid jJ7dXL-2m2j-d0OC-bczy-fQak-YOj7-OhRLlW. Cannot restore Volume Group my_vol_group with 1 PVs marked as missing. Restore failed.
Which is of course true, because this disk is one that crashed. So how to restore config despite the fact I am returning to the "corrupted" scenario anyway? Something like "force restore"?
Update: timeline what happened:
three disks in one LVM group -- I am happy
one of the disk crashes
I removed the faulty disk from my computer
I wanted to remove it from LVM and repair what was left
by mistake I removed entire LV which contained faulty disk
I want to go back to (4)