LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-18-2009, 03:50 AM   #1
Nakano
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
Are Quota Limit and Disk Size consumed different?


I am very new for Linux Mail Server administration.
The mail server limits each client storage maximum size by Quota.

I have now two questions regarding to Quota management.
As first, I feel that when sometime and some client may reach to the limit, the server may fall into hung-up like status. Each occasion I need to reboot the server to let server wack up. When such an occasion occur I check every clients disk consuming size by using "repquota -a" command, then usually I can find some users.

Then now, as second question, even though "repquota" shows client's information being over given Quota blocks as like;

[root@kin ccc]# repquota -v /dev/sda9
(username) -- 1962916 1800000 2000000 66 0 0


Now, on the other hand, because this /dev/sda9 is the storage give to client to keep Dovecot IMAP protocol messages on the server, thus I check the client's folder by using "du -a" as shown as;

[root@kin ccc]# du -a (username)
.....
(IMAP Folder and files listed with consumed size)
.....
631684 (username)


Above is just one of example where I have experienced.

Here, I would like to summary my questions as follows.
(1) May excess over Quota Limit cause for Server un-stable running?
The Server runs Red Hut Linux Enterprise V5 and Dovecot IMAP.
(2) Is it normal that both of repquota and du command are different size shown?

Because of these questions, I am wondering what and how I should do to solve my server's unstable running status. Kindly please provide me any direction where I should go to.

Thanks and regards.
Y.Nakano
 
Old 07-19-2009, 03:08 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,524
Blog Entries: 27

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
Hello Nakano

I don't have Red Hut Linux Enterprise V5 and Dovecot IMA but nobody else has replied yet ...

Surely hitting a user's quota limit affects a service that is creating files for users! A well-programmed service would detect file creation error (for any reason, including quota limit) and take graceful action rather than hang or become unstable.

Regards the du/repquota discrepancy ...

Check the man page for your specific repquota. Most man pages say it reports in kilobytes, others do not specify the unit. The quota suite works in "blocks". Each file system is formatted with a particular blocksize, usually 1 kB. I don't know if the quota system works in fixed-size (1 kB) blocks or in the block size of each file system. What is the block size on the /dec/sda9 file system?

Please confirm that you running [root@kin ccc]# du -a <username> in a directory on /dev/sda9 that contains a directory called <username> which contains only files belonging to <username>, including any hidden (.*) files?

Are you absolutely sure that <username> has no other files on the /dev/sda9 file system?

What does du report with the --apparent-size option?

Does Dovecot IMA create sparse files?

Best

Charles
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Limit size quota for a samba shared folder delltek04 Linux - Server 6 01-26-2009 06:35 PM
how to troubleshoot disk size limit? lxa2xjj Linux - Hardware 2 08-07-2008 01:34 PM
Disk quota that including database size cooljai Linux - Server 0 06-06-2007 02:38 AM
Where can I find a simple tutorial on quota (limit capacity of disk space of a user)? George2 Linux - Software 5 11-04-2003 08:56 AM
Limit Disk Quota per user ? mikeshn Linux - General 1 06-19-2003 06:33 PM


All times are GMT -5. The time now is 04:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration