跳转到主内容

是否可以显示 cifs 共享信息及其相应的卷大小?

Views:
7
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

适用于

  • ONTAP 9
  • CIFS

问题解答

该命令 cifs share show -fields volume 仅显示共享卷名称,但不显示卷大小。要查看相应卷的空间使用情况,需要单独使用 df vol show 命令。
 
  • 显示卷的 CIFS 共享

ontap913::> cifs share show -fields volume
vserver share-name volume
------- ---------- ---------
svm0   c$     svm0_root
svm0   ipc$    svm0_root
svm0   vol_workgroup
          vol_workgroup
svm1_ontap913
     ABE     ABE
svm1_ontap913
     audit    audit_svm1
svm1_ontap913
     c$     svm1_ontap913_root

  • 显示卷空间使用量

ontap913::> df -volume ABE
Filesystem        kbytes    used    avail capacity  Mounted on         Vserver
/vol/ABE/        1048580     568   1048012    0%  /ABE            svm1_ontap913
/vol/ABE/.snapshot    55188    9128    46060    17%  /ABE/.snapshot       svm1_ontap913
2 entries were displayed.

  • 显示详细的卷信息

ontap913::> vol show -volume ABE
Vserver  Volume    Aggregate   State    Type    Size  Available Used%
--------- ------------ ------------ ---------- ---- ---------- ---------- -----
svm1_ontap913
      ABE      aggr1_node1  online   RW    1.05GB   1023MB   0%

追加信息

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.