Results 1 to 9 of 9

Thread: Backup and quota problems on Centos 6.3

  1. #1
    Join Date
    Sep 2012
    Posts
    6

    Backup and quota problems on Centos 6.3

    Hi i have Directadmin installed on Centos 6.3. Now i will make backups in Directadmin and when i do that i see Backups added to Queue but 24 hours after that no backups...

    the next problem is:
    When i create a new user i see this error:
    Error with system Quotas
    setquota: Mountpoint (or device) /home not found or has no quota enabled.

    Anybody an idea ?

  2. #2
    Join Date
    Apr 2009
    Posts
    1,964
    Quote Originally Posted by mike2203 View Post
    When i create a new user i see this error:
    Error with system Quotas
    setquota: Mountpoint (or device) /home not found or has no quota enabled.
    Is this a Xen VPS from Linode? If so, they run a newer kernel version that do not have /dev/root - if you do not have /dev/root, then do this to fix the quotas problem:

    Code:
    ln -s /dev/xvda /dev/root
    If this fixes your problem, please be aware that you need to run the code every time you reboot your server, because it will be removed upon reboot.

  3. #3
    Join Date
    Apr 2009
    Posts
    1,964
    Also please check that this two folders exist (DirectAdmin need them) (ftp folder should have permission 0755, and tmp should be 0777):

    Code:
    /home/ftp
    /home/tmp

  4. #4
    Join Date
    Sep 2012
    Posts
    6
    Ok thank you, i try it.

  5. #5
    Join Date
    Sep 2012
    Posts
    6
    Now i see this message

    [root@server ~]# /usr/sbin/repquota /home
    repquota: Mountpoint (or device) /home not found or has no quota enabled.
    repquota: Not all specified mountpoints are using quota.

  6. #6
    Join Date
    Apr 2009
    Posts
    1,964
    Make sure that you has usrquota,grpquota in etc/fstab file, serarch for "defaults", and add them after "defaults" so it looks like this:

    Code:
    defaults,usrquota,grpquota
    Then try to run this command:
    Code:
    /sbin/quotaoff -a; /sbin/quotacheck -avugm; /sbin/quotaon -a;
    Then test if the problem is solved. Here is more references:

    http://help.directadmin.com/item.php?id=42
    and
    http://www.virtualmin.com/node/17281#comment-77002
    Last edited by ditto; 10-14-2012 at 11:06 AM.

  7. #7
    Join Date
    Sep 2012
    Posts
    6
    It don't work [root@server conf]# /sbin/quotaoff -a; /sbin/quotacheck -avugm; /sbin/quotaon -a;
    quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.

    is this the same fix for the backup problem ?

  8. #8
    Join Date
    Apr 2009
    Posts
    1,964
    I don't know if your backup problem is related to the quota problem or not. If you can't get the quota problem fixed after reading this http://help.directadmin.com/item.php?id=42 and also making a symlink to /dev/root (as I posted in previous post) - then I don't know. I would then send email to DirectAdmin support and ask if they can look at the server for you (if you have support in your license). Or maybe pay some users for help, like user SeLLeRoNe http://www.directadmin.com/forum/member.php?u=1773 or zEitEr http://www.directadmin.com/forum/member.php?u=2806

  9. #9
    Join Date
    Apr 2009
    Posts
    1,964
    Maybe you need to reboot the server after adding usrquota,grpquota to etc/fstab? If so, remember to check if /dev/root still exist after reboot, and if it does not exist, add the symlink again:

    Code:
    ln -s /dev/xvda /dev/root

Similar Threads

  1. Replies: 4
    Last Post: 11-05-2012, 10:58 AM
  2. Quota problems
    By remco30 in forum System-Level Technical Discussion
    Replies: 2
    Last Post: 12-12-2010, 03:53 AM
  3. Backup/Restore from CentOS 4 into Centos 5
    By pluk in forum DirectAdmin General Discussion
    Replies: 2
    Last Post: 10-18-2008, 01:20 PM
  4. Quota Problems
    By Nivko in forum System-Level Technical Discussion
    Replies: 2
    Last Post: 09-27-2008, 08:55 AM
  5. Quota problems
    By A32 in forum Admin-Level Difficulties
    Replies: 0
    Last Post: 10-02-2005, 01:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •