Solved

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

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Samba is the de-facto standard program (or, more correctly: suite of programs) that UNIX and Linux systems use to share files with Microsoft Windows (and more recently, Mac OS-X) systems. Currently, there are 2 common versions of Samba available,…
Goal:  To set up a secure SSH server for your home computer to make it accessible anywhere AND to use it as a port forwarding proxy. Steps 1.  WinSSHD version 5 is free for personal use.  So download and install it.  You can download it from the…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

920 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

15 Experts available now in Live!

Get 1:1 Help Now