Whamcloud - gitweb
LU-12635 build: Support for gcc -Wimplicit-fallthrough
[fs/lustre-release.git] / lustre / doc / lfs-mirror-write.1
1 .TH LFS-MIRROR-WRITE 1 2018-09-23 "Lustre" "Lustre Utilities"
2 .SH NAME
3 lfs mirror write \- write a mirror's content of a mirrored file
4 .SH SYNOPSIS
5 .B lfs mirror write
6 {\fB\-\-mirror-id|\-N\fR <\fImirror_id\fR>}
7 [\fB\-\-inputfile|\-i\fR <\fIinput_file\fR>]
8 <\fImirrored_file\fR>
9 .SH DESCRIPTION
10 This command writes the content of a file's mirror, the file is specified by the
11 path name \fImirrored_file\fR, the mirror is specified by its mirror ID
12 \fImirror_id\fR.
13 .SH OPTIONS
14 .TP
15 .BR \-\-mirror-id|\-N\fR\ <\fImirror_id\fR>
16 This option indicates the content of which mirror specified by \fImirror_id\fR
17 needs to be written. The \fImirror_id\fR is the numerical unique identifier for
18 a mirror.
19 .TP
20 .BR \-\-inputfile|\-i\fR\ <\fIinput_file\fR>
21 The path name of the input file, if not specified, the standard input stream
22 will be used. The input stream or input_file cannot be the same mirrored file
23 as the \fImirrored_file\fR. if you'd like to copy a mirror's content to
24 another mirror of the same mirrored file, use \fBlfs mirror copy\fR command.
25 .SH EXAMPLES
26 .TP
27 .B lfs mirror write --mirror-id 3 /mnt/lustre/file1 < /tmp/m2
28 Write the content of /mnt/m2 to the mirror with miro ID 3 for
29 /mnt/lustre/file1.
30 .TP
31 .B lfs mirror write -N2 -i /tmp/m2 /mnt/lustre/file1
32 Write the content of /mnt/m2 to the mirror with mirror ID 2 for
33 /mnt/lustre/file1.
34 .SH AUTHOR
35 The \fBlfs mirror write\fR command is part of the Lustre filesystem.
36 .SH SEE ALSO
37 .BR lfs (1),
38 .BR lfs-setstripe (1),
39 .BR lfs-getstripe (1),
40 .BR lfs-mirror-create (1),
41 .BR lfs-mirror-extend (1),
42 .BR lfs-mirror-split (1),
43 .BR lfs-mirror-verify (1),
44 .BR lfs-mirror-read (1)
45 .BR lfs-mirror-copy (1)