LFS-MIRROR-RESYNC(1)

NAME
lfs-mirror-resync - resynchronize an out-of-sync mirrored file

SYNOPSIS
lfs mirror resync [--only <mirror_id[,...]>] <mirrored_file> [<mirrored_file2>...]

DESCRIPTION
This command resynchronizes out-of-sync mirrored file(s) specified by the path name mirrored_file.
If there is no stale mirror for the mirrored_file(s), then the command does nothing. Otherwise, it will copy data from synced mirror to stale mirror(s), and mark all successfully copied mirror(s) as SYNC.
If --only option is not specified, the nosync mirror(s) (i.e. components that have this flag set) will not be synced.
If --only <mirror_id[,...]> option is specified, then the command will resynchronize the mirror(s) specified by the mirror_id(s), even nosync mirror(s) will be resynchronized as well. This option cannot be used when multiple mirrored files are specified.

OPTIONS

--only <mirror_id[,...]>
    This option indicates which mirror(s) specified by mirror_id(s) needs to be resynchronized. The mirror_id is the numerical unique identifier for a mirror. Multiple mirror_ids are separated by comma. This option cannot be used when multiple mirrored files are specified.

EXAMPLES

lfs mirror resync /mnt/lustre/file1 /mnt/lustre/file2
    Resynchronize all of the stale and sync-able mirror(s) for /mnt/lustre/file1 and /mnt/lustre/file2.

lfs mirror resync --only 4,5 /mnt/lustre/file1
    Resynchronize mirrors with mirror ID 4 and 5 for /mnt/lustre/file1 even if they are not marked as STALE.

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

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