3 ms·
XFS doesn't have snapshot support, so the short answer there is no.
by danudey 3y ago
XFS doesn't have snapshot support, so the short answer there is no.
- mustache_kimono 3y agoShows what I know about XFS. Thanks!
- plq 3y agoThis is only a tangent given we are talking about snapshots and reflink, but just wanted to mention that LVM has snapshots, so if you need XFS snapshots, create the XFS filesystem on top of an LVM logical volume.
- danudey 3y agoIt's worth noting that, while LVM can support snapshots for XFS (or any other filesystem, really), the performance penalty is almost entirely unacceptable (one benchmark[0] shows an up to 60% drop in write throughput), so ideally your process should be something like 1. Snapshot LVM volume 2. Mount the LVM volume and back the snapshot up somewhere else 3. Delete the snapshot as soon as possible Otherwise you're going to lose a ton of performance. [0] https://www.percona.com/blog/disaster-lvm-performance-in-snapshot-mode/ https://www.percona.com/blog/disaster-lvm-performance-in-sna...
- PlutoIsAPlanet 3y agoYou can get psuedo-snapshots on XFS with a tool like https://github.com/aravindavk/reflink-snapshot https://github.com/aravindavk/reflink-snapshot But, it still has to duplicate metadata which depending on the amount of files may cause inconsistency in the snapshot.