# Filesystems

## Home Directories

Home directories have 50GB of storage. Additionally, home directories are shared across nodes and have a path as follows:

```
/home/usd.local/user.name

###Home directories can also be called by their environmental variable:

$HOME
```

{% hint style="warning" %}
Please note that home directories are not backed up!
{% endhint %}

## Group Home Directories

Group home directories have 5TB of storage. Additionally, home directories are shared across nodes and have a path as follows:

```
/home/smith-lab
    /shared (read/write permissions for all group members)
```

{% hint style="warning" %}
Please note that group home directories are not backed up!
{% endhint %}

## Scratch

Slurm creates /scratch/job\_$SLURM\_JOB\_ID when your job is running. If you want to modify or use this output, you could include something like this in your job script:

```
SCRATCH="/scratch/job_$SLURM_JOB_ID"
cp $HOME/workfile.txt $SCRATCH
cd $SCRATCH

# run commands, do things

cp resultfile.txt $HOME
```

{% hint style="warning" %}
Please note that /scratch is not a shared filesystem and that each node has its own /scratch (169 GB per node (SSD)). Additionally, the data on scratch only lasts while the job is running! If you need /scratch data from your job, remove it before your job ends.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://usdrcg.gitbook.io/docs/lawrence-hpc/filesystems.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
