chore: add more content to use cases and troubleshooting

This commit is contained in:
David Allen 2025-07-21 20:23:47 -06:00
parent 9c11e3883a
commit b7614eeea9
Signed by: towk
GPG key ID: 793B2924A49B3A3F
9 changed files with 282 additions and 297 deletions

View file

@ -1 +1,20 @@
For this tutorial, we served images via HTTP using a local S3 bucket (MinIO) and OCI registry. We could instead serve our images using NFS by setting up and running a NFS server on the head node, include NFS tools in our base image, and configuring our nodes to work with NFS.
For the [tutorial](https://github.com/OpenCHAMI/tutorial-2025), we served images via HTTP with a local S3 bucket using MinIO and an OCI registry. We could instead serve our images by network mounting the directories that hold our images with NFS. We can spin up a NFS server on the head node by including NFS tools in our base image and configure our nodes to mount the images.
Configure NFS to serve your SquashFS `nfsroot` with as much performance as possible.
```bash
sudo mkdir -p /opt/nfsroot && sudo chown rocky /opt/nfsroot
```
Create a file at path `/etc/exports` and copy the following contents to export the `/opt/nfsroot` directory for use by our compute nodes.
```bash
/opt/nfsroot *(ro,no_root_squash,no_subtree_check,noatime,async,fsid=0)
```
Reload the NFS daemon to apply the changes.
```bash
modprobe -r nfsd && modprobe nfsd
```