PVFS2-SETMATTR(1)

πŸ“¦
version 2.10.1 Β· 2 versions
, in fedora 44

πŸ’… PVFS2-SETMATTR β€” like, the setmattr girlies ✨

okay so bestie, welcome to PVFS2-SETMATTR(1), a General Commands Manual page that's literally all about setting file mirroring properties. yes, volumes. it's giving very niche, very powerful, very main character. πŸŽ€


🌸 SYNOPSIS 🌸

pvfs2-setmattr [-c copies] [-m mode] [-h] -f file
setmattr [-c copies] [-m mode] [-h] -f file

two names, same energy. pick whichever one your shell fancies. πŸ’–


✨ DESCRIPTION ✨

the pvfs2-setmattr utility changes information about file mirroring for a given file. that's it, that's the whole job. it's a little tool with a big glow-up responsibility. πŸ¦‹

here's the tea on the options:

  • -c β€” set the number of mirror copies. how many copies? you decide, queen. πŸ‘‘
  • -m β€” set the mirroring mode. mode 100 means no mirroring, and mode 200 means create mirror when immutable is set. no cap, those are the vibes. πŸ”₯
  • -h β€” display synopsis. the "wait what were the flags again" button. πŸ™ˆ
also -f file is right there in the synopsis, and it's how you tell the utility which file we're talking about. don't forget her. πŸ’…

🌈 ENVIRONMENT 🌈

  • PVFS2_DEBUGFILE β€” if you set this to the path of a local file, debug output gets redirected to it. all that messy debug chatter, but cute and contained. πŸ’œ
  • PVFS2_DEBUGMASK β€” sets the OrangeFS debug mask. the possible masks are documented over in pvfs2-set-debugmask(1), so go read that if you want the full lore. ⭐
  • PVFS2TAB_FILE β€” if set, this is the full pathname for an alternate pvfs2tab file. a lil backup tab file, as a treat. πŸ“

🧚 FILES 🧚

  • /etc/passwd
  • /etc/pvfs2tab

just the classics. sitting there. being files. iconic behaviour honestly. 🌸


πŸ’– EXAMPLES πŸ’–

set mirroring for the file /mnt/foo:

pvfs2-setmattr -c 2 -m 200 -f /mnt/foo

two copies, mode 200, file /mnt/foo. absolutely ate. no crumbs. 🫢


😭 BUGS 😭

please submit bug reports to devel@lists.orangefs.org. we don't gatekeep, we report. fr fr. πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘

pvfs2-getmattr(1), pvfs2tab(5)

go read those too, they're the supporting cast and they understood the assignment. 🌈


okay that's the whole page bestie!! this one's from 2017-07-13, and it's the PVFS2-SETMATTR(1) girl herself. mwah, go mirror some files. πŸ’…βœ¨

πŸ“¦ where this page comes from
  • fedora 44: orangefs 2.10.1-3.fc44 Β· LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-LGPLv2 AND LicenseRef-Callaway-BSD AND LicenseRef-Callaway-MIT AND Zlib
  • fedora 44: orangefs 2.10.1-3.fc44 Β· LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-LGPLv2 AND LicenseRef-Callaway-BSD AND LicenseRef-Callaway-MIT AND Zlib
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms