使用了cephfs数据卷,通过pod使用加载时报错误:
MountVolume.SetUp failed for volume "qwe" : CephFS: mount failed: mount
failed: exit status 32
Mounting command: mount
Mounting arguments: -t ceph -o
name=admin,secretfile=/etc/ceph/admin.secret 192.168.132.154:6789:/
/var/lib/kubelet/pods/814b5df3-1002-11e9-a00a-c03fd5ed3e63/volumes/kubernetes.io~cephfs/qwe
Output:
mount: wrong fs type, bad option, bad superblock on
192.168.132.154:6789:/,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
使用命令行 mout -t ceph -o
name=admin,secretfile=/etc/ceph/admin.secret 192.168.132.154:6789:/ /mnt 可以挂载。不知道问题出在哪了?