全球主机交流论坛

标题: DA面板的磁盘配额问题,OpenVZ的就解决不掉吗? [打印本页]

作者: weishimi    时间: 2013-2-12 21:27
标题: DA面板的磁盘配额问题,OpenVZ的就解决不掉吗?
DA面板创建用户的错误提示:
  1. Error with system Quotas setquota: Mountpoint (or device) / not found or has no quota enabled. setquota: Not all specified mountpoints are using quota. Debug Guide
复制代码
网上找了一下,发现这个问题在OpenVZ上碰到的还是挺多的,

这个在OpenVZ上就不能搞定吗?

不搞定的话有木有影响?
作者: ccc    时间: 2013-2-12 21:28
不懂帮顶
作者: 34beat    时间: 2013-2-12 21:29
木影響
作者: sdgl212    时间: 2013-2-12 21:29

不懂帮顶
作者: weishimi    时间: 2013-2-12 21:30
34beat 发表于 2013-2-12 21:29
木影響

感谢熊猫…
作者: concerto49    时间: 2013-2-12 21:33
/bin/mount -o remount,rw -a
/sbin/quotacheck -cavug
/sbin/quotaon -a
作者: weishimi    时间: 2013-2-12 21:36
concerto49 发表于 2013-2-12 21:33
/bin/mount -o remount,rw -a
/sbin/quotacheck -cavug
/sbin/quotaon -a

貌似还是不行:
  1. [root@canada ~]# /bin/mount -o remount,rw -a
  2. [root@canada ~]# /sbin/quotacheck -cavug
  3. quotacheck: Cannot find filesystem to check or filesystem not mounted with quota
  4. option.
  5. [root@canada ~]# /sbin/quotaon -a
  6. [root@canada ~]#
复制代码

作者: concerto49    时间: 2013-2-12 22:08
cd /usr/local/directadmin/scripts
./fstab.sh

然后:

/sbin/quotaoff -a
/bin/mount -o remount,rw /home
/bin/mount -o remount,rw /
/sbin/quotacheck -cavugm
/sbin/quotaon -a
作者: cnx    时间: 2013-2-12 22:13
要在母机上搞,听说。
作者: weishimi    时间: 2013-2-12 22:17
concerto49 发表于 2013-2-12 22:08
cd /usr/local/directadmin/scripts
./fstab.sh

还不行啊…

不折腾了,反正不影响使用就行;

灰常灰常感谢亲!!
作者: weishimi    时间: 2013-2-12 22:18
cnx 发表于 2013-2-12 22:13
要在母机上搞,听说。

呵呵,我貌似也看到过,都说什么架构问题… 说要找VPS提供商解决
作者: xuebook    时间: 2013-2-13 15:31
要换比较新的内核吧,貌似吧
作者: dream26    时间: 2013-2-13 15:41
開服務單, 叫技術處理一下麻.
作者: 违法主机    时间: 2013-2-13 15:43
母机器打开的
作者: kwx    时间: 2013-2-13 15:44
quota问题。
quota要根据目录限制,如果把整个磁盘给了 /  ,那么/home内的quota统计可能会不准确。
解决的方法:
单独给分区给 /
单独/home一个分区(如 /dev/sda2)挂载上去。

OpenVZ下无法解决。建议选择Xen HVM。
作者: weishimi    时间: 2013-2-13 15:47
kwx 发表于 2013-2-13 15:44
quota问题。
quota要根据目录限制,如果把整个磁盘给了 /  ,那么/home内的quota统计可能会不准确。
解决的 ...

原来如此,谢谢!
作者: zspmhzx    时间: 2013-2-13 18:20
weishimi 发表于 2013-2-13 15:47
原来如此,谢谢!

我都解决了... 开服务单
作者: 34beat    时间: 2013-2-13 18:24
恩恩, 木影響的,木關係了
作者: weishimi    时间: 2013-2-13 19:04
zspmhzx 发表于 2013-2-13 18:20
我都解决了... 开服务单

可以解决啊? 服务单里该怎么说?
作者: weishimi    时间: 2013-2-13 19:06
34beat 发表于 2013-2-13 18:24
恩恩, 木影響的,木關係了






欢迎光临 全球主机交流论坛 (https://lilynana.eu.org/) Powered by Discuz! X3.4