Skip to content

Commit 7a74b99

Browse files
authored
Merge pull request #230 from NYU-RTS/no_separate_vast
so long GPFS!
2 parents 17bb571 + b27f0a3 commit 7a74b99

16 files changed

Lines changed: 122 additions & 205 deletions

docs/cloud/04_dataproc/02_data_management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ HDFS stands for Hadoop Distributed File System. HDFS is a highly fault-tolerant
44

55
### File Permissions and Access Control Lists
66

7-
You can share files with others using [access control lists (ACLs)](../../hpc/03_storage/09_sharing_data_on_hpc.md). An ACL gives you per-file, per-directory and per-user control over who has permission to access files. You can see the ACL for a file or directory with the getfacl command:
7+
You can share files with others using [access control lists (ACLs)](../../hpc/03_storage/08_sharing_data_on_hpc.md). An ACL gives you per-file, per-directory and per-user control over who has permission to access files. You can see the ACL for a file or directory with the getfacl command:
88
```sh
99
hdfs dfs -getfacl /user/<net_id>_nyu_edu/testdir
1010
```

docs/hpc/03_storage/01_intro_and_data_management.mdx

Lines changed: 36 additions & 98 deletions
Large diffs are not rendered by default.

docs/hpc/03_storage/02_available_storage_systems.md

Lines changed: 0 additions & 39 deletions
This file was deleted.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Data Transfers
22

33
:::tip Globus
4-
Globus is the recommended tool to use for large-volume data transfers due to the efficiency, reliability, security and ease of use. Use other tools only if you really need to. Detailed instructions available at [Globus](./04_globus.md)
4+
Globus is the recommended tool to use for large-volume data transfers due to the efficiency, reliability, security and ease of use. Use other tools only if you really need to. Detailed instructions available at [Globus](./03_globus.md)
55
:::
66

77
## Data-Transfer nodes
88
Attached to the NYU HPC cluster Torch, the Torch Data Transfer Node (gDTN) are nodes optimized for transferring data between cluster file systems (e.g. scratch) and other endpoints outside the NYU HPC clusters, including user laptops and desktops. The gDTNs have 100-Gb/s Ethernet connections to the High Speed Research Network (HSRN) and are connected to the HDR Infiniband fabric of the HPC clusters. More information on the hardware characteristics is available at [Torch spec sheet](../10_spec_sheet.md).
99

1010
### Data Transfer Node Access
11-
The HPC cluster filesystems include `/home`, `/scratch`, `/archive` and the [HPC Research Project Space](./05_research_project_space.mdx) are available on the gDTN. The Data-Transfer Node (DTN) can be accessed in a variety of ways
11+
The HPC cluster filesystems include `/home`, `/scratch`, `/archive` and the [HPC Research Project Space](./04_research_project_space.mdx) are available on the gDTN. The Data-Transfer Node (DTN) can be accessed in a variety of ways
1212
- From NYU-net and the High Speed Research Network: use SSH to the DTN hostname `dtn011.hpc.nyu.edu` or `dtn012.hpc.nyu.edu`
1313

1414
:::info
@@ -42,12 +42,12 @@ where username would be your user name, project1 a directory to be copied to the
4242

4343
### Windows Tools
4444
#### File Transfer Clients
45-
Windows 10 machines may have the Linux Subsystem installed, which will allow for the use of Linux tools, as listed above, but generally it is recommended to use a client such as [WinSCP](https://winscp.net/eng/docs/tunneling) or [FileZilla](https://filezilla-project.org/) to transfer data. Additionally, Windows users may also take advantage of [Globus](./04_globus.md) to transfer files.
45+
Windows 10 machines may have the Linux Subsystem installed, which will allow for the use of Linux tools, as listed above, but generally it is recommended to use a client such as [WinSCP](https://winscp.net/eng/docs/tunneling) or [FileZilla](https://filezilla-project.org/) to transfer data. Additionally, Windows users may also take advantage of [Globus](./03_globus.md) to transfer files.
4646

4747
### Globus
4848
Globus is the recommended tool to use for large-volume data transfers. It features automatic performance tuning and automatic retries in cases of file-transfer failures. Data-transfer tasks can be submitted via a web portal. The Globus service will take care of the rest, to make sure files are copied efficiently, reliably, and securely. Globus is also a tool for you to share data with collaborators, for whom you only need to provide the email addresses.
4949

50-
The Globus endpoint for Torch is available at `nyu#torch`. Detailed instructions available at [Globus](./04_globus.md)
50+
The Globus endpoint for Torch is available at `nyu#torch`. Detailed instructions available at [Globus](./03_globus.md)
5151

5252
### rclone
5353
rclone - rsync for cloud storage, is a command line program to sync files and directories to and from cloud storage systems such as Google Drive, Amazon Drive, S3, B2 etc. rclone is available on DTNs. [Please see the documentation for how to use it.](https://rclone.org/)
File renamed without changes.

docs/hpc/03_storage/05_research_project_space.mdx renamed to docs/hpc/03_storage/04_research_project_space.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Research Project Space (RPS)
22

33
## Description
4-
Research Project Space (RPS) volumes provide working space for sharing data and code amongst project or lab members. RPS directories are built on the same parallel file system (GPFS) like HPC Scratch. They are mounted on the cluster Compute Nodes, and thus they can be accessed by running jobs. RPS directories are backed up and there is no old file purging policy. These features of RPS simplify the management of data in the HPC environment as users of the HPC Cluster can store their data and code on RPS directories and they do not need to move data between the HPC Scratch and the HPC Archive file systems.
4+
Research Project Space (RPS) volumes provide working space for sharing data and code amongst project or lab members. RPS directories are built on the same parallel file system (VAST) like HPC Scratch. They are mounted on the cluster Compute Nodes, and thus they can be accessed by running jobs. RPS directories are backed up and there is no old file purging policy. These features of RPS simplify the management of data in the HPC environment as users of the HPC Cluster can store their data and code on RPS directories and they do not need to move data between the HPC Scratch and the HPC Archive file systems.
55

6-
:::note
7-
- Due to limitations of the underlying parallel file system, ***the total number of RPS volumes that can be created is limited***.
6+
:::info
7+
- Due to limitations of the underlying parallel file system, the total number of RPS volumes that can be created is limited.
88
- There is an annual cost associated with RPS.
99
- The disk space and inode usage in RPS directories do not count towards quota limits in other HPC file systems (Home, Scratch, and Archive).
1010
:::
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Best Practices on HPC Storage
2+
## User Quota Limits and the myquota command
3+
All users have quote limits set on HPC fie systems. There are several types of quota limits, such as limits on the amount of disk space (disk quota), number of files (inode quota) etc. The default user quota limits on HPC file systems are listed [on our Data Management page](./01_intro_and_data_management.mdx#hpc-storage-mounts-comparison-table).
4+
5+
:::warning[Home directory inode quotas]
6+
_One of the common issues users report is running out of inodes in their home directory._ This usually occurs during software installation, for example installing conda environment under their home directory. Running out of quota causes a variety of issues such as running user jobs being interrupted or users being unable to finish the installation of packages under their home directory.
7+
:::
8+
9+
Users can check their current utilization of quota using the myquota command. The myquota command provides a report of the current quota limits on mounted file systems, the user's quota utilization, as well as the percentage of quota utilization.
10+
11+
In the following example the user who executes the `myquota` command is out of inodes in their home directory. The user inode quota limit on the `/home` file system **30.0K inodes** and the user has **33000 inodes**, thus **110%** of the inode quota limit.
12+
```sh
13+
$ myquota
14+
Quota Information for NetID
15+
Hostname: torch-login-2 at 2025-12-09 17:18:24
16+
17+
Filesystem Environment Backed up? Allocation Current Usage
18+
Space Variable /Flushed? Space / Files Space(%) / Files(%)
19+
20+
/home $HOME YES/NO 0.05TB/0.03M 0.0TB(0.0%)/54(0%)
21+
/scratch $SCRATCH NO/YES 5.0TB/5.0M 0.0TB(0.0%)/1(0%)
22+
/archive $ARCHIVE YES/NO 2.0TB/0.02M 0.0TB(0.0%)/1(0%)
23+
```
24+
You can use the following command to print the list of files within each sub-folder for a given directory:
25+
```sh
26+
$cd $HOME
27+
$du --inodes -h --max-depth=1
28+
6 ./.ssh
29+
88 ./.config
30+
2 ./.vnc
31+
2 ./.aws
32+
3 ./.lmod.d
33+
5.3K ./.local
34+
3 ./.dbus
35+
408 ./ondemand
36+
2 ./.virtual_documents
37+
6 ./.nv
38+
6.7K ./.pixi
39+
33 ./workshop_scripts
40+
5 ./.cupy
41+
6 ./.gnupg
42+
1 ./.emacs.d
43+
194 ./.nextflow
44+
6 ./.terminfo
45+
2 ./.conda
46+
2 ./.singularity
47+
3 ./.vast-dev
48+
1 ./custom
49+
185 ./genai-workshop
50+
6 ./.atuin
51+
1 ./.apptainer
52+
9 ./.subversion
53+
4 ./packages
54+
1.4K ./.cache
55+
15K .
56+
```
57+
58+
## Large number of small files
59+
In case your dataset or workflow requires to use large number of small files, this can create a bottleneck due to read/write rates. Please refer to [our page on working with a large number of files](./06_large_number_of_small_files.md) to learn about some of the options we recommend to consider.
60+
61+
## Installing Python packages
62+
:::warning
63+
Your home directory is limited to a relatively small number of inodes (30,000). Creating conda/python environments in you home directory, this can eat easily exhaust your inode quota.
64+
:::
65+
66+
Please review the [Package Management section](../06_tools_and_software/01_intro.md#package-management-for-r-python--julia-and-conda-in-general) of the [Torch Software Page](../06_tools_and_software/01_intro.md).

docs/hpc/03_storage/06_best_practices.md

Lines changed: 0 additions & 51 deletions
This file was deleted.
File renamed without changes.

docs/hpc/03_storage/08_transferring_cloud_storage_data_with_rclone.md renamed to docs/hpc/03_storage/07_transferring_cloud_storage_data_with_rclone.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# Transferring Cloud Storage Data with rclone
22

3+
:::tip Globus
4+
Globus is the recommended tool to use for large-volume data transfers due to the efficiency, reliability, security and ease of use. Use other tools only if you really need to. Detailed instructions available at [Globus](./03_globus.md)
5+
:::
6+
37
## Transferring files to and from Google Drive with RCLONE
4-
Having access to Google Drive from the HPC environment provides an option to archive data and even share data with collaborators who have no access to the NYU HPC environment. Other options to archiving data include the HPC Archive file system and using [Globus](./04_globus.md) to share data with collaborators.
8+
Having access to Google Drive from the HPC environment provides an option to archive data and even share data with collaborators who have no access to the NYU HPC environment. Other options to archiving data include the HPC Archive file system and using [Globus](./03_globus.md) to share data with collaborators.
59

610
Access to Google Drive is provided by [rclone](https://rclone.org/drive/) - rsync for cloud storage - a command line program to sync files and directories to and from cloud storage systems such as Google Drive, Amazon Drive, S3, B2 etc. [rclone](https://rclone.org/drive/) is available on Torch cluster as a module, the module versions currently available (March 2025) are:
711
- **rclone/1.68.2**
@@ -344,7 +348,7 @@ Please enter 'q' and we're done with configuration.
344348
345349
### Step 4: Transfer
346350
:::warning
347-
Please be sure to perform data transfers on a data transfer node (DTN). It can degrade performance for other users to perform transfers on other types of nodes. For more information please see [Data Transfers](./03_data_transfers.md)
351+
Please be sure to perform data transfers on a data transfer node (DTN). It can degrade performance for other users to perform transfers on other types of nodes. For more information please see [Data Transfers](./02_data_transfers.md)
348352
:::
349353
350354
Sample commands:

0 commit comments

Comments
 (0)