RE: quota

From: Ryan Golhar (golharam_at_umdnj.edu)
Date: 07/15/04

  • Next message: Jeffrey A. St. Pierre: "RE: quota"
    Date: Thu, 15 Jul 2004 12:27:03 -0400
    To: "'Jeffrey A. St. Pierre'" <Jasp2@colorado.edu>, "'General Red Hat Linux discussion list'" <redhat-list@redhat.com>
    
    

    I'm not sure that will do it. From my understanding, quotacheck reads
    all the files and creates the quota file. When you run quotacheck, then
    partition should be unmounted so as to prevent anyone from using it.

    Simply turning off quota's won't be that.

    I'm in the same situation, however I'm unable to unmount the filesystem
    so instead I just use -f to force it to update the quota file...

    -----Original Message-----
    From: Jeffrey A. St. Pierre [mailto:Jasp2@colorado.edu]
    Sent: Thursday, July 15, 2004 12:11 PM
    To: golharam@umdnj.edu; General Red Hat Linux discussion list
    Subject: RE: quota

    On Wed, 14 Jul 2004, Ryan Golhar wrote:

    > I have the same issue, however I just added the -f and run quotacheck
    > once a week...
    >
    > Ryan
    >
    >
    > -----Original Message-----
    > From: redhat-list-bounces@redhat.com
    > To: redhat-list
    > Subject: quota
    >
    >
    > OK-
    >
    > Seeing how the RHEnterprise seems to skip this little tid-bit of info,

    > can someone please fil me in.
    >
    > I am trying to run quotacheck on /var/spool/mail on a live system, via

    > cron, as recomended.
    >
    > Unfortunately this is what happens:
    >
    > -bash </var/spool> sudo quotacheck -vug /var/spool/mail
    > quotacheck: Quota for users is enabled on mountpoint /var/spool/mail
    > so quotacheck might damage the file. Please turn quotas off or use -f
    > to force checking.
    >
    > OK, so what is the propoer procedure for checking quotas on a live
    > system. I obviously need to check it while the system is live.and for

    > /var/spool/mail I should probably do it once per night...
    >
    > should I just setup a script that does a qutoaoff, quotacheck -avgu,
    > quotaon?
    >
    > Thanks in advance,
    >
    > Jeff

    Well,

    I haven't recieved much of an answer from anyone on 3 different
    lists. I guess noone uses quota that much or they just force it.

    Here's what I figured out though, basically write a script that does
    this:

    quotaoff -a
    quotacheck -agum
    quotaon -a

    running by hand you can add (-v) for verbosity.
    the (-m) on the quotacheck is nice, as it does not make the filesystems
    read-only while checking. People get angry when they can't write to
    their home directory. Even with quotas off the
    quotacheck remounts the filesystem ro unless you specify -m.

    I assume this is the proper way to use quotacheck, despite not much in
    the way of documentation for this. Google shows many people asking
    whether -f is bad, but noone has the answer.

    Hope this helps somone, or prompts someone with real info to
    write in.

    -Jeff

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Jeffrey A. St. Pierre: "RE: quota"

    Relevant Pages

    • LVM, XFS and Quotas in Core 3
      ... I am unable to get LVM, XFS and quotas working in core 3. ... As far as I can tell, XFS is compiled with quota support, I have the ... proper fstab entries for each filesystem and I'm using stock ...
      (Fedora)
    • 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)
    • Qutoa in FC3
      ... then finally I ran quotacheck: ... Can't save quota settings... ... 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. ...
      (Fedora)
    • RE: Enabling quotas on an already existing file system
      ... it is possible to use quotacheck on the filesystem which is mounted ... Beware that quotacheck remounts the file system read only, ... Which is mounted without quota option and users are using 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)