There are two kinds of quota on the file system:
disk quota: limit amount of data you can store.
number of files quota: limit number of files you can create (on the IFB core cluster, this limit is 1000 files per GB)
# pour voir le quota actuel
# on récupère le numéro de projet
lfs project -d <dossier>
# on récupère les infos de quota pour ce projet
lfs quota -h -p <project_id> <dossier>
Vous pouvez aussi rajouter ce texte à votre .bashrc
lfsgetquota () {
gid=$(getent group $1 | cut -f 3 -d ':')
if [ -d /shared/projects/$1 ]
then
lfs quota -h -p $gid /shared/projects/$1
fi
if [ -d /shared/home/$1 ]
then
lfs quota -h -p $gid /shared/home/$1
fi
}
Et ensuite dans bash l'utiliser comme ca avec votre login:
lfsgetquota <login>
Ou comme ca avec votre projet:
lfsgetquota <project name>