.quota.rc doesn't work

Discussion in 'Installation/Configuration' started by giorgio.volpe, Jan 19, 2007.

  1. giorgio.volpe

    giorgio.volpe New Member

    In our environment, script .quota.rc (present in each user's home directory) doesn't work! The problem is that the row

    QUOTA=`let HD_QUOTA=\`quota ${LOGNAME} | sed -n 3p | awk '{print $3}'\`*

    is ok if only one filesistem is cheched for quota ...
    In our server , 'quota web43_giorgio' (for exaple) returns

    Disk quotas for user web43_giorgio (uid 10197):
    Filesystem blocks quota limit grace files quota limit grace
    764 51200 51200 46 0 0
    0 51200 51200 1 0 0

    Two rows! ... and 'quota web43_giorgio | sed -n 3p' returns "/dev/mapper/vg1-home"

    How can we solve this?

    Thankyou ...

  2. falko

    falko Super Moderator ISPConfig Developer

    Which ISPConfig version do you use? I think it's an old one because the quota recipe was replaced a few versions ago.

Share This Page