Eu tenho um problema confuso no docker, conforme abaixo:
Depois de instalar o ceph com sucesso, eu quero montar o cephfs mas falhou:
[root@dbffa72704e4 ~]$ /bin/mount 172.17.0.4:/ /cephfs -t ceph -o name=admin,secretfile=/etc/ceph/admin.secret -v
failed to load ceph kernel module (1)
parsing options: rw,name=admin,secretfile=/etc/ceph/admin.secret
mount error 5 = Input/output error
Mas os módulos do kernel relacionados ao ceph já existiam:
[root@dbffa72704e4 ~]$ lsmod | grep ceph
ceph 327687 0
libceph 287066 1 ceph
dns_resolver 13140 2 nfsv4,libceph
libcrc32c 12644 3 xfs,libceph,dm_persistent_data
Check the ceph state(i only set data disk for osd):
[root@dbffa72704e4 ~]$ ceph -s
cluster:
id: 20f51975-303e-446f-903f-04e1feaff7d0
health: HEALTH_WARN
Reduced data availability: 128 pgs inactive
Degraded data redundancy: 128 pgs unclean
services:
mon: 2 daemons, quorum dbffa72704e4,5807d12f920e
mgr: dbffa72704e4(active), standbys: 5807d12f920e
mds: cephfs-1/1/1 up {0=5807d12f920e=up:creating}, 1 up:standby
osd: 0 osds: 0 up, 0 in
data:
pools: 2 pools, 128 pgs
objects: 0 objects, 0 bytes
usage: 0 kB used, 0 kB / 0 kB avail
pgs: 100.000% pgs unknown
128 unknown
[root@dbffa72704e4 ~]$ ceph version
ceph version 12.2.1 (3e7492b9ada8bdc9a5cd0feafd42fbca27f9c38e) luminous (stable)
Meu contêiner é baseado em centos: centos7.2.1511.
Eu vi algumas imagens relacionadas ao Ceph no hub do Docker para que eu pense acima
a operação é ok, eu senti falta de algo importante?