1FSFREEZE(8)                  System Administration                 FSFREEZE(8)
2
3
4

NAME

6       fsfreeze - suspend access to a filesystem (Ext3/4, ReiserFS, JFS, XFS)
7

SYNOPSIS

9       fsfreeze --freeze|--unfreeze mountpoint
10

DESCRIPTION

12       fsfreeze suspends or resumes access to a filesystem.
13
14       fsfreeze halts any new access to the filesystem and creates a stable
15       image on disk. fsfreeze is intended to be used with hardware RAID
16       devices that support the creation of snapshots.
17
18       fsfreeze is unnecessary for device-mapper devices. The device-mapper
19       (and LVM) automatically freezes a filesystem on the device when a
20       snapshot creation is requested. For more details see the dmsetup(8) man
21       page.
22
23       The mountpoint argument is the pathname of the directory where the
24       filesystem is mounted. The filesystem must be mounted to be frozen (see
25       mount(8)).
26
27       Note that access-time updates are also suspended if the filesystem is
28       mounted with the traditional atime behavior (mount option strictatime,
29       for more details see mount(8)).
30

OPTIONS

32       -f, --freeze
33           This option requests the specified a filesystem to be frozen from
34           new modifications. When this is selected, all ongoing transactions
35           in the filesystem are allowed to complete, new write system calls
36           are halted, other calls which modify the filesystem are halted, and
37           all dirty data, metadata, and log information are written to disk.
38           Any process attempting to write to the frozen filesystem will block
39           waiting for the filesystem to be unfrozen.
40
41           Note that even after freezing, the on-disk filesystem can contain
42           information on files that are still in the process of unlinking.
43           These files will not be unlinked until the filesystem is unfrozen
44           or a clean mount of the snapshot is complete.
45
46       -u, --unfreeze
47           This option is used to un-freeze the filesystem and allow
48           operations to continue. Any filesystem modifications that were
49           blocked by the freeze are unblocked and allowed to complete.
50
51       -V, --version
52           Display version information and exit.
53
54       -h, --help
55           Display help text and exit.
56

FILESYSTEM SUPPORT

58       This command will work only if filesystem supports has support for
59       freezing. List of these filesystems include (2016-12-18) btrfs,
60       ext2/3/4, f2fs, jfs, nilfs2, reiserfs, and xfs. Previous list may be
61       incomplete, as more filesystems get support. If in doubt easiest way to
62       know if a filesystem has support is create a small loopback mount and
63       test freezing it.
64

NOTES

66       This man page is based on xfs_freeze(8).
67

AUTHORS

69       Written by Hajime Taira.
70

SEE ALSO

72       mount(8)
73

REPORTING BUGS

75       For bug reports, use the issue tracker at
76       https://github.com/karelzak/util-linux/issues.
77

AVAILABILITY

79       The fsfreeze command is part of the util-linux package which can be
80       downloaded from Linux Kernel Archive
81       <https://www.kernel.org/pub/linux/utils/util-linux/>.
82
83
84
85util-linux 2.37.2                 2021-06-02                       FSFREEZE(8)
Impressum