gfedquota is a editor of limits (quotas) for users and groups.
There are two kinds of limits which are "soft limit" and "hard limit". Soft limits have a grace period. Types of limits are the total number of files, the total space of files, the total number of files include replicas and the total space of files include replicas. Setting 'disable' or -1 indicates unlimited. If no option for limits is specified, no quota is imposed.
This command can be executed by an administrator in the gfarmadm group.
-P NAME, --path=NAMESpecifies a path name to specify a metadata server instead of the root metadata server.
-u NAME, --user=NAMESpecifies a user name to display the current usage and limits.
-g NAME, --group=NAMESpecifies a group name to display the current usage and limits.
-G SECOND, --grace=SECONDSpecifies a grace period in second for soft limits.
-s BYTE, --softspc=BYTESpecifies a soft limit of file space in byte.
-h BYTE, --hardspc=BYTESpecifies a hard limit of file space in byte.
-m NUM, --softnum=NUMSpecifies a soft limit of file number.
-n NUM, --hardnum=NUMSpecifies a hard limit of file number.
-S BYTE, --physoftspc=BYTESpecifies a soft limit of physical space in byte include replicas.
-H BYTE, --phyhardspc=BYTESpecifies a hard limit of physical space in byte include replicas.
-M NUM, --physoftnum=NUMSpecifies a soft limit of physical number include replicas.
-N NUM, --phyhardnum=NUMSpecifies a hard limit of physical number include replicas.
-?Displays a list of command options.