Draft: Mount the nix store from hut in compute nodes #66
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "shared-nix-store"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This MR solves one of the remaining pieces to have a working cluster with SLURM and Nix.
It mounts the nix store from hut into the compute nodes
owl1
andowl2
by using an overlay. The overlay exposes first the store on disk (needed for boot) and then looks for the files in the hut store using a read-only NFS mount. Example:This allows users to run SLURM jobs in the compute nodes reading the dependencies directly from the hut store via NFS, avoiding the need to copy the clousure for each execution.
It is also posible to run nix develop directly from the compute nodes, but it is not recommended as it will replicate the same data in every compute node local disk.
Closes #23
assigned to @rarias
changed the description
added 4 commits
e6014511
- Wait for the NFS hut store to be mounted8c11c746
- Delay the mount until the network is ready1fc6891d
- Remove nix-daemon.socket dependency of /nix/store77b41a90
- Patch nix instead of using an override unitCompare with previous version
added 3 commits
e4cbcab8
- Use a systemd mount directly for the nix store3bb0b550
- Add a RequiredBy dependency for remote-fs.targete065cde3
- Use NixOS attributes for the install sectionCompare with previous version
marked this merge request as ready
changed the description
requested review from @arocanon
marked this merge request as draft
Blocked until #41
Pull request closed