Philipp
2013-Feb-06 07:31 UTC
[Samba] fail to display xfs quotas instead of smbcquotas on Win clients
Hi Samba 3.6.3 on Ubuntu. Filesystem is xfs, grpquota and usrquota are enabled. root at host:# repquota /mntpoint displays the correct data (see below). In smb.conf I defined max protocol = SMB2. When running smbcquotas //host/share -L I'm getting displayed a value of 16GB for every user share. This is the value that is displayed on the windows 7 boxes when looking at the network shares in Start -> Computer. However, I'd like to see there the real file system quotas instead of the smbcquotas. Is there a way how to do that? Thanks for any hints and pointers. Philipp smbquotas output on CLI and displayed on Windows 7: root at host:/etc/samba# smbcquotas //host/share -k -A password.txt -L user1 : 1342464/ 17179869184/ 21474836480 user2 : 3072/ 17179869184/ 21474836480 user3 : 3566592/ 17179869184/ 21474836480 ... userN : 0/ 17179869184/ 21474836480 repquota output as seen on CLI but not displayed on Windows 7: Benutzer belegt weich hart Gnade belegt weich hart Gnade ---------------------------------------------------------------------- user1 -- 671488 8388608 10485760 1642 0 0 user2 -- 1544 8388608 10485760 5 0 0 user3 -- 1783608 8388608 10485760 5224 0 0 ... userN -- 0 8388608 10485760 2 0 0
Michael Wood
2013-Feb-06 07:51 UTC
[Samba] fail to display xfs quotas instead of smbcquotas on Win clients
Hi On 6 February 2013 09:31, Philipp <mailinglists at belfin.ch> wrote:> Hi > > Samba 3.6.3 on Ubuntu. > Filesystem is xfs, grpquota and usrquota are enabled. > root at host:# repquota /mntpoint displays the correct data (see below). > In smb.conf I defined max protocol = SMB2. > > When running smbcquotas //host/share -L I'm getting displayed a value of > 16GB for every user share. This is the value that is displayed on the > windows 7 boxes when looking at the network shares in Start -> Computer. > However, I'd like to see there the real file system quotas instead of the > smbcquotas. Is there a way how to do that?Have a look at the "get quota command" option. It might be what you're looking for, or it might be a workaround anyway. -- Michael Wood <esiotrot at gmail.com>
Björn JACKE
2013-Feb-06 18:13 UTC
[Samba] fail to display xfs quotas instead of smbcquotas on Win clients
On 2013-02-06 at 08:31 +0100 Philipp sent off:> Samba 3.6.3 on Ubuntu. > Filesystem is xfs, grpquota and usrquota are enabled. > root at host:# repquota /mntpoint displays the correct data (see below). > In smb.conf I defined max protocol = SMB2. > > When running smbcquotas //host/share -L I'm getting displayed a value of > 16GB for every user share. This is the value that is displayed on the > windows 7 boxes when looking at the network shares in Start -> Computer. > However, I'd like to see there the real file system quotas instead of the > smbcquotas. Is there a way how to do that?this should have been fixed since a while but Ubuntu has a quite outdated version that doesn't have those fixes. Try the recent 3.6 packages from enterprisesamba.org for Ubuntu instead - they will work better for you I guess. The smb quota command may work as a work around but will put a lot more load on your system. Cheers Bj?rn -- SerNet GmbH, Bahnhofsallee 1b, 37081 G?ttingen ? +49-551-370000-0, ? +49-551-370000-9 AG G?ttingen, HRB 2816, GF: Dr. Johannes Loxen
Maybe Matching Threads
- smbcquotas tells me that "quotas are not enabled"
- how can i setup disk quota with smbcquotas?
- why i am getting the error message cli_full_connection failed! (NT_STATUS_LOGON_FAILURE) on smbcquotas when i am try to use smbcquotas
- smbcquotas (Need help with command syntax)
- why i am getting the error message cli_full_connection failed! (NT_STATUS_LOGON_FAILURE) on smbcquotas when i am try to use smbcquotas