LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2014, 05:20 PM   #1
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 203

Rep: Reputation: 27
Arrow Journaled quota in CentOS 6.5


Hi everyone,
I am having this issue while trying to enable quotas on a file system:
Code:
[root@centos ~]# quotacheck -avug
quotacheck: Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after an unclean shutdown.
I've already taken a look at a few sites to know what journaled quotas are and how to enable them. However, I still have the following questions:
1) How can I find out whether my current kernel supports journaled quota or not? (I need to know this in advance in order to enable quotas accordingly in /etc/fstab).
2) What is the following mount option used for?
Quote:
jqfmt=vfsv0
3) Do the quota database files need to be named aquota.user and aquota.group? Or they can be named whatever I want as long as I specify their location on the corresponding line in the /etc/fstab file?
4) Is the location of the quota database files relative to the file system? i.e., does
Code:
/dev/sda1 /home ext4 defaults,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 1 1
mean that aquota.group and aquota.user are located inside /home?
Thank you in advance.

Last edited by gacanepa; 03-28-2014 at 05:22 PM.
 
Old 04-06-2014, 05:22 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,354
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
Quote:
Originally Posted by gacanepa View Post
How can I find out whether my current kernel supports journaled quota or not?
If your kernel supports journaling file systems then it does.


Quote:
Originally Posted by gacanepa View Post
What is the following mount option used for?
jqfmt stands for "journal quota format": see 'man mount'.


Quote:
Originally Posted by gacanepa View Post
Do the quota database files need to be named aquota.user and aquota.group?
No, you can adjust names with the usrjquota and grpjquota mount options: see 'man mount'.


Quote:
Originally Posted by gacanepa View Post
Is the location of the quota database files relative to the file system?
AFAIK yes.


//NTLB
 
  


Reply

Tags
centos, linux, quotas


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk quota on Centos 5.6, quota not working? shfyang Red Hat 1 11-09-2013 06:28 PM
allowed filesystem-type for /boot partition: journaled or non-journaled? _cs Linux - General 7 05-24-2011 11:44 PM
Squid with Quota on Centos craja_1979 Linux - Newbie 1 01-20-2011 01:14 AM
LXer: How To Set Up Journaled Quota On Debian Lenny LXer Syndicated Linux News 0 06-24-2009 06:20 PM
Quota error - CentOS 4.4 Heinz09 Linux - Server 2 05-10-2007 07:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration