LFS-GETDIRSTRIPE(1)
π lfs-getdirstripe β bestie's guide to peeking at directory layouts π
okay so you're here because you want the tea on lfs getdirstripe, part of the Lustre User Utilities. It's the lfs(1) command that spills the layout pattern of a given directory, no cap. π«Ά
β¨ NAME β¨
lfs-getdirstripe β list the layout pattern of a given directory
πΈ SYNOPSIS πΈ
lfs getdirstripe [-cDhHimOrRTvXy]... DIR...
π DESCRIPTION π
So basically: this one gets you the layout pattern of striped directories. It's a lfs(1) command, and it's lowkey the sibling of lfs getstripe, except it's specifically for the directory layout, not the file one. Directory vibes only, periodt. π
π OPTIONS π
-c,-T,--mdt-countβ just show how many MDTs the directory is striped across. That's it, that's the whole thing.-D,--defaultβ shows the default layout that gets used when new subdirectories are created.-F,--fidβ show only the 128-bit unique Lustre File Identifier (FID). just the FID, nothing else, she's minimal like that.-h,--helpβ prints the usage message. our little helper π§-H,--mdt-hashβ only show the hash function being used for this directory. It also shows hash flags, like overstriping (>1 stripe per MDT), iykyk.--hex-idxβ print MDT indexes in hexadecimal instead of decimal. hex girlies rise π-i,-m,--mdt-indexβ only show the master MDT index of the directory.-O,--obd=FSNAME-MDTnnnn_UUIDβ limits the returned directories to the ones with objects on a specific MDT, whose UUID isFSNAME-MDTnnnn_UUID.-r,--recursiveβ the default behavior when you hand it a directory is to list the striping info for all the sub-directories inside that directory. Adding--recursiveexpands that and recurses into all subdirectories. yes bestie, all the way down π-R,--rawβ print the MDT index in raw format, without converting it to a name.-v,--verboseβ print verbose info about the directory striping. she's chatty π¬-X,--max-inheritβ show the inherit depth of default layout.-y,--yamlβ show the layout in YAML format for easier parsing. parser-friendly, iconic. β¨--max-inherit-rrβ show the inherit depth of default layout to roundrobin mkdir.
π EXAMPLES π
List the striping information of sub-directories, that are located on MDT1, under /mnt/lustre/dir1:
# lfs getdirstripe -O lustre-MDT0001_UUID -r /mnt/lustre/dir1
π¦ AVAILABILITY π¦
lfs getdirstripe is part of the lustre(7) filesystem package since release 2.4.0. she's been here a minute, fr fr. π
π SEE ALSO π
okay that's the whole page, you ate that. this was the Lustre manual, dated 2024-08-15 β mwah, go stripe some directories bestie π β¨π«Ά
π¦ 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