Operating System - Tru64 Unix
1751856 Members
5501 Online
108782 Solutions
New Discussion юеВ

Re: User quota is different in server and client.

 
skiran
Advisor

User quota is different in server and client.

I am facing a problem with quota command. It doesn't show the soft and hard limit correctly. It shows 0 Kb soft limit on other tru64 servers. But in Linux servers it works fine.


quota on NFS Server : (tru64 5.0 )

quota -u user1
Disk quotas for user user1 (uid 219):
Filesystem blocks quota limit grace files quota limit grace
/home1 1583093 4194304 4718592 44659 0 0


quota on NFS Client: (tru64 4.0 )

# quota -u user1
Disk quotas for user user1 (uid 219):
Filesystem blocks quota limit grace files quota limit grace
/home1 1583093* 0 524288 none 44656 0 0


If we run quota -u user1 on any Linux machine , it will show user quota properly .
And File system is same for both.
we have written a script to check quota . This is failing due to this .
Can anybody throw some light on this?



Regards,
Shashi
4 REPLIES 4
Ivan Ferreira
Honored Contributor

Re: User quota is different in server and client.

Ensure that the following service is enabled in /etc/inetd.conf:

rquotad/1 dgram rpc/udp wait root /usr/sbin/rpc.rquotad rpc.rquotad

Use inetd -h to refresh the configuration file if you have done any changes.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
skiran
Advisor

Re: User quota is different in server and client.


Thanks for your reply...

rquotad is already enabled. Quota is working for some users . But for some users it is showing 0Kb soft limit.

Thanks,
Shashi
Ivan Ferreira
Honored Contributor

Re: User quota is different in server and client.

Are the users ID consistent on the server and the client?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
skiran
Advisor

Re: User quota is different in server and client.


Hi,
The problem exists only for nfs client which are less than tru64 V5.0( V4.0F )
And the binary (/usr/sbin/quota ) also differs.
For Linux and other servers it works fine.

Are there any patches(tru64 V4.0) for this quota command?

Thanks,
shashi