Skip to content

Commit be90eea

Browse files
committed
Add scratch2 convention and group write tip
1 parent d3b257c commit be90eea

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

‎docs/hpc/m3.md‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,22 @@ for d in /home/${USER}/mh42/*/; do echo "$d: $(cat ${d}STATUS 2>/dev/null || ech
129129

130130
## Scratch (Temporary Storage)
131131

132-
Use scratch for large temporary files. Follow the **same folder structure** as `mh42/`:
132+
M3 provides two scratch filesystems — `mh42_scratch` and `mh42_scratch2`. **Use `mh42_scratch2` for all new data** — it follows the convention consistently. `mh42_scratch` has accumulated clutter from earlier usage.
133+
134+
Follow the **same folder structure** as `mh42/`:
133135

134136
```bash
135-
mkdir -p /home/${USER}/mh42_scratch/{your_project_folder}/stack_{your_name}
137+
mkdir -p /home/${USER}/mh42_scratch2/{your_project_folder}/stack_{your_name}
136138
```
137139

138140
!!! warning
139-
Scratch is flushed periodically. Do not rely on it for anything you need long-term — archive to S Drive or move to `mh42/` before the purge.
141+
Scratch is flushed periodically. Do not rely on it for anything you need long-term — archive to [S Drive](../storage/s-drive.md) or move to `mh42/` before the purge.
142+
143+
!!! tip
144+
When creating a project folder in scratch, set group write so your supervisor and teammates can create their own stacks inside it:
145+
```bash
146+
chmod g+w /home/${USER}/mh42_scratch2/{your_project_folder}/
147+
```
140148

141149
---
142150

0 commit comments

Comments
 (0)