Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Settiing up Quota's on CentOS 5.5 ( ext4 fs )

Posted on 2011-03-17
2
Medium Priority
?
1,060 Views
Last Modified: 2013-12-02
Hi, I have Centos 5.5 linux with quota enabled in fstab

[root@drone3 ~]# mount | grep usrquota

/dev/sda4 on /test type ext4 (rw,noatime,nodiratime,usrquota)

When I tray to activate quota on the /test I hit the following messages :

[root@drone3 ~]# quotacheck -cu /test

quotacheck: Mountpoint (or device) /test not found.

quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.

[root@tungsten ~]# uname -a
Linux xxx.xxxx.xxxx 2.6.18-164.15.1.el5 #1 SMP Wed Mar 17 11:30:06 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
0
Comment
Question by:Justin_Edmands
2 Comments
 
LVL 7

Accepted Solution

by:
Piloute earned 1000 total points
ID: 35157212
Hi Justin,

In fact, there's a bug with quota package on CentOS 5.3 +.

See here :
http://bugs.centos.org/view.php?id=3528

Get the patch from RedHat in order to fix your problem.

Cheers,
P
0
 
LVL 2

Assisted Solution

by:ind_selva
ind_selva earned 1000 total points
ID: 36542415
Try this

touch /test/aquota.user /test/aquota.group
chmod 600 /test/aquota.*
mount -o remount /test
quotacheck -avugm
quotaon -avug
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Smartwatches: just a fashion accessory or a useful device for all? The Apple Watch (http://www.apple.com/watch/) was launched in April of 2015 and has become a new way for iPhone users to stay connected. Ranging from $349 to $17,000, the Apple Watch…
Eseutil Hard Recovery is part of exchange tool and ensures Exchange mailbox data recovery when mailbox gets corrupt due to some problem on Exchange server.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question