| KAFS-CHECK-CONFIG(8) | kafs-client | KAFS-CHECK-CONFIG(8) |
kafs-check-config - AFS configuration check tool
kafs-check-config [-46PDvv] [-c <conffile>]* [-N <restriction>] [<cellname>]*
This program is used to check the configuration for the in-kernel AFS filesystem (kAFS). This configuration is used when systemd mounts the filesystem to load up the cell database and create cell automounts in the /afs directory.
The configuration is also used by the kernel name resolver upcall to provide static configuration for some cells and to specify overrides and limits on DNS lookups.
If a list of "cellname" arguments is given, the listed cells will be dumped, including the sources of the Volume Location records and address records.
vl-dns
Don't do any lookups to find Volume Location servers. Use only the static configuration.
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
kafs(7), kafs-client.conf(5), kafs-preload(8)
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.
| 2024-04-22 | 0.5-4build1 |