LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-13-2004, 12:51 PM   #1
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Rep: Reputation: 30
user & group quota !!


Hi,

I have created one partition to do some testing for quota.
[e.g. /etc/fstab
/dev/hda3 /quota ext2 defaults,usrquota,grpquota 0 0 ]

after revised the partition i remount the /quota with "mount -o remount /qouta"

Also, i have establise the quota files with 1) quota.user 2) quota.group under /quota directory. (manually)

then i set up the user quota:

edauota -u user [normal user]

Disk quotas for user hitesh (uid 503):
Filesystem blocks soft hard inodes soft hard
/dev/hda3 1263 0 0 253 0 0

and then i verify the quota with "quota -u hitesh", see following text.
[root@domain etc]# quota -u hitesh
Disk quotas for user hitesh (uid 503): none
[root@domain etc]#

Turing the quota checking:

[root@domain etc]# quotaon -av
quotaon: using /quota/quota.group on /dev/hda3 [/quota]: No such process
quotaon: Quota format not supported in kernel.
quotaon: using /quota/quota.user on /dev/hda3 [/quota]: No such process
quotaon: Quota format not supported in kernel.
[root@domain etc]#

but when i reboot the system and check,it's enabling the quota services. I manually copied some files under /home/hitesh directory and try to check user quota [hitesh]with remount the /quota partition. stil it showing "none". i do not what's wrong.am i doing some thing wrong? can any one help....

quest:

1) How can i check how much quota use by user?
2) can i check quote status in graph (GUI)?
3) is there any other motehod or way to configure quota?

Thanx in advance...

-/Hitesh
 
Old 11-14-2004, 07:16 AM   #2
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 36
I didnt read ur entire post, but the steps for a usr quota are like this

assume quota is on /home

1. edit the /etc/fstab file
2. umount /home && mount /home
3. quotacheck -cu /home
(should be a aquota.user file in /home now)
4. edquota username 5000 6000 100 200
( i just thru numbers in for the example)
5. quotaon /home
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
User & group permission confusion A32 Linux - Newbie 12 08-31-2014 08:46 PM
Northern Maine BSD & Linux User Group php Linux User Groups (LUG) 0 05-23-2004 01:37 PM
question about user/group & directory... hct224 Linux - Newbie 2 10-11-2003 03:28 PM
RH 9.0 user & group help...... hct224 Linux - Newbie 3 06-22-2003 12:52 PM
Disk Quota for user and group ??? sultan Linux - General 0 05-13-2002 07:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:41 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
Open Source Consulting | Domain Registration