当前位置:首页 > 笔记 > DirectAdmin磁盘配额使用情况不正确解决方法

DirectAdmin磁盘配额使用情况不正确解决方法

时间:2018-09-26 17:41:42 来源:xwidea.com 作者:xwidea.com 点击:3447次

今天把directadmin安装到centos上面以后,创建了一个虚拟主机,报了如下错误:

setquota: Mountpoint (or device) / not found or has no quota enabled. setquota: Not all specified mountpoints are using quota.

查了很多资料,终于找到了解决办法,下面就来记录一下:

1、查看DA里面磁盘配额绑定的目录

#cd /usr/local/directadmin

#./directadmin c | grep quota_partition

如果是根目录执行:

#/usr/sbin/repquota /

没有开启磁盘配额会有英文提示

2、开启磁盘配额

#vi /etc/fstab

在主目录的那一项,第4个参数options里面添加usrquota,grpquota 这2个参数

#reboot

重启机器

3、重新登录ssh,执行下面的命令:

#/sbin/quotaoff -a; /sbin/quotacheck -avugm; /sbin/quotaon -a;

执行完毕就可以看到磁盘配额生效了

#/usr/sbin/repquota /

就可以看到详细的磁盘配额信息

4、最后一步,执行下面的命令即可:

#echo “action=tally&value=all” >> /usr/local/directadmin/data/task.queue

网友评论
  • Horny Shriya called you 2 times. She is online. Click the below link to chat with her. She is very horny now. https://live-sex-chat.club/?chat=horny-shriya

    Lan Roten  2023-01-07 06:07:08

  • Horny Shriya called you 2 times. She is online. Click the below link to chat with her. She is very horny now. https://live-sex-chat.club/?call=horny-shriya

    Elbert Scollen  2022-08-20 22:23:00

  • Horny Shriya called you 2 times. She is online. Click the below link to chat with her. She is very horny now. https://live-sex-chat.club/?call=horny-shriya

    Janette Chevalier  2022-08-02 23:14:47

  • You have 5 minute opportunity to change your life FOREVER. If you had invested a mere $10 in Trading few years ago, today you would be a Millionaire! ... DO NOT miss this chance again! Learn more by clicking the below link https://verifysuper.com/cl/i/wo

    Helene Bourke  2022-07-20 11:57:09

  • Hello, Greetings from Ranker SEO. Are you looking for a genuine SEO service to rank your website top on Google? Are you cheated by fake SEO companies? You have found an affordable legitimate SEO agency to rank your website. We have ranked 100s of we

    Ranker SEO  2022-07-16 03:05:11

  • Horny Shriya called you 2 times. She is online. Click the below link to chat with her. She is very horny now. https://live-sex-chat.club/?call=horny-shriya

    Arthur Verjus  2022-07-11 20:28:40

  • Horny Shriya called you 2 times. She is online. Click the below link to chat with her. She is very horny now. https://live-sex-chat.club/

    Shanice Waters  2022-06-26 21:45:24

  • Horny Shriya called you 2 times. She is online. Click the below link to chat with her. She is very horny now. https://live-sex-chat.club/

    Danuta Diesendorf  2022-06-14 18:24:49

  • Hello, Greetings from Ranker SEO. Are you looking for a genuine SEO service to rank your website top on Google? Are you cheated by fake SEO companies? You have found an affordable legitimate SEO agency to rank your website. We have ranked 100s of we

    Ranker SEO  2022-05-25 11:19:17

  • Hello, Greetings from Ranker SEO. Are you looking for a genuine SEO service to rank your website top on Google? Are you cheated by fake SEO companies? You have found an affordable legitimate SEO agency to rank your website. We have ranked 100s of we

    Ranker SEO  2022-05-09 23:23:09

  • I called you 2 times. Why didn't you pick up? I'm horny.. Please call me. I'm online. You can chat with me by clicking this link. https://telegra.ph/Chat-With-Me-04-02

    Michael Dexter  2022-04-03 07:59:18

  • Hello, Greetings from Ranker SEO. Are you looking for a genuine SEO service to rank your website top on Google? Are you cheated by fake SEO companies? You have found an affordable legitimate SEO agency to rank your website. We have ranked 100s of we

    Ranker SEO  2022-02-26 17:28:28

  • I called you 2 times. WHy didn't you pick up? I'm horny.. Please call me. I'm online. You can chat with me by clicking this link. https://sexlovers.club/

    Harlan Minchin  2022-02-19 21:17:02

  • I called you 2 times. WHy didn't you pick up? I'm horny.. Please call me. I'm online. You can chat with me by clicking this link. https://sexlovers.club/

    Dave O'Conor  2022-02-16 13:18:55

  • The world's best fantasy sex game is here. You will never find such an amazing sex game anywhere. Click here to start playing. https://sexlovers.club/game/play

    Roxana Harrison  2022-02-14 11:38:36

  • I called you 2 times. WHy didn't you pick up? I'm horny.. Please call me. I'm online. You can chat with me by clicking this link. https://sexlovers.club/

    Phillipp Ginder  2022-02-12 11:25:12

  • I called you 2 times. WHy didn't you pick up? I'm horny.. Please call me. I'm online. You can chat with me by clicking this link. https://sexlovers.club/

    Eulah Abt  2022-02-10 15:23:31

  • Hello, Greetings from Ranker SEO. Are you looking for a genuine SEO service to rank your website top on Google? Are you cheated by fake SEO companies? You have found an affordable legitimate SEO agency to rank your website. We have ranked 100s of we

    Ranker SEO  2022-02-09 11:50:25

  • Hello, Greetings from Ranker SEO. Are you looking for a genuine SEO service to rank your website top on Google? Are you cheated by fake SEO companies? You have found an affordable legitimate SEO agency to rank your website. Buy backlinks from 20 yea

    Ranker SEO  2022-02-05 07:46:02

  • BREAKING! Portable CO2 meters could be used to help fight coronavirus transmission, experts say Click here to learn more https://bit.ly/co2-monitor

    Sheila Greene  2022-01-28 04:08:38

  • Horny Shriya sent you 2 pics yesterday. She is online now. Click the link below to view the message and reply to her. https://sexlovers.club/chat/HornyShriya/

    Horny Shriya  2022-01-25 02:37:57

  • Horny Shriya sent you 2 messages yesterday. She is online now. Click the link below to view the message and reply to her. https://sexlovers.club/chat/HornyShriya/

    Horny Shriya  2022-01-17 00:23:11

  • Horny Shriya sent you 2 messages yesterday. She is online now. Click the link below to view the message and reply to her. https://sexlovers.club/chat/HornyShriya/

    Horny Shriya  2022-01-15 13:42:26

评论人:
评论内容:
验证码: