~ubuntu-branches/ubuntu/utopic/xfsprogs/utopic-proposed

« back to all changes in this revision

Viewing changes to man/man8/xfs_freeze.8

  • Committer: Bazaar Package Importer
  • Author(s): Nathan Scott
  • Date: 2002-04-13 09:45:06 UTC
  • Revision ID: james.westby@ubuntu.com-20020413094506-t8dhemv41gkeg4kx
Tags: 2.0.3-1
New upstream bugfix release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH xfs_freeze 8
 
2
.SH NAME
 
3
xfs_freeze \- suspend access to an XFS filesystem
 
4
.SH SYNOPSIS
 
5
.nf
 
6
\f3xfs_freeze\f1 [ \f3\-fu\f1 ] mount-point
 
7
.fi
 
8
.SH DESCRIPTION
 
9
.I xfs_freeze
 
10
suspends and resumes access to an XFS filesystem (see
 
11
.IR xfs (5)).
 
12
.PP
 
13
.I xfs_freeze
 
14
halts new access to the filesystem and creates a stable image on disk.
 
15
.I xfs_freeze
 
16
is intended to be used with volume managers and hardware RAID devices
 
17
that support the creation of snapshots.
 
18
.PP
 
19
The
 
20
.I mount-point
 
21
argument is the pathname of the directory where the filesystem
 
22
is mounted.
 
23
The filesystem must be mounted to be frozen (see
 
24
.IR mount (8)).
 
25
.PP
 
26
The \f3\-f\f1 flag requests the specified XFS filesystem to be
 
27
frozen from new modifications.
 
28
When this is selected, all ongoing transactions in the filesystem
 
29
are allowed to complete, new write system calls are halted, other
 
30
calls which modify the filesystem are halted, and all dirty data, 
 
31
metadata, and log information are written to disk.
 
32
Any process attempting to write to the frozen filesystem will block
 
33
waiting for the filesystem to be unfrozen.
 
34
.PP
 
35
Note that even after freezing, the on-disk filesystem can contain
 
36
information on files that are still in the process of unlinking.
 
37
These files will not be unlinked until the filesystem is unfrozen
 
38
or a clean mount of the snapshot is complete.
 
39
.PP
 
40
The \f3\-u\f1 option is used to un-freeze the filesystem and allow
 
41
operations to continue.
 
42
Any filesystem modifications that were blocked by the freeze are
 
43
unblocked and allowed to complete.
 
44
.PP
 
45
One of \f3\-f\f1 or \f3\-u\f1 must be supplied to
 
46
.IR xfs_freeze .
 
47
.SH NOTES
 
48
A copy of a frozen XFS filesystem will usually have the same universally
 
49
unique identifier (UUID) as the original, and thus may be prevented from
 
50
being mounted.
 
51
The XFS \f3nouuid\f1 mount option can be used to circumvent this issue.
 
52
.SH SEE ALSO
 
53
xfs(5),
 
54
lvm(8),
 
55
mount(8).