Sponsored Content
Full Discussion: Enable journaled quota
Operating Systems Linux Red Hat Enable journaled quota Post 302867155 by verdepollo on Wednesday 23rd of October 2013 02:14:42 PM
Old 10-23-2013
That depends on the filesystem you use.

Assuming you're using RHEL6 default (ext4) you have to mount the filesystem with the following options:
Code:
usrquota
usrjquota=aquota.user
jqfmt=vfsv0

"aquota.user" can be set to anything you want, and jqfmt's value can be set to "vsfsv0" (default), "vsfold" or "xfs" (there are others but they're less popular).
This User Gave Thanks to verdepollo For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Quota

I'm new to Unix and I'm trying to determin how much space I have on this system. the box is dedicated to Oracle and I log in as the oracle user and type quota. It retrunes nothing. Then I log on as root and type quota -v oracle.. It returns nothing! Gosh this is actually a solaris 5.7 box. ... (1 Reply)
Discussion started by: jarthda
1 Replies

2. HP-UX

Quota-problem

Hello, I'm having some trouble with the quota's I've set on our HP-UX B.11.00 U 9000/800. Well not really with the quota's because I was able to set them and get them working without a problem but the problem resides somewhere with our AS/U (Advanced Server for HP9000 Release B.04.06.07 and... (5 Replies)
Discussion started by: chrizz
5 Replies

3. UNIX for Dummies Questions & Answers

Enable user quota

hi! i would like to enable user quota on my system (FreeBSD 6.2) i've check on enabling user quota here but i still confuse with fstab it shows there: /dev/da1s2g /home ufs rw,userquota 1 2 but my current /etc/fstab : # Device Mountpoint FStype Options ... (1 Reply)
Discussion started by: rdns
1 Replies

4. UNIX for Dummies Questions & Answers

Quota Problem

Hi all! I'm a user of Debian Etch. I've problem with my accoun't quota. After I removed all of my files from my home directory, and typed: du -hs It showed me: 76K . But when I used quota command, it showed me: Disk quotas for user X (uid *********): Filesystem blocks quota ... (2 Replies)
Discussion started by: mjdousti
2 Replies

5. UNIX for Dummies Questions & Answers

Disk Quota

Hi all, I am new to Unix admin. Can anyone tell me how to set disk quota for the users in /export/home directory? Pls specify the exact command. Thanks (1 Reply)
Discussion started by: solaris5.10
1 Replies

6. UNIX for Advanced & Expert Users

Quota threshold

Hi, I am trying to make a script in which the user is notified once the disk space of the environment increases a particular threshold. I have made a script for it but I am facing an error while executing it. Could any one here guide me further?? Script #!/bin/sh warninglimit=350000... (22 Replies)
Discussion started by: Taranjeet Singh
22 Replies

7. Red Hat

User quota

Hi, I want to apply the user quota, but i am unable to apply the quota to user. Kindly provide the guide line, so that i can sortout the problem. Step 1: Create partion on device #fdisk /dev/sda (because hard disk is scsi) #n (new partition table) i.e /dev/sda8. #p ( to print the partition... (2 Replies)
Discussion started by: sahu.tapan
2 Replies

8. Linux

CentOS 5.3 quota

I am running on CentOS 5.3 x86 64bit. I setup quotas on /home as I thought successfully, I tested numerous times with a couple of different users. I login this morning and find my /home near 100% wondering what happened. I have one user that some how blew through his 3.5 gig quota and... (1 Reply)
Discussion started by: beaker457
1 Replies

9. UNIX for Advanced & Expert Users

Pros and cons of a Journaled file System

Hello, Could anyone please enumerate some of the pros and cons to using a Journaled FileSystem? ---------- Post updated at 02:46 PM ---------- Previous update was at 02:45 PM ---------- I know clearly not losing data during a failed move or copy is a big pro, correct? Let's build off of... (8 Replies)
Discussion started by: glev2005
8 Replies

10. Red Hat

Setting quota

I would like to set quota for ALL USERS on a particular filesystem and the quota to be set for NEWLY CREATED USERS also. I am not sure, whether my question is clear. I can set quota for all users but my requirement is, I want the same quota to be set automatically for the user which is going... (2 Replies)
Discussion started by: atanubanerji
2 Replies
QUOTAON(8)						      System Manager's Manual							QUOTAON(8)

NAME
quotaon, quotaoff - turn filesystem quotas on and off SYNOPSIS
/sbin/quotaon [ -vugfp ] [ -F format-name ] filesystem... /sbin/quotaon [ -avugfp ] [ -F format-name ] /sbin/quotaoff [ -vugp ] [ -x state ] filesystem... /sbin/quotaoff [ -avugp ] DESCRIPTION
quotaon quotaon announces to the system that disk quotas should be enabled on one or more filesystems. The filesystem quota files must be present in the root directory of the specified filesystem and be named either aquota.user (for version 2 user quota), quota.user (for version 1 user quota), aquota.group (for version 2 group quota), or quota.group (for version 1 group quota). XFS filesystems are a special case - XFS considers quota information as filesystem metadata and uses journaling to provide a higher level guarantee of consistency. There are two components to the XFS disk quota system: accounting and limit enforcement. Except in the case of the root filesystem, XFS filesystems require that quota accounting be turned on at mount time. It is possible to enable and disable limit enforcement on any XFS filesystem after quota accounting is already turned on. The default is to turn on both accounting and enforcement. The XFS quota implementation does not maintain quota information in user-visible files, but rather stores this information internally. quotaoff quotaoff announces to the system that the specified filesystems should have any disk quotas turned off. OPTIONS
quotaon -a All automatically mounted (no noauto option) non-NFS filesystems in /etc/fstab with quotas will have their quotas turned on. This is normally used at boot time to enable quotas. -v Display a message for each filesystem where quotas are turned on. -u Manipulate user quotas. This is the default. -g Manipulate group quotas. -p Instead of turning quotas on just print state of quotas (ie. whether. quota is on or off) -f Make quotaon behave like being called as quotaoff. quotaoff -F format-name Report quota for specified format (ie. don't perform format autodetection). Possible format names are: vfsold (version 1 quota), vfsv0 (version 2 quota), xfs (quota on XFS filesystem) -a Force all filesystems in /etc/fstab to have their quotas disabled. -v Display a message for each filesystem affected. -u Manipulate user quotas. This is the default. -g Manipulate group quotas. -p Instead of turning quotas off just print state of quotas (ie. whether. quota is on or off) -x delete Free up the space used to hold quota information (maintained internally) within XFS. This option is only applicable to XFS, and is silently ignored for other filesystem types. It can only be used on a filesystem with quota previously turned off. -x enforce Switch off limit enforcement for XFS filesystems (perform quota accounting only). This option is only applicable to XFS, and is silently ignored for other filesystem types. XFS EXAMPLES
Turning on quotas on a non-root XFS filesystem Use mount(8) or /etc/fstab option quota to enable both accounting and limit enforcement. quotaon utility cannot be used for this purpose. Turning on quotas on an XFS root filesystem Use quotaon -v /, and reboot(8). This procedure will enable both accounting and limit enforcement. Turning off quota limit enforcement on any XFS filesystem Make sure that quota accounting and enforcement are both turned on using repquota -s. Use quotaoff -vo to disable limit enforcement. This may be done while the filesystem is mounted. Turning on quota limit enforcement on any XFS filesystem Make sure that quota accounting is turned on using repquota -s. Use quotaon -v. This may be done while the filesystem is mounted. FILES
aquota.user or aquota.group quota file at the filesystem root (version 2 quota, non-XFS filesystems) quota.user or quota.group quota file at the filesystem root (version 1 quota, non-XFS filesystems) /etc/fstab default filesystems SEE ALSO
quotactl(2), fstab(5), repquota(8). 4th Berkeley Distribution QUOTAON(8)
All times are GMT -4. The time now is 11:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy