For NFS or SMB shares in Windows Storage Server 2012, if I apply hard or soft quotas to the shares, from the client side after mounting the shares I am seeing total size of the mount point as the volume size but not the quota size.
For example. I have two Quota templates.
Quota Templates | Quota1 | 32.0 GB | Hard |
Quota Templates | Quota2 | 32.0 GB | Soft |
I have applied the quotas to few NFS/SMB shares.
Quotas | C:\Shares\Share5 | 0% | 32.0 GB | Hard | Quota1 | Yes |
Quotas | C:\Shares\Share1 | 0% | 32.0 GB | Hard | Quota1 | Yes |
Quotas | C:\Shares\Share3 | 0% | 32.0 GB | Soft | Quota2 | Yes |
Quotas | C:\Shares\Share4 | 0% | 32.0 GB | Soft | Quota2 | Yes |
Now from client side, after mounting these shares, I was expecting the “df” command should show the size of the share as quota size (32GB), but “df” showing the share size as total volume size on the Windows Storage Server 2012. This behavior is totally confusing my users.
# df -h | grep share
280G 59G 221G 21% /media/share1
513G 661M 513G 1% /media/share2
280G 59G 221G 21% /media/share3
Is there any way to change this behavior ? I want the total size of the share to be reported as quota size on the client side so that client applications can understand how much data it can write maximum. The NetApp and EMC NAS devices works in expected way.
Thanks & Regards. Shashi Kanth.