Skip to content

Commit

Permalink
Merge pull request #28 from gkaf89/hotfix/inodes
Browse files Browse the repository at this point in the history
Hotfix/inodes
  • Loading branch information
gkaf89 authored Nov 10, 2023
2 parents 72823be + 3a62f0f commit 0afdcf2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/environment/conda.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ _Useful scripting resources_

### Cleaning up package data

The Conda environment managers download and store a sizable amount of data to provided packages to the various environments. Even though the package data are shared between the various environments, they still consume space in your or your project's account. There are [limits in the storage space and number of files](../../filesystems/quotas/#current-usage) that are available to projects and users in the cluster. Since Conda packages are self managed, **you need to clear unused data yourself**.
The Conda environment managers download and store a sizable amount of data to provided packages to the various environments. Even though the package data are shared between the various environments, they still consume space in your or your project's account. There are [limits in the storage space and number of files](../../filesystems/quotas/#current-usage) that are available to projects and users in the cluster. Since Conda packages are self managed, **you need to clean unused data yourself**.

There are two main sources of unused data, the compressed archives of the packages that Conda stores in its cache when downloading a package, and the data of removed packages. All unused data in Micromoamba can be removed with the command
```bash
Expand Down
11 changes: 11 additions & 0 deletions docs/filesystems/quotas.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,17 @@ Check free space on current file system:
df -h .
```

To detect the exact source of inode usage, you can use the command
```bash
du --max-depth=<depth> --human-readable --inodes <directory>
```
where

- _depth_: the inode usage for any file from _depth_ and bellow is summed in the report for the directory in level _depth_ in which the file belongs, and
- _directory_: the directory for which the analysis is curried out; leaving empty performs the analysis in the current working directory.

For a more graphical approach, use `ncdu`, with the `c` option to display the aggregate inode number for the directories in the current working directory.

### Increases

If you or your project needs additional space or inodes for your scratch or project directory you may request it via [ServiceNow](https://hpc.uni.lu/support/) (HPC &rarr; Storage & projects &rarr; Extend quota).
Expand Down

0 comments on commit 0afdcf2

Please sign in to comment.