-
Notifications
You must be signed in to change notification settings - Fork 35
Add filesystems docs #710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add filesystems docs #710
Conversation
docs/filesystems.md
Outdated
|
||
### Shared home directory | ||
|
||
By default, the Slurm appliance will spin up a local NFS server and mount the home directories to it. When using Manila + CephFS for the home directory instead, this will need to be disabled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is all a bit confused TBH:
- It does not "spin up a local nfs server"; it configures the control node as an NFS server
- It does not "mount home directories to it", it "exports a directory which is mounted on the other cluster nodes as /home".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I've changed to use these descriptions
docs/filesystems.md
Outdated
By default, the Slurm appliance will spin up a local NFS server and mount the home directories to it. When using Manila + CephFS for the home directory instead, this will need to be disabled. | ||
|
||
```yaml | ||
nfs_configurations: [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No (for starters, that will break compute-init).
- Set tf var home_volume_provisioning to "none" and that will automatically disable the NFS mount to.
- If you don't want/aren't using compute-init or any other nfs shares at all, you can remove
nfs
from yourgroups
file. But in either case you don't need to mess withnfs_configurations
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the corrections, I've updated the instructions. Do they look right now?
docs/filesystems.md
Outdated
basic_users_homedir_server_path: /home | ||
``` | ||
|
||
Set the Tofu variable `home_volume_size = 0` to stop Tofu from creating a new home volume. NB: If the control node has already been deployed, re-running Tofu will delete the home volume and delete/recreate the control node. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, see above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've deleted this line
ab28a55
to
7072e7a
Compare
7072e7a
to
e071d01
Compare
e071d01
to
d5d0a71
Compare
No description provided.