LFS-HEAT(1)
π LFS-HEAT(1) β bestie's guide to file heat π
okay so this is LFS-HEAT(1), from the Lustre User Utilities manual set, and we're gonna talk about file heat. yes. heat. like temperature but for your files. slay.
β¨ NAME β¨
lfs-heat_get, lfs-heat_set β the two commands you use to vibe with the file heat features π¦
πΈ SYNOPSIS πΈ
lfs heat_get FILE...
lfs heat_set [--help|-h] [--clear|-c] [--on|-O] [--off|-o] FILE...
like. that's it. that's the whole vibe. FILE... means you can hand it a whole little list of files, we love a command that takes a crowd π
π DESCRIPTION π
so these are a set of lfs commands for interacting with the Lustre file heat feature. iconic.
now here's the tea, and it's important tea, no cap: file heat is only stored in memory with the file inode. meaning it might get reset to zero at literally any time, whenever the inode gets released because of memory reclaim. so don't treat it like a permanent record bestie, it's giving vibes, ephemeral. π
lfs heat_getβ gets the file heat for the files in your list π«Άlfs heat_setβ sets heat flags on the files in your list β¨
π OPTIONS π
-c,--clearβ clear the file heat on the files you gave it. bye bye heat π§Ή-h,--helpβ print the usage message. the classic cry for help, we all need it sometimes π-o,--offβ turn file heat off on the given files-O,--onβ turn file heat on on the given files π
okay bestie notice how-ois lowercase and-Ois uppercase and they do the exact opposite things?? case matters. do not get cute with it. β
π EXAMPLES π
turn on file heat support for the whole Lustre filesystem:
# lctl set_param llite.$FSNAME*.file_heat=1
turn it off for the whole Lustre filesystem:
# lctl set_param llite.$FSNAME*.file_heat=0
display the current file heat for foo:
# lfs heat_get /mnt/lustre/foo
flags: 0
readsample: 0
writesample: 16
readbyte: 0
writebyte: 16777216
look at those numbers go. writebyte: 16777216. she's been writing. π
clear the file heat for foo:
# lfs heat_set -c /mnt/lustre/foo
turn off file heat for foo:
# lfs heat_set -o /mnt/lustre/foo
turn on file heat for foo:
# lfs heat_set -O /mnt/lustre/foo
β AVAILABILITY β
the lfs heat_get and lfs heat_set commands are part of the lustre(7) filesystem package, and they've been in there since release 2.13.0 π so if you're on something older... bestie. upgrade. π
π¦ SEE ALSO π¦
and that's the whole page!! this was LFS-HEAT(1) from Lustre, dated 2024-08-30 π go forth and check ur file heat, ily, periodt πΈβ¨π«Ά
π¦ 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