10.5.3. Resetting quotas for projects, users, and share types


You can remove quota overrides for projects, users, and share types in the Shared File Systems service (manila) to return quotas to their default values. Reset quotas to their default values by using the openstack share quota delete command.

In the following procedure, enter the values carefully. The Shared File Systems service does not detect or report incorrect values.

Procedure

  1. Access the remote shell for the openstackclient pod from your workstation:

    $ oc rsh -n openstack openstackclient
  2. Use the following commands to reset quotas:

    • Reset project quotas:

      $ openstack share quota delete <project_id>
      • Replace <project_id> with the project ID. This value must be the project ID, not the project name.
    • Reset quotas for a specific user:

      $ openstack share quota delete <project_id> --user <user_id>
      • Replace <user_id> with the user ID. The value must be the user ID, not the user name.
    • Reset quotas for a share type that is used by project users:

      $ openstack share quota delete <project_id> --share-type <share_type>
      • Replace <share_type> with the share type you want to reset.

Verification

  1. The openstack share quota delete command does not produce any output. Use the openstack share quota show command to verify that a quota was successfully reset.
  2. List the default quotas for all projects. Default quotas apply to projects that have no overrides.

    $ openstack share quota show <project> --defaults
  3. Exit the openstackclient pod:

    $ exit
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部