1838063 Members
5301 Online
110124 Solutions
New Discussion

Disk Quota Problem

 
Emil Henry
Regular Advisor

Disk Quota Problem

Hello!

We are running 11i on a T600 server. The machine is the NFS Server, and is not mounting any filesystems from any other machines. Disk quotas have been turned on for the users (mainly students) and there are about 17 filesystems mounted with quotas.

Now to the problem: When one telnets into the server, puts in the username and password, and thereafter it takes between 1 to 4 minutes to get the prompt. It stops at "Please wait...checking for disk quotas". If one is logged into the machine already and does a "quota -v" the same thing happens. Any ideas?

Thanks in advance,

Regards,

Emil
8 REPLIES 8
Emil Henry
Regular Advisor

Re: Disk Quota Problem

Just to clarify that this happens to all users, including root (no quota). Tried creating a blank quotas file in all the file systems and that did not help.

Emil
Con O'Kelly
Honored Contributor

Re: Disk Quota Problem

Hi Emil

If you have the same problem with root ( & it doesn't have quotas), then it would appear its not a problem with disk quotas. Can you turn off quotas & check if you have the problem.

What's the performance like on the system? If disk activity is very high, often logins can be very slow.
If you have glance check disk activity or else use iostat or sar -d.

Cheers
Con
Caesar_3
Esteemed Contributor

Re: Disk Quota Problem

Hello!

Did you check dmesg and syslog for any
problems?

Caesar
Suresh Patoria
Super Advisor

Re: Disk Quota Problem

Hi,

I don't think so this is the problem of disk quota

i think ur server performance is degrade

so pls check the server performance,
how much load on the system use the top command
ans also use the iostat, sar command to check the disk
above things might be help u

i want to know how many user login simultanously

Thanx

Robert-Jan Goossens
Honored Contributor

Re: Disk Quota Problem

Hi Emil,

Don't think it is quotas, think you have got some runaway processes, check

# sar
# top
# sar 5 5

Check if there are some processes taking all or almost all of your cpu's.

Hope it helps,

Robert-Jan.
Pete Randall
Outstanding Contributor

Re: Disk Quota Problem

Emil,

NFS mounted home directories, maybe?

Problems in .profiles or /etc/profile?


Pete


Pete
Emil Henry
Regular Advisor

Re: Disk Quota Problem

Let me answer all the questions asked. Thanks for taking the time.

When I remove the quota option in /etc/fstab the login is normal. If I put the quota option back, it takes 1 to 4 minutes to logon.

Did the following and the login is normal.
mv /usr/bin/quota /usr/bin/quota.old
ln -s /bin/true /usr/bin/quota

The performance is great on the machine. I used top, sar, etc. to check. It is not waiting for I/O. There is nothing in the syslog or dmesg to indicate a problem.

Eventhough the problem is seen when one logs in or does a "quota -v" students do not log into this machine. It is a file server and users do not log in to it. But, as we have to have quotas enforced, it needs to work.

It does not mount any fileysystems from any other system. It just exports to other clients.

Tim Sanko
Trusted Contributor

Re: Disk Quota Problem

Emil,

Try to check for the /var/adm/*tmp files to see if they are too large...

Another problem isif you are running NIS and you have a slow DNS server(I tripped and Found that one.)

Tim