<div dir="ltr">Hi!<br><br><div class="gmail_quote"><div dir="ltr">On Fri, Oct 7, 2016 at 9:49 AM Giuliano Procida <<a href="mailto:giuliano.procida@gmail.com">giuliano.procida@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Slava, the main problem I had was that LVM forbade many operations<br class="gmail_msg">
while I had a PV missing.<br class="gmail_msg">
<br class="gmail_msg">
In your case, apparently, all PVs are present. So I suggest the following:<br class="gmail_msg">
<br class="gmail_msg">
1. examine the recent history in /etc/lvm/archive<br class="gmail_msg">
2. diff each transition and see if you can understand what has<br class="gmail_msg">
happened at each stage<br class="gmail_msg">
3. vgcfgrestore the most recent version that you think will allow you<br class="gmail_msg">
to activate your array, you can work backwards incrementally<br class="gmail_msg">
4. check kernel logs!<br class="gmail_msg">
5. scrub (resync) the array if needed<br class="gmail_msg"></blockquote><div><br></div><div>Since I cannot resync manually using your code and there are not MISSING flags in /etc/lvm/archive and the different event count for the three rmetas it seems it would not be helpful, would it? </div><div><br></div><div>I diffed the status quo of /etc/lvm/archive with the state before the troubles and there is no significant difference and there is no difference in IDs and no MISSING flags.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br class="gmail_msg">
Hope this helps,<br class="gmail_msg">
Giuliano.<br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
linux-lvm mailing list<br class="gmail_msg">
<a href="mailto:linux-lvm@redhat.com" class="gmail_msg" target="_blank">linux-lvm@redhat.com</a><br class="gmail_msg">
<a href="https://www.redhat.com/mailman/listinfo/linux-lvm" rel="noreferrer" class="gmail_msg" target="_blank">https://www.redhat.com/mailman/listinfo/linux-lvm</a><br class="gmail_msg">
read the LVM HOW-TO at <a href="http://tldp.org/HOWTO/LVM-HOWTO/" rel="noreferrer" class="gmail_msg" target="_blank">http://tldp.org/HOWTO/LVM-HOWTO/</a><br class="gmail_msg">
</blockquote></div></div>