Whamcloud - gitweb
becc7968daabb6ec6dd53b1043a079dc87f63a12
[fs/lustre-release.git] / lustre / doc / lfs-mirror-dump.1
1 .TH LFS-MIRROR-DUMP 1 2018-08-16 "Lustre" "Lustre Utilities"
2 .SH NAME
3 lfs mirror dump \- dump a mirror's content of a mirrored file
4 .SH SYNOPSIS
5 .B lfs mirror dump
6 <\fB\-\-mirror-id|\-N\fR <\fImirror_id\fR>>
7 [\fB\-\-outfile|\-o\fR <\fIoutput_file\fR>]
8 <\fImirrored_file\fR>
9 .SH DESCRIPTION
10 This command dumps 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 .br
14 If an \fIoutput_file\fR is specified, the content will be written to the file,
15 otherwise the standard output stream will be used.
16 .SH OPTIONS
17 .TP
18 .BR \-\-mirror-id|\-N\fR\ <\fImirror_id\fR>
19 This option indicates the content of which mirror specified by \fImirror_id\fR
20 needs to be dumped. The \fImirror_id\fR is the numerical unique identifier for
21 a mirror.
22 .TP
23 .BR \-\-outfile|\-o\fR\ <\fIoutput_file\fR>
24 The path name of the output file, if not specified, the standard output stream
25 will be used.
26 .SH EXAMPLES
27 .TP
28 .B lfs mirror dump --mirror-id 3 /mnt/lustre/file1
29 Dump the content of mirror with mirror ID 3 for /mnt/lustre/file1 to STDOUT.
30 .TP
31 .B lfs mirror dump -N 2 -o /tmp/m2 /mnt/lustre/file1
32 Dump the content of mirror with mirror ID 2 for /mnt/lustre/file1 to file
33 /tmp/m2.
34 .SH AUTHOR
35 The \fBlfs mirror dump\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)