Find the answer to your Linux question:
Results 1 to 3 of 3
Hi i need to implement disk quotas on RHEL4. i have gone through tutorials online. as mentioned, i first made a file system entry in /etc/fstab with usrquota and grpquota ...
  1. #1
    Just Joined!
    Join Date
    Sep 2009
    Posts
    1

    Exclamation need help with disk quotas

    Hi
    i need to implement disk quotas on RHEL4. i have gone through tutorials online. as mentioned, i first made a file system entry in /etc/fstab with usrquota and grpquota options.
    then i run
    quotacheck -cug
    this creates the quota files needed.

    then i also do
    quotacheck -a
    after turning quotas off for the file systems because that is what it warns me for.

    then i create quotas for a specific user through
    edquota <username>
    i give the soft and hard limits for inodes.

    now when i turn quotas on through
    quotaon
    and then check quotas for users
    quota <username>
    , it shows no quotas for this user.
    also when you check this by creating files, no disk quota has been implemented.

    i also tried to first create an image or disk whatever, through
    dd if=/dev/zero of="path for dick" count="no of blocks"
    then i format this as ext3, mount it, make an entry in fstab and repeat the above steps.

    still the disk quota just wont work.

    i urgently need to implement disk quotas. can anyone please tell me what i am missing..??

  2. #2
    Just Joined!
    Join Date
    Mar 2010
    Posts
    4
    Refer to this..

    linuxinternals.com/?p=12

  3. #3
    Just Joined!
    Join Date
    Apr 2010
    Posts
    5
    think i've found your problem..
    the quota <user> command shows quota is none right?

    well.. su to that user and creat several files on the disk you've set quota.
    then if you run the previous command again, you may get what you want..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...