# Storage and costs

### Summary for Curnagl cluster

The costs page is available [here](https://wiki.unil.ch/ci/books/research-support/page/couts-operationnels-et-unitaires) (UNIL login is required).

<table border="1" id="bkmrk-storage-use-it-for-c" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 11.3223%;"></col><col style="width: 24.9091%;"></col><col style="width: 16.9271%;"></col><col style="width: 32.5336%;"></col><col style="width: 14.4211%;"></col></colgroup><tbody><tr><td>Storage</td><td>Use it for</td><td>Copies</td><td>Cost (CHF/TB/year)</td><td>Accessible from compute nodes</td></tr><tr><td>/scratch

</td><td>Temporary files of running jobs that need large amounts of data</td><td>1, may be deleted at any time</td><td>Free</td><td>Yes

</td></tr><tr><td>/work</td><td>Data used in current computations</td><td>1 (not safe)</td><td>See "U1 cost" for "GPFS (HPC - normal)" in the [costs page](https://wiki.unil.ch/ci/books/research-support/page/couts-operationnels-et-unitaires).</td><td>Yes</td></tr><tr><td>/nas D2c</td><td>Important results of ongoing projects</td><td>2 (safe)</td><td>Add "U1 cost" for "Stockage copie primaire (Isilon)" and "Stockage 2ème copie (Isilon)" in the [costs page](https://wiki.unil.ch/ci/books/research-support/page/couts-operationnels-et-unitaires).</td><td>No</td></tr><tr><td>/nas D1c</td><td>Reloadable datasets of ongoing projects</td><td>1</td><td>See "U1 cost" for "Stockage copie primaire (Isilon)" in the [costs page](https://wiki.unil.ch/ci/books/research-support/page/couts-operationnels-et-unitaires).</td><td>No</td></tr><tr><td>LTS (tape)</td><td>Data of closed projects, archive</td><td>2 (safe)</td><td>Free</td><td>No

</td></tr></tbody></table>

<p class="callout info">Each PI has 1 TB of free /nas space, shared across all their open projects: 500 GB in D2c or 1 TB in D1c.</p>

### Summary for Urblauna Cluster

<table border="1" id="bkmrk-storage-use-it-for-c-1" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 14.4211%;"></col><col style="width: 21.8104%;"></col><col style="width: 16.3265%;"></col><col style="width: 33.1342%;"></col><col style="width: 14.4211%;"></col></colgroup><tbody><tr><td>Storage</td><td>Use it for</td><td>Copies</td><td>Cost (CHF/TB/year)</td><td>Accessible from compute nodes</td></tr><tr><td>/scratch

</td><td>Temporary files of running jobs that need large amounts of data</td><td>1, may be deleted at any time</td><td>Free</td><td>Yes

</td></tr><tr><td>/data</td><td>Data used in current computations</td><td>1 (not safe)</td><td>See "U1 cost" for "GPFS (HPC - normal)" in the [costs page](https://wiki.unil.ch/ci/books/research-support/page/couts-operationnels-et-unitaires).</td><td>Yes</td></tr><tr><td>/work</td><td>Software installed from a machine connected to the internet (read-only from Urblauna)

</td><td>1 (not safe)</td><td>See "U1 cost" for "GPFS (HPC - sensible)" in the [costs page](https://wiki.unil.ch/ci/books/research-support/page/couts-operationnels-et-unitaires).</td><td>Yes</td></tr><tr><td>/archive (tape)</td><td>Data of closed projects or not accessed regularly, archive</td><td>2 (safe)</td><td>See "U1 cost" for "Archivage (sensible)"</td><td>No

</td></tr></tbody></table>

### Good practices

- Move your results out of /scratch and /work (or /data for Urblauna) as soon as your computations are finished.
- Do not copy large read-only datasets to /scratch: /work (or /data for Urblauna) performance is more than sufficient for reading them.
- Using the `touch` command to prevent files from being purged from /scratch is strictly forbidden.
- Move data of closed projects: 
    - to LTS to free up /nas space for non-sensitive data,
    - to /archive for sensitive data.

### Quota increase

To increase a /nas or /work quota, email <helpdesk@unil.ch> with "DCSR quota increase" in the subject line and the exact amount required. As this may increase quarterly invoices, we need the PI's approval before applying the change.

### More information

- [How to make an LTS request](https://wiki.unil.ch/ci/books/research-data-storage/page/how-to-make-a-lts-request)
- [Detailed information about storage file systems in Curnagl](https://wiki.unil.ch/ci/link/884#bkmrk-storage)
- [Detailed information about storage file systems in Urblauna](https://wiki.unil.ch/ci/link/1217#bkmrk-storage)