我安装了 Eucalyptus FastStart Image 来熟悉 Eucalyptus,但由于某种原因,NC 没有检测到正确的磁盘大小:
from /var/log/eucalyptus/nc.log:
2015-04-03 17:49:56 INFO | disk space for instances: /var/lib/eucalyptus/instances/work
2015-04-03 17:49:56 INFO | 014328MB limit (0.3% of the file system) - 260MB overhead = 14068MB = 13GB
2015-04-03 17:49:56 INFO | 000000MB reserved for use (0.0% of limit)
2015-04-03 17:49:56 INFO | 000000MB allocated for use (0.0% of limit, 0.0% of the file system)
2015-04-03 17:49:56 INFO | disk space for cache: /var/lib/eucalyptus/instances/cache
2015-04-03 17:49:56 INFO | 029093MB limit (0.7% of the file system)
2015-04-03 17:49:56 INFO | 007168MB reserved for use (24.6% of limit)
2015-04-03 17:49:56 INFO | 002296MB allocated for use (7.9% of limit, 0.1% of the file system)
我的根磁盘对于 /var/lib/ 来说太小了,所以我将另一个 4TB 设备安装到 /var/lib/eucalyptus
# cat /etc/fstab | grep euca
/dev/mapper/vg_euca-lv_euca_data /var/lib/eucalyptus xfs defaults 1 1
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_hsun1-lv_root
50G 5.8G 41G 13% /
tmpfs 64G 168K 64G 1% /dev/shm
/dev/sdb1 477M 47M 406M 11% /boot
/dev/mapper/vg_hsun1-lv_home
81G 56M 77G 1% /home
/dev/mapper/vg_euca-lv_euca_data
4.0T 4.2G 4.0T 1% /var/lib/eucalyptus
我的 /var/lib/eucalyptus 挂载有问题吗?我卸载了这个分区并检查了 / 上的 /var/lib/eucalyptus 文件夹,它是空的。所以NC不能在根分区工作。
在 /etc/eucalyptus/eucalyptus.conf 中,INSTANCE_PATH 设置为:“/var/lib/eucalyptus/instances”
你看到我的设置有什么问题还是我在这里处理了一个错误?
提前感谢您的帮助!