42 lines
1.0 KiB
Markdown
42 lines
1.0 KiB
Markdown
# AFS
|
|
|
|
**Deprecation Note**
|
|
We plan to migrate away from AFS. We do not support AFS for RHEL9. Please contact the Linux Core Group for migration options.
|
|
|
|
|
|
AFS is depending on the Puppet role already configured by default. Additionally it can be enabled or disabled in Hiera with `base::enable_afs`:
|
|
```
|
|
base::enable_afs: true
|
|
```
|
|
respectively to disable:
|
|
```
|
|
base::enable_afs: false
|
|
```
|
|
|
|
Following details can be modified, but are usually not required:
|
|
- `afs_client::mountpoint`
|
|
- `afs_client::root_volume`
|
|
- `afs_client::enable_dynroot`
|
|
- `afs_client::min_cache_size` (e.g. `8G`)
|
|
- `afs_client::files`
|
|
- `afs_client::dcache`
|
|
|
|
When disabling AFS the daemon is not automatically switched off. There is additional manual effort required on the host:
|
|
|
|
```
|
|
systemctl disable yfs-client.service
|
|
reboot
|
|
```
|
|
|
|
If you want to do it without reboot, first stop all processes using AFS. You might figure them out e.g. with `lsof | grep /afs`.
|
|
|
|
Then do
|
|
```
|
|
umount /afs
|
|
systemctl stop yfs-client.service
|
|
systemctl disable yfs-client.service
|
|
afsd -shutdown
|
|
```
|
|
|
|
|