Freeze and unfreeze a filesystem for a snapshot.
IntermediateProductionRapid-Fire Commands
Answer
sudo fsfreeze -f /data
# take EBS/LVM snapshot here
sudo fsfreeze -u /data
Writers block while frozen, so keep the window to seconds and always unfreeze in a trap.
More on Rapid-Fire Commands
Which process is listening on port 8080?BeginnerShow the top 10 memory-consuming processes.BeginnerFind files larger than 1 GiB on the root filesystem only.BeginnerShow failed systemd units.BeginnerShow the last 10 reboots and shutdowns.BeginnerShow failed SSH login attempts by source IP.Intermediate