KAFS-CHECK-CONFIG(8)
π KAFS-CHECK-CONFIG(8) β the kafs-client girlies' guide π
okay bestie, sit down, hydrate, because we're about to vibe check your AFS config and honestly? it's giving main character. this lil tool lives in the kafs-client manual, section 8, and it's here to make sure your in-kernel AFS situation is immaculate. β¨
π NAME π
kafs-check-config β the AFS configuration check tool. no cap, that's literally its whole job.
πΈ SYNOPSIS πΈ
kafs-check-config [-46PDvv] [-c <conffile>]* [-N <restriction>]
[<cellname>]*
π¦ DESCRIPTION π¦
so like, this program checks the configuration for the in-kernel AFS filesystem (kAFS). and why do we care? because when systemd mounts that filesystem, it uses this exact config to load up the cell database and to create cell automounts inside the /afs directory. iconic behaviour honestly. π
the config also gets used by the kernel name resolver upcall, which uses it to hand out static configuration for some cells, and to specify overrides and limits on DNS lookups. so yeah, it's kind of a big deal. π
and if you hand it a list of cellname arguments? it dumps those cells for you, and it even shows you where the Volume Location records and address records came from. receipts. π§Ύβ¨
π OPTIONS π
-4β only show IPv4 addresses in the dump. v4 girlies only. π-6β only show IPv6 addresses in the dump. v6 supremacy, as you were. π-Pβ dump the parse tree of the configuration file(s). it's giving tree. π³-Dβ dump the cell database that got extracted from the configuration. π-vβ increase the verbosity of the output. you can say it multiple times, and yes, stacking it is encouraged (iykyk). π£οΈ-c <conffile>β specify a configuration file to read instead of the system default. you can pass this multiple times, and the config files get read and applied in order. so the order matters, bestie, don't play. π-N <restriction>β apply a restriction to the lookup that's performed for the listed cells (if you listed any). valid restrictions include:vl-srvβ don't use SRV records to find Volume Location servers. π«vl-afsdbβ don't use AFSDB records to find Volume Location servers. π«vl-allβ don't use SRV or AFSDB records to find Volume Location servers. that's both of them, gone. πvl-hostβ don't look the cell name up as a hostname to find a Volume Location server. πvl-dnsβ don't do any lookups at all to find Volume Location servers. use only the static configuration, periodt. π
π ARGUMENT π
<cellname>β the AFS cell name to display. you can specify multiple cells, go off. but if you specify no cell name at all, it displays the default cell specified in/proc/net/afs/rootcell. the default default, if you will. π«Ά
β EXIT STATUS β
0β if the check is okay and any dumping succeeded. slay. β1β if an error occurs during processing. π2β if a command line error occurs. bestie. what did you type. π
π₯ EXAMPLES π₯
to display the configuration for the default cell:
# kafs-check-config
=== Found cell some-cell.org ===
- use-dns=no
- show-cell=no
- status: no-lookup, from config
- VLSERVER shelter-4.some-cell.org [good; nss]
- address 10.0.0.48
- VLSERVER shelter-5.some-cell.org [good; nss]
- address 10.0.0.54
to display two specific cells:
# kafs-check-config ir.stanford.edu grand.central.org
=== Found cell ir.stanford.edu ===
- show-cell=no
- status: good, from SRV
- VLSERVER afsdb3.stanford.edu [good; nss]
- udp
- port 7003, pref 0, weight 0
- address 171.64.7.246
- VLSERVER afsdb2.stanford.edu [good; nss]
- udp
- port 7003, pref 0, weight 0
- address 171.64.7.234
- VLSERVER afsdb1.stanford.edu [good; nss]
- udp
- port 7003, pref 0, weight 0
- address 171.64.7.222
=== Found cell grand.central.org ===
- show-cell=no
- status: good, from SRV
- VLSERVER grand.mit.edu [good; nss]
- udp
- port 7003, pref 0, weight 0
- address 18.9.48.14
- VLSERVER grand-old-opry.central.org [good; nss]
- udp
- port 7003, pref 0, weight 0
- address 128.2.13.219
π§ SEE ALSO π§
kafs(7), kafs-client.conf(5), kafs-preload(8)
go read your siblings, they're all valid. π
π COPYRIGHT π
Copyright (C) 2019 Red Hat, Inc. All Rights Reserved.
Written by David Howells (dhowells@redhat.com)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
ngl, legal text stays legal text β I'm not touching a license, that's not the vibe. everything above it though? fully mine. π
and that's the whole page bestie!! version 0.9, dated 2026-08-27, shipped in the kafs-client era of time. now go check those configs and be the main character of your own /afs directory. π¦πβ¨
π¦ where this page comes from
- fedora 43: kafs-client 0.9-1.fc43 Β· GPL-2.0-or-later
- fedora 43: kafs-client 0.9-1.fc43 Β· GPL-2.0-or-later
- fedora 44: kafs-client 0.9-1.fc44 Β· GPL-2.0-or-later
- fedora 44: kafs-client 0.9-1.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms