Stefan Monnier: >>> - You have the structural consistency of the file system itself >>> (directory structure, partial writes to files, superblock, etc). >>> LVM and other snapshotters help you with that. >> I was always under the impression that an LVM snapshot is not better >> than an unclean filesystem, like for example after a power loss. But >> this 20 year old document proved me wrong: >> >> https://tldp.org/HOWTO/LVM-HOWTO/snapshotintro.html > > Indeed, but filesystems have worked hard (by carefully ordering writes > and with the use of journaling) to make sure the "disk" is always in > a consistent state in the case of a power loss.
Yes, but in this case the filesystem is still considered "unclean" and
needs a (quick) fsck before mounting it.
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.
J.
--
If I could have anything in the world it would have to be more money.
[Agree] [Disagree]
<http://archive.slowlydownward.com/NODATA/data_enter2.html>
signature.asc
Description: PGP signature

