Quotacheck on Debian Sarge Install

Discussion in 'Installation/Configuration' started by m u r, Aug 9, 2005.

  1. m u r

    m u r Member

    Quotacheck

    When I try "quotacheck -avugm" as part of the tutorial for Debian Sarge ( http://www.howtoforge.com/perfect_setup_debian_sarge ), I get the following error:

    quotacheck: can't find filesystem to check or filesystem not mounted with quota option.

    nevermind . . . I figured it out.
     
    Last edited: Aug 9, 2005
  2. Tribal-Dolphin

    Tribal-Dolphin New Member

    Hello,

    Have you modifiy the file /etc/fstab ?
    Have you create the files [font=Courier New, Courier, mono]/quota.user /quota.group ?[/font]
    Have you remount the partition / ([font=Courier New, Courier, mono]mount -o remount /[/font]) ?

    Thanks
     
  3. m u r

    m u r Member

    It works now. There was a syntax error when I added ",usrquota,grpquota" to /etc/fstab. Sorry.
     
  4. dranieri

    dranieri New Member

    Quota Check Error

    Mur,
    You may have figured this one our but we have not please help!
    Picture aging fast and pulling hair out on 20th reinstallation

     
  5. dranieri

    dranieri New Member

    quotacheck -avugm

    After this command mount -o remount /
    restart your server with command shutdown -r now [enter]
    After system restarts you can type in quotacheck -avugm [enter] it will scan and be done.
    Wipes me wee lil brow gives self and Mrs. two stars and a pat on the back.
     
  6. bigger_travis

    bigger_travis New Member

    Bad Syntax

    rebooting didn't work for me..

    i had the same problem, basically its a bad syntax, when i first started to edit the file, i just added ",usrquota,grpquota " after "defaults" but for some reason it gives me the error when i tried to run the quotacheck -avugm. so what i did was removed all the spaces and replaced them with tabs..
    example:

    AFTER I DELETED ALL SPACES AND TABS:
    LABEL=//ext3defaults,usrquota,grpquota11

    AFTER ADDING TABS AND SPACES:
    LABEL=/ [tab] / [tab] ext3 [tab] defaults,usrquota,grpquota [tab] 1[space]1

    NOTE: DO NOT type [tab] or [space]

    it should look something like this:
    LABEL=/ / ext3 defaults,usrquota,grpquota 1 1

    (my example is for Fedora 3)
     
    Last edited: Nov 1, 2005
  7. falko

    falko Super Moderator Howtoforge Staff

    It should look like this (on Debian):

    Code:
    /dev/hda1       /               ext3    defaults,errors=remount-ro,usrquota,grpquota 0       1
    I guess you have a / too much in your line.
     

Share This Page