1xfs_freeze(8)               System Manager's Manual              xfs_freeze(8)
2
3
4

NAME

6       xfs_freeze - suspend access to an XFS filesystem
7

SYNOPSIS

9       xfs_freeze [ -f | -u ] mount-point
10       xfs_freeze -V
11

DESCRIPTION

13       xfs_freeze  suspends  and  resumes  access  to  an  XFS filesystem (see
14       xfs(5)).
15
16       xfs_freeze halts new access to the  filesystem  and  creates  a  stable
17       image  on disk.  xfs_freeze is intended to be used with volume managers
18       and hardware RAID devices that support the creation of snapshots.
19
20       The mount-point argument is the pathname of  the  directory  where  the
21       filesystem  is  mounted.   The  filesystem must be mounted to be frozen
22       (see mount(8)).
23
24       The -f flag requests the specified XFS filesystem to be frozen from new
25       modifications.   When this is selected, all ongoing transactions in the
26       filesystem are allowed to complete, new write system calls are  halted,
27       other calls which modify the filesystem are halted, and all dirty data,
28       metadata, and  log  information  are  written  to  disk.   Any  process
29       attempting to write to the frozen filesystem will block waiting for the
30       filesystem to be unfrozen.
31
32       Note that even after  freezing,  the  on-disk  filesystem  can  contain
33       information on files that are still in the process of unlinking.  These
34       files will not be unlinked until the filesystem is unfrozen or a  clean
35       mount of the snapshot is complete.
36
37       The -u flag is used to un-freeze the filesystem and allow operations to
38       continue.  Any filesystem modifications that were blocked by the freeze
39       are unblocked and allowed to complete.
40
41       The -V flag prints the version number and exits.
42
43       Unless -V is specified, one of -f or -u must be supplied to xfs_freeze.
44

NOTES

46       A  copy  of  a frozen XFS filesystem will usually have the same univer‐
47       sally unique identifier (UUID) as the original, and thus  may  be  pre‐
48       vented  from being mounted.  The XFS nouuid mount option can be used to
49       circumvent this issue.
50
51       In Linux kernel version 2.6.29, the interface which XFS uses to  freeze
52       and unfreeze was elevated to the VFS, so that this tool can now be used
53       on many other Linux filesystems.
54

SEE ALSO

56       xfs(5), lvm(8), mount(8).
57
58
59
60                                                                 xfs_freeze(8)
Impressum