df output shows incorrect values for cifs share
Applies to
ONTAP 9
Issue
- df output for CIFS share shows all values as 0 kb
- Example:
[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
- This does not occur if the share is mounted using SMB1