Data quota
When you have logged into the server, you usually start in your home (~) folder. Move to the root of the server (cd /) and you’ll see that is a large number of other directories. A few of these directories contain space that is assigned to your user account. Here is an overview:
| Path | Data quota | Max. files | Note |
|---|---|---|---|
/afs/ihep.ac.cn/users/${USER:0:1}/$USER |
500 MB | home (~) |
|
/besfs5/users/$USER |
no quota | 1,000,000 | fastest connection |
/scratchfs/bes/$USER |
500 GB | 200,000 | large data files |
/workfs2/bes/$USER |
5 GB | 50,000 |
Official information on the quota can be found here (BESIII) and here (IHEP). You can check your quota by running the following commands:
fs listquota /afs/ihep.ac.cn/users/${USER:0:1}/$USERlfs quota -u $USER /besfs5lfs quota -u $USER /scratchfslfs quota -u $USER /workfs2
Tip
The best setup is to use /besfs5 for your code and small data files. You can use symbolic links to link from your home directory to /besfs5 and avoid quota issues under /afs. Example:
ln -s /besfs5/users/$USER/.cache ~/.cache