Qutoa in FC3

From: Andrew Dietz (andrew.dietz_at_library.gatech.edu)
Date: 11/22/04

  • Next message: David Sanders: "Re: system-config-securitylevel python error"
    Date: Mon, 22 Nov 2004 16:23:41 -0500 (EST)
    To: fedora-list@redhat.com
    
    

    I've been trying to setup user and group quotas on a Dell PowerVault SCSI disk
    array configured as /dev/sda1 (~1.5 TB).

    I've edited my /etc/fstab files as follows:

    # This file is edited by fstab-sync - see 'man fstab-sync' for details
    LABEL=/ / ext3 defaults 1 1
    LABEL=/boot /boot ext3 defaults 1 2
    none /dev/pts devpts gid=5,mode=620 0 0
    none /dev/shm tmpfs defaults 0 0
    LABEL=/home /home ext3
    defaults,usrquota,grpquota 1 2
    none /proc proc defaults 0 0
    none /sys sysfs defaults 0 0
    LABEL=/tmp /tmp ext3 defaults 1 2
    LABEL=/usr /usr ext3 defaults 1 2
    LABEL=/var /var ext3 defaults 1 2
    /dev/sdb6 swap swap defaults 0 0
    /dev/hda /media/cdrom auto
    pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
    /dev/fd0 /media/floppy auto
    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0

    and umounted and remounted the /home filesystem.

    I then created the aquota files:

    # touch /home/aquota.user
    # touch /home/aquota.group
    # chmod 600 /home/aquota.user
    # chmod 600 /home/aquota.group

    then finally I ran quotacheck:

    # quotacheck -vagum

    and I get this far:

    [root@mediavault etc]# quotacheck -vagum
    quotacheck: WARNING - Quotafile /home/aquota.user was probably truncated.
    Can't save quota settings...
    quotacheck: WARNING - Quotafile /home/aquota.group was probably truncated.
    Can't save quota settings...
    quotacheck: Scanning /dev/sda1 [/home] \

    and it seems to hang indefinitely. Does anyone have any ideas on how to get
    this going?

    Thanks in advance for any help you can provide.

    -- 
    ANDREW DIETZ
    Systems Administrator
    Georgia Institute of Technology
    Library and Information Center
    704 Cherry Street
    Atlanta, GA 30332-0900
    ----------------------------------------------------------------------
            This email was composed using the GTEL Webmail client.
    The information transmitted is intended only for the person or entity
    to  which  it  is  addressed  and  may  contain  confidential  and/or
    priviledged  material. Any  review, retransmission,  dissemination or
    other  use  of, or  taking  of any  action  in  reliance  upon, this
    information  by persons or entities other than the intended recipient
    is prohibited.
               Georgia Tech Library and Information Center
                      http://www.library.gatech.edu
    ----------------------------------------------------------------------
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: David Sanders: "Re: system-config-securitylevel python error"

    Relevant Pages

    • wrong block count for quotas after quotacheck
      ... as the results of 'quota -v' were correct. ... I was curious to see what 'quotacheck' would do. ... After doing the whole chownprocedure again, 'repquota /home' reports ... pub 1024D/1D038E97 2003-07-13 Vangelis Koukis ...
      (SunManagers)
    • RE: quota
      ... From my understanding, quotacheck reads ... however I'm unable to unmount the filesystem ... so instead I just use -f to force it to update the quota file... ... I guess noone uses quota that much or they just force it. ...
      (RedHat)
    • RE: quota
      ... however I just added the -f and run quotacheck ... quotacheck: Quota for users is enabled on mountpoint ... Colorado Center for Astrodynamics Research ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
      (RedHat)
    • RE: quota
      ... On Wed, 14 Jul 2004, Ryan Golhar wrote: ... > quotacheck: Quota for users is enabled on mountpoint ... > should I just setup a script that does a qutoaoff, quotacheck ... I guess noone uses quota that much or they just force it. ...
      (RedHat)
    • Re: How to limit drive allocation to Temporary Internet Files for all users
      ... Settings" directory. ... volume-wide quota. ... many of the Temporary Internet Files directories exceeded 2GB in size each. ...
      (microsoft.public.windows.terminal_services)