Operating System - HP-UX
1833065 Members
2732 Online
110049 Solutions
New Discussion

HPUX: CIFS 3.0c not seeing user quota ?

 
Dons Dirk
Occasional Contributor

HPUX: CIFS 3.0c not seeing user quota ?

Hi,

I set up quota per user on an hpux 11i machine. On unix, this works fine. I installed A.02.01.02 cifs server, I set the "disk quotas" to "yes" globally and on the share, but when I try smbcquota, it always reports "Quotas are not supported by the server." . Am I doing something wrong ? The release notes said this version should support quota ...

Thanks in advance !
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: HPUX: CIFS 3.0c not seeing user quota ?

Disk quotas should work if set on the system outside CIFS.

Perhaps you need to activate it on the OS. Then it should work regardless of the smb.conf settings.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dons Dirk
Occasional Contributor

Re: HPUX: CIFS 3.0c not seeing user quota ?

It is enabled on the OS and works perfectly :

[root@testx]/opt/samba/bin>quota -v weblogic
Disk quotas for weblogic (uid 520):
Filesystem usage quota limit timeleft files quota limit timeleft
/users 1056428 1000000 1300000 6.9 days 5445 0 0
/bigvol 6830 256000 300000 634 0 0

But still, samba doesn't see them :

[root@testx]/opt/samba/bin>./smbcquotas -u weblogic //testx/weblogic
Password:

Quotas are not supported by the server.

NOTE: //testx/weblogic is the 'homes' share.
Dons Dirk
Occasional Contributor

Re: HPUX: CIFS 3.0c not seeing user quota ?

Is this the correct place to ask this question ? Where could somebody help me ?

What is the official forum for the cifs packages ?
Robert-Jan Goossens
Honored Contributor

Re: HPUX: CIFS 3.0c not seeing user quota ?

http://docs.hp.com/en/B8725-90086/ch01s04.html

HP CIFS Server does not suppport the following parameters of smb.conf:

get quota command
set quota command

Regards,
Robert-Jan
Dons Dirk
Occasional Contributor

Re: HPUX: CIFS 3.0c not seeing user quota ?

I didn't know that. But eitherway, it should work as set quota and get quota are only used when samba is unable to get the quota information directly. I tried with and without get and set quota.

As the release note clearly states quota's are supported, I assume natively ( so without the need for get and set quota ).

Still, it does not work, has ANYBODY gotten this to work on an hpux ??