OpsCenter不显示可用存储 [英] OpsCenter does not show available storage

查看:115
本文介绍了OpsCenter不显示可用存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个新的DataStax Enterprise群集,该群集使用OpsCenter进行管理。使用的所有版本都是软件包存储库中提供的最新版本。代理已安装,并且一切正常,包括RAM使用率,CPU负载等。我已经向该群集添加了90 GB以上,没有问题,主机可以支持更多功能。

I have created a new DataStax Enterprise Cluster that is managed using OpsCenter. All versions used are the latest available from the package repository. The agents have been installed and everything is working perfectly, including RAM Usage, CPU Load, etc. I have added over 90 GB to this cluster without a problem and the hosts can support a lot more..

从我所看到的来看,这显然是OpsCenter / DataStax-Agent问题。我在OpsCenter或DSA的日志文件中没有看到相关行。在同一OpsCenter实例中的其他群集都可以正常工作。

It is clearly an OpsCenter / DataStax-Agent issue from what I can see. I do not see a relevant line in the log files of either OpsCenter or DSA. Other clusters in the same OpsCenter instance work without a problem.

任何可能是问题的想法吗?

Any idea on what might be the problem?

更新#1:
主机中的df(1)输出为:

Filesystem     Type     1K-blocks     Used Available Use% Mounted on
udev           devtmpfs  16440732        4  16440728   1% /dev
tmpfs          tmpfs      3290304      652   3289652   1% /run
/dev/sda6      ext4     921095148 33460384 840822760   4% /
none           tmpfs            4        0         4   0% /sys/fs/cgroup
none           tmpfs         5120        0      5120   0% /run/lock
none           tmpfs     16451516        0  16451516   0% /run/shm
none           tmpfs       102400        0    102400   0% /run/user
/dev/sda1      ext2        240972    67121    161410  30% /boot

,在另一台主机中是:

Filesystem     Type     1K-blocks     Used Available Use% Mounted on
udev           devtmpfs  16367904        4  16367900   1% /dev
tmpfs          tmpfs      3275852      728   3275124   1% /run
/dev/md1       ext4     958985688 92799452 817449468  11% /
none           tmpfs            4        0         4   0% /sys/fs/cgroup
none           tmpfs         5120        0      5120   0% /run/lock
none           tmpfs     16379256        0  16379256   0% /run/shm
none           tmpfs       102400        0    102400   0% /run/user
/dev/md0       ext3       1014680   105884    856420  12% /boot

https://< host>:< port> ; /<集群名称> /存储容量

{"free_gb": 0, "used_gb": 0, "reporting_nodes": 3}


推荐答案

代理中存在错误。如果您运行 df< file> ,则应该获得与运行 df时不同的文件系统--print-type --no-sync- -local 。在我可以复制的情况下, df / home /< user> / random-folder 产生 / dev / disk / by -uuid /< uuid> 在文件系统列下。

There's a bug in the agent. If you run df <file>, you should get a different filesystem than if you run df --print-type --no-sync --local. In my case, where I'm able to replicate, df /home/<user>/random-folder yields /dev/disk/by-uuid/<uuid> under the filesystem column.

这是由于使用以下命令安装了驱动器(使用grub / lilo引导) by-uuid 而不是标签。两个 df 标签/输出必须匹配。

This is due to mounting your drive (to boot with grub/lilo) using by-uuid instead of a label. Both df labels/output must match.

它将在下一版本中修复。

It will be fixed in the next release.

要临时修复,我们将在下一版本中对其进行修复,请确保使用标签而非uuid装入用于数据的驱动器,并验证这些 df 输出匹配。

For a temporary fix, while we fix this for next release, make sure you mount your drive used for the data using a label instead of uuid, and verify that these df outputs match.

这篇关于OpsCenter不显示可用存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆