DF 输出显示的 CIFS 共享值不正确
适用场景
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