problem with rbd map

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I’m trying to create my first ceph disk from a client named bjorn :

[ceph@bjorn ~]$ rbd create foo --size 512000 -m helga -k /etc/ceph/ceph.client.admin.keyring
[ceph@bjorn ~]$ sudo rbd map foo --pool pool_ulr_1 --name client.admin -m helga.univ-lr.fr -k /etc/ceph/ceph.client.admin.keyring
rbd: sysfs write failed
rbd: map failed: (2) No such file or directory

Can you help me to find the problem ?




[ceph@bjorn ~]$ ceph -v
ceph version 0.87.1 (283c2e7cfa2457799f534744d7d549f83ea1335e)

[ceph@bjorn ~]$ ceph -s
    cluster cd7dd0a4-075c-4317-8aed-0758085ea9d2
     health HEALTH_OK
     monmap e5: 5 mons at {borg=10.10.10.58:6789/0,floki=10.10.10.57:6789/0,helga=10.10.10.64:6789/0,horik=10.10.10.60:6789/0,siggy=10.10.10.59:6789/0}, election epoch 88, quorum 0,1,2,3,4 floki,borg,siggy,horik,helga
     osdmap e732: 60 osds: 60 up, 60 in
      pgmap v2352: 4160 pgs, 2 pools, 131 bytes data, 2 objects
            4145 MB used, 218 TB / 218 TB avail
                4160 active+clean

[ceph@bjorn ~]$ lsmod | grep rbd
rbd                    73133  0 
libceph               235953  1 rbd


with strace: 

open("/sys/bus/rbd/add_single_major", O_WRONLY) = 4
write(4, "10.10.10.64:6789 name=admin,key="..., 61) = -1 ENOENT (No such file or directory)
close(4)                                = 0
write(2, "rbd: sysfs write failed", 23rbd: sysfs write failed) = 23
write(2, "\n", 1
)                       = 1
close(3)                                = 0
write(2, "rbd: map failed: ", 17rbd: map failed: )       = 17
write(2, "(2) No such file or directory", 29(2) No such file or directory) = 29
write(2, "\n", 1
)                       = 1
exit_group(2)                           = ?
+++ exited with 2 +++



[ceph@bjorn ~]$ ll /sys/bus/rbd/add_single_major
--w------- 1 root root 4096 Mar 12 12:01 /sys/bus/rbd/add_single_major

thanks
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com





[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux