PVFS2-MKDIR(1)
π PVFS2-MKDIR β bestie's guide to making folders in OrangeFS π
okay so this is the pvfs2-mkdir page from the General Commands Manual section of your friendly neighbourhood Unix docs, and I'm here to make it make sense. sit down, grab a lil snack π, we're doing filesystem stuff today.
β¨ NAME β¨
pvfs2-mkdir β create directory in an OrangeFS volume πΈ
no cap, that's the whole job. it makes a directory. in OrangeFS. that's it, that's the girl.
π SYNOPSIS π
pvfs2-mkdir [-m mode] [-i initial] [-x maximum] [-s split] [-pVvh]
directory
the way all the lil flags go in the square brackets and then you just... hand her the directory at the end. main character energy fr π
π DESCRIPTION π
The pvfs2-mkdir utility creates a directory in an OrangeFS volume at directory.
that's literally the entire vibe. you point her at a path inside an OrangeFS volume, she makes a directory there. periodt.
The options are as follows:
π OPTIONS π
-mβ Set permission mode as three or four digit octal number mode. yes bestie, the classic755/0755situation, three or four digits, octal, you already know this one iykyk π-iβ Set initial number of dirdata handles. this is how many handles she starts out with, lowkey the starting roster π«Ά-xβ Set maximum number of dirdata handles. the ceiling. the absolute limit. she will not exceed this, no matter how famous she gets β¨-sβ Set number of directory entries stored before split. hit this number of entries and she splits, like a glow-up for your directory π-pβ Create parent directories as needed within OrangeFS. the-pwe all know and love, but specifically inside OrangeFS, so don't be out here thinking it'll make parent dirs anywhere else π-Vβ Display verbose messages. she will tell you everything she's doing. chatty queen π-vβ Print version number and exit. literally just the version, then she's out the door, bye π-hβ Display synopsis. help me help you, here's the usage πΈ
π§ ENVIRONMENT π§
PVFS2_DEBUGFILEβ If set to the path of a local file, redirect debug output to it. so all the debugging tea goes into that file instead of your screen βPVFS2_DEBUGMASKβ Set the OrangeFS debug mask. Possible masks are documented inpvfs2-set-debugmask(1). go read that one for the full list, i'm not making them up, they're documented over there, promise π«ΆPVFS2TAB_FILEβ If set, the full pathname for an alternatepvfs2tabfile. swap in a different tab file if you're feeling spicy π₯
π¦ FILES π¦
/etc/pvfs2tab
the classic. the default tab location. she lives there π
π EXAMPLES π
Create a directory.
pvfs2-mkdir /mnt/foo
boom. directory. slay. β¨
Create a directory whose entries are always distributed across 4 servers. In this case a split will never need to occur, so the split size is irrelevant.
pvfs2-mkdir -i 4 -x 4 /mnt/foo
so -i 4 -x 4 means she starts with 4 dirdata handles and maxes at 4 β since she's already at the max, a split will never need to occur, which is why the split size is irrelevant here. not me pointing out that the split just doesn't apply π
Create a directory whose entries initially reside on 1 server, but may eventually grow so that entries are distributed across 4 servers. When any single server reaches the maximum of 10,000 directory entries, another of the available servers becomes active and entries are split across active servers, up to a maximum of 4 servers.
pvfs2-mkdir -i 1 -x 4 -s 10000 /mnt/foo
okay this one is the glow-up arc: start on 1 server (-i 1), allowed to grow up to 4 servers (-x 4), and the second any single server hits the maximum of 10,000 directory entries (-s 10000), another of the available servers becomes active and entries get split across the active servers β up to a maximum of 4 servers. she's scaling, she's thriving, she's distributed ππ₯
π BUGS π
Please submit bug reports to devel@lists.orangefs.org
found a bug? don't suffer in silence bestie, email the list, they wanna know π«Ά
π SEE ALSO π
and that's the whole page!! every flag, every env var, every example, all accounted for, nothing skipped, we ate π β¨
cute lil sign-off: this beauty is from the General Commands Manual, and the page itself is dated 2017-07-03. love that for her. now go make some directories, bestie πππ
π¦ 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