namespace.yaml(5) Slurm Configuration File namespace.yaml(5) (NAME) namespace.yaml - namespace/linux (DESCRIPTION) namespace.yaml YAML namespace/linux . ( ) . namespace/linux ( ) ( /tmp /dev/shm) . base_path namespace.yaml . (User) (PID) . (unmount) . 'PrologFlags=Contain' slurm.conf : NamespaceType=namespace/linux PrologFlags=Contain slurm.conf . slurm.conf . <<#>> () . Slurm . (PARAMETERS) namespace.yaml : defaults . (options) . disable_bpf_token bpf . ConstrainDevices cgroup.conf . ConstrainDevices () bpf . node_confs . . node_confs (node_confs list element definitions) node_confs : nodes . options . defaults (override) . (options definitions) options : auto_base_path BasePath . slurm 'true' . true 0755 . slurm . 'false' . . dir_confs base_path dir_confs . . base_path (PATH) . . . base_path slurmd 'private' . <<%h>> (hostname) slurmd . <<%n>> Slurm slurmd . namespace/linux defaults PATH 'none' . : base_path . base_path <<%h>> <<%n>> . : base_path dirs . . clone_ns_script . . SLURM_NS nsenter . . . clone_ns_script_wait clone_ns_script . . clone_ns_epilog (epilog) . . SLURM_NS nsenter . . . clone_ns_epilog_wait clone_ns_epilog . . clone_ns_flags . "CLONE_NEWPID" "CLONE_NEWUSER" PID USER . "CLONE_NEWNS" . : CLONE_NEWUSER ConstrainDevices cgroup.conf bpf . dirs . "/tmp,/dev/shm" . dir_confs . dir_confs . : /dev/shm (bind mount) tmpfs . : CLONE_NEWPID /proc . dir_confs . . dirs . dir_confs (dir_confs list element definitions) . . init_script . . /tmp . . shared Shared=true autofs . . user_ns_script (user namespace) . . "SLURM_NS_PID" . . dir_confs (dir_confs list element definitions) dir_confs : path "/tmp". : %j ( ) %S (SLUID) %u ( ). . base_path . base_path . . tmpfs . . options mount. mount : noatime inode . nodev . nodiratime inode . noexec . nosuid set-user-ID set-group-ID . relatime inode . ro . tmpfs size=4g mode=1777 () . tmpfs bind . . : tmpfs nosuid nodev . tmpfs true bind base_path tmpfs . . (NOTES) namespace.yaml slurm slurmd ( scontrol reconfigure ). . namespace.yaml . slurmd namespace.yaml . (EXAMPLE) --- defaults: auto_base_path: true base_path: "/var/nvme/storage_0" clone_ns_flags: - "CLONE_NEWPID" - "CLONE_NEWUSER" - "CLONE_NEWNS" clone_ns_epilog: "/path/to/epilog_script" clone_ns_epilog_wait: 10 clone_ns_script: "/path/to/ns_script" init_script: "/path/to/init_script" shared: true node_confs: - nodes: - "n1" - "n[2-4,6]" options: auto_base_path: true base_path: "/var/nvme/storage_1" clone_ns_script_wait: 20 dir_confs: - path: "/tmp" options: "noexec,nosuid,size=8g" tmpfs: true - path: "/scratch" base_path: "/var/nvme/storage_1" options: "noexec,nosuid" shared: false user_ns_script: "/path/to/user_script" - nodes: - "n[7-10]" options: auto_base_path: true base_path: "/var/nvme/storage_2" init_script: "/etc/slurm/init.sh" (COPYING) Copyright (C) 2025 SchedMD LLC. Slurm . . Slurm (GNU General Public License) ( ) . Slurm . . (SEE ALSO) slurm.conf(5) Slurm 26.05 Slurm Configuration File namespace.yaml(5)