跳转到主内容

DF 输出显示的 CIFS 共享值不正确

Views:
15
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
cifs
Last Updated:

适用场景

ONTAP 9

问题描述

  • CIFS 共享的 DF 输出将所有值显示为 0 知识库
    • 示例:
[root@Client ~]# mount -t cifs -o username=$username, password=$password, uid=$local_uid, gid=$local_gid, vers=3.0 //storage/cifsshare/folder /mnt -vvv
mount.cifs kernel mount options: ip=x.x.x.x, unc=\\storage\cifsshare, vers-1.0, uid=12345, gid=12345, user=windows_user, prefixpath=folder, pass=***
[root@Client -]: df -h /mnt
Filesystem                  Size    Used    Avail    Uses    Mounted on
//storage/cifsshare/folder      0.0kb   0.0kb   0.0kb   -     /mnt
[root@Client -]: 1
 
  • 如果共享是使用挂载的,则不会发生这种情况 SMB1
 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.