LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-06-2013, 04:36 PM   #1
shfyang
Member
 
Registered: Jun 2013
Location: metro Detroit
Distribution: RHEL, SuSE
Posts: 54

Rep: Reputation: Disabled
Red face Disk quota on Centos 5.6, quota not working?


I have Centos 5.6 64-bit, here are the configuration of my server

************************************************************************
Command (m for help): p

Disk /dev/sda: 32.2 GB, 32212254720 bytes
255 heads, 63 sectors/track, 3916 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 6 48163+ 83 Linux
/dev/sda2 7 515 4088542+ 83 Linux
/dev/sda3 516 3211 21655620 83 Linux
/dev/sda4 3212 3916 5662912+ 5 Extended
/dev/sda5 3212 3916 5662881 82 Linux swap / Solaris
***************************************************************************
/dev/sda2 is where /home is mounted to (I did not use lvm for this virtual server), the block size for sda2 is 4096, "ajmanning" is a user upon whom I want to impose quota, so here is the setup:

[root@localhost ~]# edquota ajmanning
Disk quotas for user ajmanning (uid 504):
Filesystem blocks soft hard inodes soft hard
/dev/sda3 56 1 2 7 1 2
~

so I have two questions: first, by reading this quota table, how many MB is actually assigned to "ajmaning"? second, when I try to copy lots of data (to see if I ever get stopped due to quota limit), and I was never stopped, actually I am able to copy 7GB unto /home/ajmanning/Desktopm, so quota is not working for me? Can someone explain this to me? Thanks!
 
Old 11-09-2013, 06:28 PM   #2
angryfirelord
Member
 
Registered: Dec 2005
Distribution: Fedora, CentOS
Posts: 515

Rep: Reputation: 66
What is in your fstab file? It may be worthwhile to review this document: http://www.centos.org/docs/5/html/De...sk-quotas.html
 
  


Reply



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
CUPS Quota: Display over quota on Fedora 15 Printing GUI OrangeGrover Linux - General 0 11-09-2011 02:14 PM
Web Quota + Print Quota dimingo Linux - Newbie 1 09-25-2008 12:31 AM
centOS 4.4 user quota not working ! jimmyjiang Red Hat 0 05-11-2007 02:57 PM
procmail+quota+bounch mail+but no quota full msg to receipent mickyman Linux - General 3 03-02-2006 03:32 AM
ftp quota probs - 0kb files at quota limit ph_xm Linux - Newbie 0 02-02-2005 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:03 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration