Whamcloud - gitweb
LU-9771 flr: lfs mirror create and extend commands
[fs/lustre-release.git] / lustre / doc / lfs-mirror-resync.1
1 .TH LFS-MIRROR-RESYNC 1 2017-07-25 "Lustre" "Lustre Utilities"
2 .SH NAME
3 lfs mirror resync \- resynchronize an out-of-sync mirrored file
4 .SH SYNOPSIS
5 .B lfs mirror resync
6 [\fB\-\-only\fR <\fImirror_id\fR[,...]>]
7 <\fImirrored_file\fR>
8 .SH DESCRIPTION
9 This command resynchronizes an out-of-sync mirrored file specified by the path
10 name \fImirrored_file\fR.
11 .br
12 If there is no stale mirror for the \fImirrored_file\fR, then the command does
13 nothing. Otherwise, it will copy data from synced mirror to stale mirror(s), and
14 mark all successfully copied mirror(s) as SYNC.
15 If \fB\-\-only\fR <\fImirror_id\fR[,...]> option is specified, then the
16 command will resynchronize the mirror(s) specified by the \fImirror_id\fR(s).
17 .SH OPTIONS
18 .TP
19 .BR \-\-only\fR\ <\fImirror_id\fR[,...]>
20 This option indicates which mirror(s) specified by \fImirror_id\fR(s) needs to
21 be resynchronized. The \fImirror_id\fR is the numerical unique identifier for
22 a mirror. Multiple \fImirror_id\fRs are separated by comma.
23 .SH EXAMPLES
24 .TP
25 .B lfs mirror resync /mnt/lustre/file1
26 Resynchronize all of the stale mirror(s) for /mnt/lustre/file1.
27 .TP
28 .B lfs mirror resync --only 4,5 /mnt/lustre/file1
29 Resynchronize mirrors with mirror ID 4 and 5 for /mnt/lustre/file1 even if they
30 are not marked as STALE.
31 .SH AUTHOR
32 The \fBlfs mirror resync\fR command is part of the Lustre filesystem.
33 .SH SEE ALSO
34 .BR lfs (1),
35 .BR lfs-setstripe (1),
36 .BR lfs-mirror-create (1),
37 .BR lfs-mirror-extend (1),
38 .BR lfs-mirror-split (1),
39 .BR lfs-mirror-verify (1)