{"id":3800,"date":"2022-12-20T17:20:06","date_gmt":"2022-12-20T20:20:06","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/setquota-man8\/"},"modified":"2022-12-20T17:20:06","modified_gmt":"2022-12-20T20:20:06","slug":"setquota-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/setquota-man8\/","title":{"rendered":"SETQUOTA (man8)"},"content":{"rendered":"<h1 align=\"center\">SETQUOTA<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#FILES\">FILES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">setquota \u2212 set disk quotas<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>setquota<\/b> [ <b>\u2212rm<\/b> ] [ <b>\u2212u<\/b> | <b>\u2212g<\/b> | <b>\u2212P<\/b> ] [ <b>\u2212F<\/b> <i>quotaformat<\/i> ] <i>name block-softlimit block-hardlimit inode-softlimit inode-hardlimit<\/i> <b>\u2212a<\/b> | <i>filesystem&#8230;<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>setquota<\/b> [ <b>\u2212rm<\/b> ] [ <b>\u2212u<\/b> | <b>\u2212g<\/b> | <b>\u2212P<\/b> ] [ <b>\u2212F<\/b> <i>quotaformat<\/i> ] [ <b>\u2212p<\/b> <i>protoname<\/i> ] <i>name<\/i> <b>\u2212a<\/b> | <i>filesystem&#8230;<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>setquota \u2212b<\/b> [ <b>\u2212rm<\/b> ] [ <b>\u2212u<\/b> | <b>\u2212g<\/b> | <b>\u2212P<\/b> ] [ <b>\u2212F<\/b> <i>quotaformat<\/i> ] <b>\u2212a<\/b> | <i>filesystem&#8230;<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>setquota \u2212t<\/b> [ <b>\u2212u<\/b> | <b>\u2212g<\/b> | <b>\u2212P<\/b> ] [ <b>\u2212F<\/b> <i>quotaformat<\/i> ] <i>block-grace inode-grace<\/i> <b>\u2212a<\/b> | <i>filesystem&#8230;<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>setquota \u2212T<\/b> [ <b>\u2212u<\/b> | <b>\u2212g<\/b> | <b>\u2212P<\/b> ] [ <b>\u2212F<\/b> <i>quotaformat<\/i> ] <i>name block-grace inode-grace<\/i> <b>\u2212a<\/b> | <i>filesystem&#8230;<\/i><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><b>setquota<\/b><\/i> is a command line quota editor. The filesystem, user\/group\/project name and new quotas for this filesystem can be specified on the command line. Note that if a number is given in the place of a user\/group\/project name it is treated as an UID\/GID\/project ID. <b><br \/> -r, &#8211;remote<\/b><\/p>\n<p style=\"margin-left:22%;\">Edit also remote quota use rpc.rquotad on remote server to set quota. This option is available only if quota tools were compiled with enabled support for setting quotas over RPC.<\/p>\n<p style=\"margin-left:11%;\"><b>-m, &#8211;no-mixed-pathnames<\/b><\/p>\n<p style=\"margin-left:22%;\">Currently, pathnames of NFSv4 mountpoints are sent without leading slash in the path. <b>rpc.rquotad<\/b> uses this to recognize NFSv4 mounts and properly prepend pseudoroot of NFS filesystem to the path. If you specify this option, <b>setquota<\/b> will always send paths with a leading slash. This can be useful for legacy reasons but be aware that quota over RPC will stop working if you are using new <b>rpc.rquotad<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>-F, &#8211;format=<\/b><i>quotaformat<\/i><\/p>\n<p style=\"margin-left:22%;\">Perform setting for specified format (ie. don\u2019t perform format autodetection). Possible format names are: <b>vfsold<\/b> Original quota format with 16-bit UIDs \/ GIDs, <b>vfsv0<\/b> Quota format with 32-bit UIDs \/ GIDs, 64-bit space usage, 32-bit inode usage and limits, <b>vfsv1<\/b> Quota format with 64-bit quota limits and usage, <b>rpc<\/b> (quota over NFS), <b>xfs<\/b> (quota on XFS filesystem)<\/p>\n<p style=\"margin-left:11%;\"><b>-u, &#8211;user<\/b><\/p>\n<p style=\"margin-left:22%;\">Set user quotas for named user. This is the default.<\/p>\n<p style=\"margin-left:11%;\"><b>-g, &#8211;group<\/b><\/p>\n<p style=\"margin-left:22%;\">Set group quotas for named group.<\/p>\n<p style=\"margin-left:11%;\"><b>-P, &#8211;project<\/b><\/p>\n<p style=\"margin-left:22%;\">Set project quotas for named project.<\/p>\n<p style=\"margin-left:11%;\"><b>-p, &#8211;prototype=<\/b><i>protoname<\/i><\/p>\n<p style=\"margin-left:22%;\">Use quota settings of user, group or project <i>protoname<\/i> to set the quota for the named user, group or project.<\/p>\n<p style=\"margin-left:11%;\"><b>&#8211;always-resolve<\/b><\/p>\n<p style=\"margin-left:22%;\">Always try to translate user \/ group \/ project name to uid \/ gid \/ project ID even if the name is composed of digits only.<\/p>\n<p style=\"margin-left:11%;\"><b>-b, &#8211;batch<\/b><\/p>\n<p style=\"margin-left:22%;\">Read information to set from stdin (input format is <i>name block-softlimit block-hardlimit inode-softlimit inode-hardlimit<\/i> ). Empty lines and lines starting with # are ignored.<\/p>\n<p style=\"margin-left:11%;\"><b>-c, &#8211;continue-batch<\/b><\/p>\n<p style=\"margin-left:22%;\">If parsing of an input line in batch mode fails, continue with processing the next line.<\/p>\n<p style=\"margin-left:11%;\"><b>-t, &#8211;edit-period<\/b><\/p>\n<p style=\"margin-left:22%;\">Set grace times for users\/groups\/projects. Times <b>block-grace<\/b> and <b>inode-grace<\/b> are specified in seconds.<\/p>\n<p style=\"margin-left:11%;\"><b>-T, &#8211;edit-times<\/b><\/p>\n<p style=\"margin-left:22%;\">Alter times for individual user\/group\/project when softlimit is enforced. Times <b>block-grace<\/b> and <b>inode-grace<\/b> are specified in seconds or can be string \u2019unset\u2019.<\/p>\n<p style=\"margin-left:11%;\"><b>-a, &#8211;all<\/b><\/p>\n<p style=\"margin-left:22%;\">Go through all filesystems with quota in <b>\/etc\/mtab<\/b> and perform setting.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>block-softlimit<\/i> and <i>block-hardlimit<\/i> are interpreted as multiples of kibibyte (1024 bytes) blocks by default. Symbols K, M, G, and T can be appended to numeric value to express kibibytes, mebibytes, gibibytes, and tebibytes.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>inode-softlimit<\/i> and <i>inode-hardlimit<\/i> are interpreted literally. Symbols k, m, g, and t can be appended to numeric value to express multiples of 10^3, 10^6, 10^9, and 10^12 inodes.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">To disable a quota, set the corresponding parameter to 0. To change quotas for several filesystems, invoke once for each filesystem.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Only the super-user may edit quotas.<\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>aquota.user or aquota.group<\/b><\/p>\n<p style=\"margin-left:42%;\">quota file at the filesystem root (version 2 quota, non-XFS filesystems)<\/p>\n<p style=\"margin-left:11%;\"><b>quota.user or quota.group<\/b><\/p>\n<p style=\"margin-left:42%;\">quota file at the filesystem root (version 1 quota, non-XFS filesystems)<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"14%\">\n<p><b>\/etc\/mtab<\/b><\/p>\n<\/td>\n<td width=\"17%\"><\/td>\n<td width=\"36%\">\n<p>mounted filesystem table<\/p>\n<\/td>\n<td width=\"22%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>edquota<\/b>(8), <b>quota<\/b>(1), <b>quotactl<\/b>(2), <b>quotacheck<\/b>(8), <b>quotaon<\/b>(8), <b>repquota<\/b>(8)<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  setquota \u2212 set disk quotas <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,898],"class_list":["post-3800","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-setquota"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3800","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3800"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3800\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}