<div dir="ltr">Hi Team!<div>A very good day to you.</div><div>I want to understand how lvm concurrent calls between create and remove for lvm volumes are handled.</div><div><br>Very rarely, I see that when create and remove lvm volume (over a thin pool) run in parallel, lvm create fails with no vg. Looking at lvm metadata debug logs, they seem slightly different with</div><div>pv gone, removing empty VG, moving PV to #orphan, and a vg_update which</div><div>eventually brings back everything.<br><br>How is this race between create and remove handled or more generally if it applies, how are concurrent calls over lvm protected for consistency?<br>Are applications supposed to handle this? I would assume no.</div><div><br></div><div>My environment is convoluted and may not apply directly, but your help in pointing to current design and usage rules will help me immensely.<br><br></div><div>Best regards<br></div><div>LN</div><div>* my environment involves containers.<br></div></div>