Solved

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

Posted on 2011-03-17
2
1,042 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 250 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 250 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

How to recover a playlist after moving the music from one location, folder or hard disk, to a new one, folder or disk. Disclaimer I have performed this procedure after moving my music from one hard disk to a second hard disk using Windows XP sp3…
Have you ever stumbled upon a software that is so great that you just love? It happened to me. Love at first sight. Filezilla Server.   Ok its not the most advanced ftp server I've came across. But its a fairly simple piece of software to get the …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now