Hi. Im have problem with ceph-fuse on lxc-containers:
[root@centos01 ceph]# ceph-fuse -m 192.168.1.101:6789 /mnt/cephfs/
2019-12-02 18:00:09.923237 7f4890f17f00 -1 init, newargv = 0x55fabbfa49c0 newargc=11
ceph-fuse[1623]: starting ceph client
ceph-fuse[1623]: ceph mount failed with (22) Invalid argument
ceph-fuse[1621]: mount failed: (22) Invalid argument
/var/log/ceph/ceph.log:
2019-12-02 18:00:09.891324 7f4890f17f00 0 ceph version 10.2.11 (e4b061b47f07f583c92a050d9e84b1813a35671e), process ceph-fuse, pid 1621
2019-12-02 18:00:09.923237 7f4890f17f00 -1 init, newargv = 0x55fabbfa49c0 newargc=11
dmesg: clear for it.
manual /etc/fstab:
[root@centos01 ceph]# cat /etc/fstab
/dev/root / rootfs defaults 0 0
192.168.1.101:6789:/ /mnt/cephfs ceph auto,noatime,name=admin,secret=AQC6Q+VdFlWtNhAA6xzqHCOZCS33Ve3CE5Hcig== 0 2
[root@centos01 ceph]# mount /mnt/cephfs
failed to load ceph kernel module (1)
mount error 13 = Permission denied
dmesg:
[19410.910871] audit: type=1400 audit(1575309810.234:75): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="" name="/mnt/cephfs/" pid=153379 comm="mount.ceph" fstype="ceph" srcname="192.168.1.101:6789:/" flags="rw, noatime"
Thanks for help!
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com