Re: [linux-lvm] Discussion: performance issue on event activation mode

2021-10-20 Thread David Teigland
On Wed, Oct 20, 2021 at 02:54:54PM +, Martin Wilck wrote: > I see. The problem with IMPORT (like RUN, actually) is that it's > required to finish quickly, which might not be the case if we encounter > resource shortage / contention as observed by Heming. If that happens, > the programs started

Re: [linux-lvm] Discussion: performance issue on event activation mode

2021-10-20 Thread David Teigland
On Wed, Oct 20, 2021 at 02:40:25PM +, Martin Wilck wrote: > > I began trying to use RUN several months ago and I think I gave up > > trying to find a way to pass values from the RUN program back into the > > udev rule (possibly by writing values to a temp file and then doing > > IMPORT{file}). 

Re: [linux-lvm] Recovering "broken" disk ( 17th )

2021-10-20 Thread Brian McCullough
On Tue, Oct 19, 2021 at 05:06:37AM -0500, Roger Heflin wrote: > I would edit the vgconfig you dd'ed with an editor and make sure it looks > reasonable for what you think you had. It turns out, comparing the information that I pulled off of the drive with what I find in /etc/lvm/backup, that the

Re: [linux-lvm] Recovering "broken" disk ( 17th )

2021-10-20 Thread Roger Heflin
I would edit the vgconfig you dd'ed with an editor and make sure it looks reasonable for what you think you had. When you do the pvcreate --uuid it won't use anything except the uuid info so the rest may not need to be exactly right, if you have to do a vgcfgrestore to get it to read the rest of