【发布时间】:2014-07-24 16:38:52
【问题描述】:
我正在使用免费的 openshift 帐户,我想有 1gb 磁盘配额。最近,我收到磁盘配额超出错误消息
Warning: Gear 535142774382ec2f4f0004c6 is using 100.0% of disk quota
我运行du -h * | sort -rh | head -50,结果如下。
我很确定使用量的总和远低于 1gb。
37M app-root/runtime/repo
37M app-root/runtime
37M app-root
35M app-deployments/2014-07-19_11-50-18.862/repo
35M app-deployments/2014-07-19_11-50-18.862
35M app-deployments
30M app-root/runtime/repo/pma
30M app-deployments/2014-07-19_11-50-18.862/repo/pma
12M git/api.git/objects/pack
12M git/api.git/objects
12M git/api.git
12M git
11M app-root/runtime/repo/pma/locale
11M app-deployments/2014-07-19_11-50-18.862/repo/pma/locale
7.5M app-root/runtime/repo/pma/libraries
7.5M app-deployments/2014-07-19_11-50-18.862/repo/pma/libraries
4.7M app-root/runtime/repo/pma/js
4.7M app-deployments/2014-07-19_11-50-18.862/repo/pma/js
3.8M app-root/runtime/repo/pma/doc
3.8M app-deployments/2014-07-19_11-50-18.862/repo/pma/doc
3.4M app-root/runtime/repo/js
3.4M app-deployments/2014-07-19_11-50-18.862/repo/js
2.6M app-root/runtime/repo/js/lib/amcharts
2.6M app-root/runtime/repo/js/lib
2.6M app-deployments/2014-07-19_11-50-18.862/repo/js/lib/amcharts
2.6M app-deployments/2014-07-19_11-50-18.862/repo/js/lib
2.3M app-root/runtime/repo/pma/libraries/tcpdf
2.3M app-deployments/2014-07-19_11-50-18.862/repo/pma/libraries/tcpdf
2.2M app-root/runtime/repo/pma/themes
2.2M app-deployments/2014-07-19_11-50-18.862/repo/pma/themes
2.0M app-root/runtime/repo/pma/doc/doctrees
2.0M app-deployments/2014-07-19_11-50-18.862/repo/pma/doc/doctrees
1.8M app-root/runtime/repo/js/lib/amcharts/amcharts
1.8M app-deployments/2014-07-19_11-50-18.862/repo/js/lib/amcharts/amcharts
1.7M app-root/runtime/repo/chat
1.7M app-deployments/2014-07-19_11-50-18.862/repo/chat
1.5M app-root/runtime/repo/pma/doc/html
1.5M app-deployments/2014-07-19_11-50-18.862/repo/pma/doc/html
1.4M app-root/runtime/repo/pma/js/jquery
1.4M app-deployments/2014-07-19_11-50-18.862/repo/pma/js/jquery
1.3M app-root/runtime/repo/pma/themes/pmahomme
1.3M app-deployments/2014-07-19_11-50-18.862/repo/pma/themes/pmahomme
1.2M app-root/runtime/repo/pma/js/openlayers
1.2M app-root/runtime/repo/js/lib/amcharts/amcharts/patterns
1.2M app-deployments/2014-07-19_11-50-18.862/repo/pma/js/openlayers
1.2M app-deployments/2014-07-19_11-50-18.862/repo/js/lib/amcharts/amcharts/patterns
1.1M app-root/runtime/repo/vendor
1004K app-root/runtime/repo/vendor/paquettg
992K app-root/runtime/repo/js/lib/amcharts/amcharts/patterns/chalk
992K app-deployments/2014-07-19_11-50-18.862/repo/js/lib/amcharts/amcharts/patterns/chalk
但是在 phpmyadmin 中,它确实显示我的数据库已经使用了 500mb。为什么du不显示呢?我应该怎么做才能修剪磁盘存储?
Quota -s
Filesystem blocks quota limit grace files quota limit grace
/dev/mapper/EBSStore01-user_home01
105M 0 1024M 4023 0 80000
【问题讨论】: