---
name: "kafs-preload"
section: "8"
platform: "linux"
package: "kafs-client"
version: "0.5-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/kafs-preload"
---

# kafs-preload(8)

AFS filesystem configuration preloader

## NAME

kafs-preload - AFS filesystem configuration preloader

## SYNOPSIS

kafs-preload \[-Dv\] \[\<configuration file\>\]

## DESCRIPTION

This program loads static configuration into the AFS filesystem, such as preloading cells, setting the workstation cell (@cell), and the system identifier list (@sys).

This program is not usually invoked directly, but rather is usually called from a systemd service unit file.  If the properties sysname or thiscell are changed in the kafs client configuration file running kafs-preload will update the /proc files.

## OPTIONS

- **-D**

  Execute in debug mode.  Instead of writing to various /proc files, write to stdout.

- **-v**

  Increase the verbosity of the output.  This may be specified multiple times.

## EXIT STATUS

- 0 - On success

  - 1 - If an error occurs during processing

  - 2 - If a command line error occurs

  - 3 - If bad configuration is detected

  ## EXAMPLE

```
      # kafs-preload -v /etc/kafs/client.conf
      kAFS: Preloading cell database
      INFO: rootcell set to ca-zephyr.org
      INFO: sysname set to x86_64
```

## SEE ALSO

[**kafs-client.conf**(5)](/kafs-client.conf/5.md), [**aklog-kafs**(1)](/aklog-kafs/1.md), [**kafs**(7)](/kafs/7.md), [**proc**(5)](/proc/5.md)

## COPYRIGHT

Copyright (C) 2020 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.
