<< Back to shouce.jb51.net

9.10. Suspending Activity on a File System

All write activity to a file system can be suspended for a time by using the gfs_tool command's freeze action. The unfreeze action returns the file system to its ordinary state. That feature allows hardware-based device snapshots to be used to capture the file system in a consistent state.

9.10.1. Usage

Freeze Activity

gfs_tool freeze MountPoint

Unfreeze Activity

gfs_tool unfreeze MountPoint

MountPoint

Specifies the file system to freeze or unfreeze.

9.10.2. Examples

This example freezes file system /gfs.

gfs_tool freeze /gfs

This example unfreezes file system /gfs.

gfs_tool unfreeze /gfs