<div dir="ltr">Hi folks, as various issues with duplicates are being solved, I wondered if it would be beneficial to include things like atime/mtime in metadata.<div><br></div><div>Actually mtime is already there in the VG metadata: seqno + timestamp.</div><div><br></div><div>So what would atime be?</div><div>Store a timestamp on activation of an LV in the VG? Write on any lvm operation? Or write timestamp more frequently when there are active devices?</div><div><br></div><div>atime should be stored in PV metadata, even if there is no VG MDA - these would benefit the most as there is no VG MDA and thus no "mtime".</div><div><br></div><div>When there are duplicates higher atime would be almost certainly the correct device, unless user intends to use a LUN's snapshot, but that would require an input from user anyway.</div><div><div><br></div><div></div></div><div>User MUST be able to turn it of ("noatime") in case of being slow for hundreds/thousands of PVs.</div><div><br></div><div>Perhaps this would not have to be fsynced all the time, but then there may be a chance for mismatch and for snapshot having higher timestamp than original PV.<br></div><div><div><br></div></div><div>-- Martian</div></div>