lvm metadata sequence number reverts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, I'm deep into debugging an issue we have with a disk driver of ours and LVM.

Long story short:

create vg -> seqno 1
create lv1 -> seqno 2
create lv2 -> seqno 3
create lv3 -> seqno 4
create lv4 -> seqno 5
<clear our device cache> (note, this generates no IO)
vgdisplay: seqno = 4, lv4 is missing

* This happens only after dozens to hundreds of iterations. Most of the time it is fine.

I dd all the metadata blocks off of the pv, yep, seqno5 is on disk metadata area perfectly fine. But the system believes 4 is the current version. Shouldn't the system be using the highest value? Or is it stored somewhere? What mechanism is responsible for changing the seqno? And where does it change it? (Not the metadata contents, just the number)

Thanks,

Aaron
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux