Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

3.9. Suspending Activity on a GFS2 File System

You can suspend write activity to a file system by using the dmsetup suspend command. Suspending write activity allows hardware-based device snapshots to be used to capture the file system in a consistent state. The dmsetup resume command ends the suspension.

用法

Start Suspension
dmsetup suspend MountPoint
End Suspension
dmsetup resume MountPoint
MountPoint
指定文件系统。

示例

这个示例挂起了对文件系统 /mygfs2 的写入动作。
# dmsetup suspend /mygfs2
这个示例终止了对文件系统 /mygfs2 写入动作的挂起。
# dmsetup resume /mygfs2