User Quota not reflected on CIFS share on Linux

zenon1823

Explorer
Joined
Nov 13, 2018
Messages
66
This might be an easy answer of doesn't work / not supported, but id like to know if that's the case or if I have something else wrong. I have a 1.8TB dataset, Ive applied a user-quota of 1500GB to a specific user. The dataset is shared via SMB. When I map the drive on windows using the credentials of the user with the quota it shows in explorer as having a 1.42TB capacity. If I map it with credentials that don't have a quota it shows as 1.8TB capacity. This all seems right.

My question is about mounting it as a CIFS share in linux (ubuntu 20lts specifically). When mounted using the user with a quota it shows as being the full 1.8TB in capacity. The quota is enforced because im getting errors that the drive is full even though df still shows space available.

So my question is does user quota not reflect the drive size in a linux cifs mount when mounted using a user with a quota?
 
Top