LFS-MIRROR-READ(1)
β¨ lfs-mirror-read(1) β the Lustre User Utilities glow-up β¨
okay bestie, sit down, hydrate, and let me tell you about lfs-mirror-read, one of the lil stars of the Lustre User Utilities lineup π¦ she's a manual page, she's a mood, she reads mirrors, she serves cunt, she does exactly one thing and does it flawlessly π
πΈ NAME πΈ
lfs-mirror-read β read a mirror's content of a mirrored file π
like. that's the whole job. peek inside one specific mirror of one specific mirrored file. no cap.
π SYNOPSIS π
lfs mirror read --mirror-id|-N MIRROR_ID [--outfile|-o OUTPUT_FILE]
MIRRORED_FILE
she's compact, she's precise, she's the moment β¨
π¦ DESCRIPTION π¦
so here's the tea β this command reads the content of a file's mirror. the file? you point at it with the path name MIRRORED_FILE. the mirror? you name it by its mirror ID, MIRROR_ID. that's it, that's the whole vibe check. π₯
and if you pass an OUTPUT_FILE, the content gets written into that file instead. no OUTPUT_FILE? then it just spills out onto the standard output stream like it's venting in the group chat. π
π OPTIONS π
-N,--mirror-idMIRROR_IDβ this one tells the command which mirror's content you want to read, chosen byMIRROR_ID. and like, what even is aMIRROR_ID? it's the numerical unique identifier for a mirror. a whole little numeric glow-up just for one mirror. iconic. π-o,--outfileoutput_fileβ the path name of the output file. don't pass it? standard output stream it is. she'll just say it out loud to the terminal. periodt. π
π EXAMPLES π
dump the content of mirror with mirror ID 3 for /mnt/lustre/file1 to STDOUT:
# lfs mirror read --mirror-id 3 /mnt/lustre/file1
mirror 3, straight to your eyeballs, no middleman, no OUTPUT_FILE, the standard output stream is right there catching everything π«Ά
dump the content of mirror with mirror ID 2 for /mnt/lustre/file1 to file /tmp/m2:
# lfs mirror read -N 2 -o /tmp/m2 /mnt/lustre/file1
short flags, long results, file goes in /tmp/m2 where it belongs. slay. β¨
π AVAILABILITY π
the lfs mirror read command is part of the lustre(7) filesystem package since release 2.12.0 β so she's been out here thriving since then, no notes π
π SEE ALSO π
lfs(1)lfs-getstripe(1)lfs-mirror-copy(1)lfs-mirror-create(1)lfs-mirror-delete(1)lfs-mirror-extend(1)lfs-mirror-resync(1)lfs-mirror-split(1)lfs-mirror-verify(1)lfs-mirror-write(1)lfs-setstripe(1)
the whole mirror friend group, all in attendance, all invited to the function π
and that's the page bestie π the Lustre manual, dated 2024-08-20, brought to you by the Lustre project. go read a mirror. mwah π
π¦ 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