[PVE-User] ceph could not work with PVE2.1 problem

para zheng para.pve at gmail.com
Mon Oct 15 07:59:42 CEST 2012


After changing version to pve-test, I can see the "ceph" in the web,
but the capacity is empty...
If i use command line to login to the PVE server, how can I check the
ceph cluster storage in the PVE server by command? such as "df" or
others command?

I use "df", but it seems no result.
# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/pve-root  7.9G  2.0G  5.5G  27% /
tmpfs                1000M     0 1000M   0% /lib/init/rw
udev                  990M  200K  990M   1% /dev
tmpfs                1000M   44M  956M   5% /dev/shm
/dev/mapper/pve-data   16G  827M   15G   6% /var/lib/vz
/dev/sda1             495M   78M  392M  17% /boot
/dev/fuse              30M   20K   30M   1% /etc/pve

when i use "rbd ls", there is still the same error.
# rbd ls
2012-10-15 13:28:10.194565 7f28f427b760 -1 did not load config file,
using default settings.
unable to find any monitors in conf. please specify monitors via -m
monaddr or -c ceph.conf
error: couldn't connect to the cluster!

I had cp the keyring file to the following path.
# ls /etc/pve/priv/ceph/mycephcluster.keyring
/etc/pve/priv/ceph/mycephcluster.keyring

cat the conf file:
# cat /etc/pve/storage.cfg
dir: local
	path /var/lib/vz
	shared
	content images,iso,vztmpl,rootdir
	maxfiles 1

rbd: mycephcluster
	monhost 192.168.75.194:6789;192.168.75.195:6789;192.168.75.196:6789
	pool rbd
	authsupported cephx;none
	username admin
	content images

thanks



More information about the pve-user mailing list