"Usage: getname [--help|-h] [--instance|-i] [--fsname|-n] [path ...]"},
#ifdef HAVE_SYS_QUOTA_H
{"setquota", lfs_setquota, 0, "Set filesystem quotas.\n"
- "usage: setquota <-u|-g|-p> <uname>|<uid>|<gname>|<gid>|<projid>\n"
- " -b <block-softlimit> -B <block-hardlimit>\n"
- " -i <inode-softlimit> -I <inode-hardlimit> <filesystem>\n"
- " setquota <-u|--user|-g|--group|-p|--projid> <uname>|<uid>|<gname>|<gid>|<projid>\n"
- " [--block-softlimit <block-softlimit>]\n"
- " [--block-hardlimit <block-hardlimit>]\n"
- " [--inode-softlimit <inode-softlimit>]\n"
- " [--inode-hardlimit <inode-hardlimit>] <filesystem>\n"
- " setquota [-t] <-u|--user|-g|--group|-p|--projid>\n"
- " [--block-grace 'notify'|<block-grace>]\n"
- " [--inode-grace 'notify'|<inode-grace>] <filesystem>\n"
- " setquota <-U|-G|-P>\n"
- " -b <block-softlimit> -B <block-hardlimit>\n"
- " -i <inode-softlimit> -I <inode-hardlimit> <filesystem>\n"
- " setquota <-U|--default-usr|-G|--default-grp|-P|--default-prj>\n"
- " [--block-softlimit <block-softlimit>]\n"
- " [--block-hardlimit <block-hardlimit>]\n"
- " [--inode-softlimit <inode-softlimit>]\n"
- " [--inode-hardlimit <inode-hardlimit>] <filesystem>\n"
- " setquota <-u|-g|-p> <uname>|<uid>|<gname>|<gid>|<projid>\n"
- " <-D|--default>\n"
- " setquota {-u|-g|-p} --delete FILESYSTEM\n"
- " -b can be used instead of --block-softlimit/--block-grace\n"
- " -B can be used instead of --block-hardlimit\n"
- " -i can be used instead of --inode-softlimit/--inode-grace\n"
- " -I can be used instead of --inode-hardlimit\n"
- " -D can be used instead of --default\n\n"
- "Note: The total quota space will be split into many qunits and\n"
- " balanced over all server targets, the minimal qunit size is\n"
- " 1M bytes for block space and 1K inodes for inode space.\n\n"
- " The maximum quota grace time is 2^48 - 1 seconds.\n\n"
- " Quota space rebalancing process will stop when this mininum\n"
- " value is reached. As a result, quota exceeded can be returned\n"
- " while many targets still have 1MB or 1K inodes of spare\n"
- " quota space.\n\n"
- " When setting the grace time, 'notify' can be used as grace to\n"
- " be notified after the quota is over soft limit but prevents\n"
- " the soft limit from becoming the hard limit."},
+ "usage: setquota [-t][-d] {-u|-U|-g|-G|-p|-P} {-b|-B|-i|-I LIMIT} [--pool POOL] FILESYSTEM"},
{"quota", lfs_quota, 0, "Display disk usage and limits.\n"
- "usage: quota [-q] [-v] [-h] [-o <obd_uuid>|-i <mdt_idx>|-I "
- "<ost_idx>]\n"
- " [<-u|-g|-p> <uname>|<uid>|<gname>|<gid>|<projid>] <filesystem>\n"
- " quota [-o <obd_uuid>|-i <mdt_idx>|-I <ost_idx>] -t <-u|-g|-p> <filesystem>\n"
- " quota [-q] [-v] [h] <-U|-G|-P> <filesystem>"},
+ "usage: quota [-q] [-v] [-h] [-o OBD_UUID|-i MDT_IDX|-I OST_IDX]\n"
+ " [{-u|-g|-p} UNAME|UID|GNAME|GID|PROJID]\n"
+ " [--pool <OST pool name>] <filesystem>\n"
+ " quota -t <-u|-g|-p> [--pool <OST pool name>] <filesystem>\n"
+ " quota [-q] [-v] [h] {-U|-G|-P} [--pool <OST pool name>] <filesystem>"},
{"project", lfs_project, 0,
"Change or list project attribute for specified file or directory.\n"
"usage: project [-d|-r] <file|directory...>\n"