Operating System - HP-UX
1823144 Members
3570 Online
109647 Solutions
New Discussion юеВ

Re: Quota command doesn't give any output

 
SOLVED
Go to solution
PVR
Valued Contributor

Quota command doesn't give any output

Hi

We are using 740 and 960 filers. NIS master is Solaris box and all HP boxes are NIS clients.

All users home directory is automounted one from Storage boxes. In all soalris boxes, I am able to get correct out put for quota -v command.

But in HP Unix boxes I am geting blank line as output for /usr/sbin/quota -v command

Many Thanks in advance.
Don't give up. Try till success...
3 REPLIES 3
Stephen Keane
Honored Contributor

Re: Quota command doesn't give any output

Probably a dumb question, but have you enabled quotas on the HP server?

From man (5) quota

For each file system for which quotas are to be enabled, perform the following tasks:

1. Mount the file system.

2. Add quota to the existing options list in /etc/fstab. For example, change the string default for the root (/) entry to
default,quota. Once this is done, quotas will automatically be enabled for all relevant file systems on system reboot.

3. Create the quotas file in the mount directory of the file system. For example, for the /mnt file system, run the command

etc
Geoff Wild
Honored Contributor

Re: Quota command doesn't give any output

Should be: /usr/bin/quota

What you want to use is the repquota command.

edquota to set up quotas.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Robert-Jan Goossens
Honored Contributor
Solution

Re: Quota command doesn't give any output