4.10. Suspending Activity on a File System
You can suspend write activity to a file system by using the
gfs2_tool freeze
command. Suspending write activity allows hardware-based device snapshots to be used to capture the file system in a consistent state. The gfs2_tool unfreeze
command ends the suspension.
Usage
Start Suspension
gfs2_tool freeze MountPoint
End Suspension
gfs2_tool unfreeze MountPoint
MountPoint
- Specifies the file system.
Examples
This example suspends writes to file system
/mygfs2
.
gfs2_tool freeze /mygfs2
This example ends suspension of writes to file system
/mygfs2
.
gfs2_tool unfreeze /mygfs2