LFS-MIRROR-COPY(1)
β¨ lfs-mirror-copy(1) β¨
okay so bestie, welcome to the Lustre User Utilities corner of the universe π this is the page for lfs-mirror-copy, and it's literally about copying one mirror's whole vibe to other mirrors of a mirrored file. no cap.
πΈ NAME πΈ
lfs-mirror-copy β copy a mirror's content to other mirror(s) of a mirrored file πͺβ¨
π¦ SYNOPSIS π¦
lfs mirror copy --read-mirror|-i SRC_ID0 --write-mirror|-o
TGT_ID1[,TGT_ID2,...] MIRRORED_FILE
π DESCRIPTION π
This command copies a mirror's content to other mirror(s) of a mirrored file. The way it works is: you point at the file with the path name MIRRORED_FILE, and you pick the mirrors by their mirror ID. that's it, that's the tea β
β¨ OPTIONS β¨
-i,--read-mirrorSRC_ID0β this one says which mirror's content you're reading, identified bySRC_ID0.SRC_ID0is the numerical unique identifier for a mirror. like, the mirror's government name π’-o,--write-mirrorTGT_ID1[,TGT_ID2,...]β this one says which mirror(s) you're writing to, identified by mirror IDs. separate multiple IDs with a comma. and if you use the mirror id-1right here, it means all mirrors other than the read mirror are gonna get written. so-1is the "everybody except my source" energy π (and yes, the exact token is--write-mirrorTGT_ID1when you're not adding extra IDs, iykyk)
π NOTES π
be ware that the written mirror(s) will be marked as non-stale mirror(s). be careful: after using this command, you could get a file with non-stale mirrors while containing different contents. so like, the vibe check passes but the content is lowkey not matching? that's the danger bestie, fr fr π
π EXAMPLES π
Copy the content of mirror with mirror ID 1 to the mirrors with mirror ID 2 and mirror ID 3 in /mnt/lustre/file1:
# lfs mirror copy -i1 -o2,3 /mnt/lustre/file1
Copy the content of mirror with mirror ID 1 to all other mirrors in /mnt/lustre/file1:
# lfs mirror copy -i1 -o-1 /mnt/lustre/file1
π AVAILABILITY π
The lfs mirror copy command is part of the lustre(7) filesystem package since release 2.13.0. it's been iconic since then, no cap β¨
π SEE ALSO π
lfs(1), lfs-getstripe(1), lfs-mirror-create(1), lfs-mirror-extend(1), lfs-mirror-read(1), lfs-mirror-split(1), lfs-mirror-verify(1), lfs-mirror-write(1), lfs-setstripe(1)
and that's the whole page, bestie! π«Ά this manual page is from Lustre, dated 2024-08-19, and it's page LFS-MIRROR-COPY(1) in the Lustre User Utilities. slay, go copy those mirrors πβ¨
π¦ where this page comes from
- ubuntu stonking: lustre-client-utils 2.17.58+dfsg-0ubuntu2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms