Issues with user quotas.. - Linux

This is a discussion on Issues with user quotas.. - Linux ; I'd like to get user quotas going. I've edited /etc/fstab, in vi, to include the following on one (i.e., the first) line: LABEL=/ / ext3 defaults,usrquota 1 1 I then input 'touch /quota.user' in order to get that file. Once ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Issues with user quotas..

  1. Issues with user quotas..

    I'd like to get user quotas going. I've edited /etc/fstab, in vi, to
    include the following on one (i.e., the first) line:

    LABEL=/ / ext3 defaults,usrquota 1 1

    I then input 'touch /quota.user' in order to get that file.

    Once I get this far is when the instructions I've got each go their
    own way. On Linux Journal
    it indicates I ought
    to immediately go on to quotacheck; but that information is a few
    years old, I'd guess a bit out of date, & I'm inclined to ignore it.
    On van Dooren's how-to on the Linux Documentation Project
    the idea is that I've edited init
    scripts in init.d, etc. & I'd now be including quotacheck in crontab;
    but, that looks odd to me.

    If I do quotacheck, I get the following output:

    quotacheck: WARNING - Quotafile //quota.user was probably truncated.
    Can't save quota settings...
    quotacheck: Scanning /dev/hda2 [/] done
    quotacheck: Checked 11000 directories and 200000 files

    It looks to be okay; but I wonder if that first line, the error, is
    important or not. I'd like input on this..

    - Oeln

  2. Re: Issues with user quotas..

    "Oeln" wrote in message
    news:ffde43bc.0310101626.2e008bef@posting.google.c om

    > I'd like to get user quotas going. I've edited /etc/fstab, in vi, to
    > include the following on one (i.e., the first) line:
    > LABEL=/ / ext3 defaults,usrquota 1 1
    > I then input 'touch /quota.user' in order to get that file.

    [...]
    > If I do quotacheck, I get the following output:
    > quotacheck: WARNING - Quotafile //quota.user was probably truncated.
    > Can't save quota settings...
    > quotacheck: Scanning /dev/hda2 [/] done
    > quotacheck: Checked 11000 directories and 200000 files
    > It looks to be okay; but I wonder if that first line, the error, is
    > important or not. I'd like input on this..


    "man -k quota" will indicate some other things to be considered, not the
    least of which (depending on your distro) might be "quotaon".


    tony

    --
    use hotmail com for any email replies



    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----

  3. Re: Issues with user quotas..

    It is. I get the following errors on boot:

    Oct 13 12:33:00 localhost kernel: VFS: Diskquotas version dquot_6.5.0
    initialized

    Oct 13 12:31:58 localhost quotaon: quotaon:
    Oct 13 12:31:58 localhost quotaon: Cannot find quota file on /
    [/dev/hda2] to turn quotas on/off.
    Oct 13 12:31:58 localhost rc.sysinit: Enabling local filesystem
    quotas: failed

    I've got no idea why. I've got the file /quota.user there, & the
    quotas I've got look to be working otherwise..

    "ynotssor" <"ynotssor"> wrote in message news:<3f8756b1_1@corp.newsgroups.com>...
    > "Oeln" wrote in message
    > news:ffde43bc.0310101626.2e008bef@posting.google.c om
    >
    > > I'd like to get user quotas going. I've edited /etc/fstab, in vi, to
    > > include the following on one (i.e., the first) line:
    > > LABEL=/ / ext3 defaults,usrquota 1 1
    > > I then input 'touch /quota.user' in order to get that file.

    > [...]
    > > If I do quotacheck, I get the following output:
    > > quotacheck: WARNING - Quotafile //quota.user was probably truncated.
    > > Can't save quota settings...
    > > quotacheck: Scanning /dev/hda2 [/] done
    > > quotacheck: Checked 11000 directories and 200000 files
    > > It looks to be okay; but I wonder if that first line, the error, is
    > > important or not. I'd like input on this..

    >
    > "man -k quota" will indicate some other things to be considered, not the
    > least of which (depending on your distro) might be "quotaon".
    >
    >
    > tony


  4. Re: Issues with user quotas..

    "Oeln" wrote in message
    news:ffde43bc.0310221702.5ff6dad4@posting.google.c om

    > It is. I get the following errors on boot:
    > Oct 13 12:33:00 localhost kernel: VFS: Diskquotas version dquot_6.5.0
    > initialized
    > Oct 13 12:31:58 localhost quotaon: quotaon:
    > Oct 13 12:31:58 localhost quotaon: Cannot find quota file on /
    > [/dev/hda2] to turn quotas on/off.
    > Oct 13 12:31:58 localhost rc.sysinit: Enabling local filesystem
    > quotas: failed
    >
    > I've got no idea why. I've got the file /quota.user there, & the
    > quotas I've got look to be working otherwise..


    Please don't top post. Post your reply *underneath* that to which you are
    replying, as is the natural reading order in the English language. Thank
    you.

    So you are certain that you are using the old version 1? Version 2 uses
    /aquota.user.

    Also I believe the perms need to be 0600.


    tony

    --
    use hotmail com for any email replies



    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----

+ Reply to Thread