How can I know the quotas and consumption of the disk spaces?

You simply need to use the IDRIS idr_quota_user command.

By default, it displays the occupation of the HOME, WORK or STORE disk spaces of your active project (the one you are working on).

If your login is attached to more than one project, you can use the option -p … of the idr_quota_user command to select a particular project (see the output of the IDRIS command idrproj).