On Thu, 7 May 2026 18:51:25 +0200 <[email protected]> wrote: > On Thu, May 07, 2026 at 11:53:59AM -0400, Stefan Monnier wrote: > > [...] > > > > My point was that LVM actively asks mounted filesystems on LVs > > > that are snapshotted to bring themselves to a consistent (clean) > > > state before it does the snapshot. That was (20 year old) news to > > > me. > > Is there any reference for that? AFAIK LVM doesn't "know" about the > underlying file system (if there is any). > > My guess is it would run 'sync' once or twice before beginning a snapshot, or maybe some more sophisticated equivalent. I think we'd know by now if it didn't.
Applications intended for servers really ought to be designed to be ready for disaster at any time, and try to minimise inconsistencies. Any database being used for an important purpose should be using atomic transactions as far as possible, for example. -- Joe

