www.centos.org Forum Index CentOS 6 - General Support Serious quota problem
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread |
|---|
|
Serious quota problem | #1 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2012/3/15
From
Posts: 1
|
Hi guys,
I need a little help about one issue with configuring the quota on my CentOS 6.2. I have quota installed: Quote: [root@evo home]# rpm -qa | grep quota quota-3.17-16.el6.i686 So I changed the fstab file as follows Quote: /dev/mapper/vg_evo-evo_root / ext4 defaults,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 1 Then created two files: touch /aquota.user /aquota.group Changed the permissions: chmod 600 /aquota.* and remounted the partition: mount -o remount But when i enter quotacheck I receive the following errors: Quote: [root@evo home]# quotacheck -avugm quotacheck: WARNING - Quotafile //aquota.user was probably truncated. Cannot save quota settings... quotacheck: WARNING - Quotafile //aquota.group was probably truncated. Cannot save quota settings... I've read that this is something normal for the firsttime running of the command but when I type quotaon I receive another error: Quote: [root@evo home]# quotaon -avug quotaon: Cannot find quota file on / [/dev/mapper/vg_evo-evo_root] to turn quotas on/off. quotaon: Cannot find quota file on / [/dev/mapper/vg_evo-evo_root] to turn quotas on/off. As you can see I'm typing all the commands above as root. That happens when I want to change the quota for a certain user: Quote: [root@evo home]# edquota -u testov edquota: Cannot find any quota file to work on. No filesystems with quota detected. I've read somewhere that I have to rebuild my kernel but I'm not pretty sure if it's really necessary to do that besides I'm a newbie in CentOS environment but I already like it a lot ;) My Kernel version is 2.6.32-220.7.1.el6.i686. Any ideas? I appreciate your help. PS: don't know if this will help but when I try to find quota module I receive the following error: Quote: [root@evo home]# modinfo quota_v2 ERROR: modinfo: could not find module quota_v2 |
||
Posted on: 2012/3/15 14:57
|
|||
|
Re: Serious quota problem | #2 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
Please see the upstream Storage_Administration_Guide. |
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/3/17 1:37
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
Dictator




You cannot start a new topic.
You can view topic.