跳转到主内容

Coming soon...New Support-Specific categorization of Knowledge Articles in the NetApp Knowledge Base site to improve navigation, searchability and your self-service journey.

是否可以指定配额报告命令输出的单位?

Views:
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core<a>要</a><a>转换的</a><a>配额报告 </a>
Last Updated:

适用场景

  • ONTAP 9

问题解答

quota report 命令输出的单位可以通过 set -units <Unit> 命令进行设置。
set 命令对所有命令输出都有效 quota report 、而不仅仅是对命令有效。
  1. 执行 set 命令以检查当前大小单位的设置。
  2. 执行set -units命令以检查指定的values​。
  3. 执行 set -units <Unit> 命令以设置此单元。
  4. 执行set -units命令以确认当前大小单位设置的更改。
  5. 使用同一命令确认更改单位。

示例:

CLUSTER2:::*>配额报告

Vserver: svm21

                   ----Disk----  ----Files-----   Quota
Volume   Tree    Type   ID     Used  Limit   Used   Limit   Specifier
-------  --------  ------  -------  -----  -----  ------  ------   ---------
vol1    qtree1   tree   1      4KB 550MB    5     -   qtree1

cluster2::*> set
User Name:        admin
Profile Name:      admin
Privilege Level:     diagnostic
Confirmation Messages: on
Show All Fields:     false
Show Field Separator:
Data Units:       auto
Pagination Rows:     32
Default Vserver:
Default Node:
Stop On Error:      false
Prompt Timestamp:

cluster2::*> set -units ?
  auto             Auto-scale data size for human readable output
  raw              Bytes without unit designation
  B               Bytes
  KB              Kilobytes
  MB              Megabytes
  GB              Gigabytes
  TB              Terabytes
  PB              Petabytes

cluster2::*> set -unit MB

cluster2::*> set
User Name:        admin
Profile Name:      admin
Privilege Level:     diagnostic
Confirmation Messages: on
Show All Fields:     false
Show Field Separator:
Data Units:       MB
Pagination Rows:     32
Default Vserver:
Default Node:
Stop On Error:      false
Prompt Timestamp:

cluster2::*> quota report
Vserver: svm21

                   ----Disk----  ----Files-----   Quota
Volume   Tree    Type   ID     Used  Limit   Used   Limit   Specifier
-------  --------  ------  -------  -----  -----  ------  ------   ---------
vol1    qtree1   tree   1      0MB 550MB    4     -   qtree1

追加信息

 

Scan to view the article on your device