LFS-MIRROR-READ(1)

NAME
lfs-mirror-read - read a mirror's content of a mirrored file

SYNOPSIS
lfs mirror read {--mirror-id|-N <mirror_id>} [--outfile|-o <output_file>] <mirrored_file>

DESCRIPTION
This command reads the content of a file's mirror, the file is specified by the path name mirrored_file, the mirror is specified by its mirror ID mirror_id.
If an output_file is specified, the content will be written to the file, otherwise the standard output stream will be used.

OPTIONS

--mirror-id|-N <mirror_id>
    This option indicates the content of which mirror specified by mirror_id needs to be read. The mirror_id is the numerical unique identifier for a mirror.

--outfile|-o <output_file>
    The path name of the output file, if not specified, the standard output stream will be used.

EXAMPLES

lfs mirror read --mirror-id 3 /mnt/lustre/file1
    Dump the content of mirror with mirror ID 3 for /mnt/lustre/file1 to STDOUT.

lfs mirror read -N 2 -o /tmp/m2 /mnt/lustre/file1
    Dump the content of mirror with mirror ID 2 for /mnt/lustre/file1 to file /tmp/m2.

AUTHOR
The lfs mirror read command is part of the Lustre filesystem.

SEE ALSO
lfs(1), lfs-setstripe(1), lfs-getstripe(1), lfs-mirror-create(1), lfs-mirror-extend(1), lfs-mirror-split(1), lfs-mirror-verify(1) lfs-mirror-write(1) lfs-mirror-copy(1)