April 18, 2024, 10:37:12 PM

News : LinuxSolved.com Linux Help Community Forum..

Author Topic: CentOS5.2, disk quota problem  (Read 7019 times)

Offline mentor1985

  • New Member
  • Posts: 1
CentOS5.2, disk quota problem
« on: June 23, 2009, 07:40:42 PM »

Sorry for my bad english:)
Just want to enable userquota in linux to the newly created logical partition. I have created /dev/sda5 from the extended partition. Formatted the partition with ext3 file system. Then mount the partion on /work. Done the necessary changes in /etc/fstab file. Applied the label /work to /dev/sda5. Restart the system. After that edit /etc/fstab add usrquota string. Remount the partition again. Created aquota.user file in /work. Update that file. then run edquota username, applied soft and hard limit, but while running repquota -a command i am nt getting that user in summerise report. For eg. i have created user test after that applied quota for it...but my output of repquota -a is as follows
[root@localhost ~]# repquota -a
*** Report for user quotas on device /dev/sda5
Block grace time: 7days; Inode grace time: 7days
                        Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
root      --    5664       0       0              4     0     0

It is not applying quota , how to solve this problem??:eek:

Offline kaushalpatel1982

  • LST CareTaker
  • Linux Learner
  • *****
  • Posts: 87
Re: CentOS5.2, disk quota problem
« Reply #1 on: August 18, 2010, 09:39:01 AM »
try QUOTAON command to start quota on system