LFS-MIRROR-WRITE(1)

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

SYNOPSIS
lfs mirror write {--mirror-id|-N <mirror_id>} [--inputfile|-i <input_file>] <mirrored_file>

DESCRIPTION
This command writes 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.

OPTIONS

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

--inputfile|-i <input_file>
    The path name of the input file, if not specified, the standard input stream will be used. The input stream or input_file cannot be the same mirrored file as the mirrored_file. if you'd like to copy a mirror's content to another mirror of the same mirrored file, use lfs mirror copy command.

EXAMPLES

lfs mirror write --mirror-id 3 /mnt/lustre/file1 < /tmp/m2
    Write the content of /mnt/m2 to the mirror with miro ID 3 for /mnt/lustre/file1.

lfs mirror write -N2 -i /tmp/m2 /mnt/lustre/file1
    Write the content of /mnt/m2 to the mirror with mirror ID 2 for /mnt/lustre/file1.

AUTHOR
The lfs mirror write 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-read(1) lfs-mirror-copy(1)