LFS-MIRROR-READ(1)

πŸ“¦ version 2.17.58, in ubuntu stonking

✨ 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-id MIRROR_ID β€” this one tells the command which mirror's content you want to read, chosen by MIRROR_ID. and like, what even is a MIRROR_ID? it's the numerical unique identifier for a mirror. a whole little numeric glow-up just for one mirror. iconic. πŸ‘‘
  • -o, --outfile output_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 🌟

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