Bug #16294
closedrbd: map failed
0%
Description
Hi,
Will someone please assist, I am trying to map image and this happens:
cluster-admin@nodeB:~/.ssh/ceph-cluster$ rbd map data_01 --pool data
rbd: sysfs write failed
In some cases useful info is found in syslog - try "dmesg | tail" or so.
rbd: map failed: (13) Permission denied
If someone could help it would be great
cluster-admin@nodeB:~/.ssh/ceph-cluster$ ceph -v
ceph version 10.2.1 (3a66dd4f30852819c1bdaa8ec23c795d4ad77269)
cluster-admin@nodeB:~/.ssh/ceph-cluster$ lsb_release -r
Release: 14.04
Updated by Jason Dillaman almost 8 years ago
- Project changed from rbd to Linux kernel client
Updated by Jason Dillaman almost 8 years ago
- Status changed from New to Need More Info
Did you check the output from dmesg?
Updated by Ishmael Tsoaela almost 8 years ago
All I see in dmesg is :
cluster-admin@nodeB:~/.ssh/ceph-cluster$ dmesg |grep ceph
[144467.750580] init: ceph-osd (ceph/7) main process (15881) killed by KILL signal
[144467.750898] init: ceph-osd (ceph/6) main process (15597) killed by KILL signal
[149564.518270] Key type ceph registered
[149564.518444] libceph: loaded (mon/osd proto 15/24)
[149564.523476] libceph: client104114 fsid a04e9846-6c54-48ee-b26f-d6949d8bacb4
[149564.524231] libceph: mon0 155.232.195.4:6789 session established
[149584.762527] libceph: client104115 fsid a04e9846-6c54-48ee-b26f-d6949d8bacb4
[149584.763210] libceph: mon0 155.232.195.4:6789 session established
[149647.410620] libceph: client104116 fsid a04e9846-6c54-48ee-b26f-d6949d8bacb4
[149647.411321] libceph: mon0 155.232.195.4:6789 session established
cluster-admin@nodeB:~/.ssh/ceph-cluster$
It looks like a session is opened when I run the commands after restarting ceph:
cluster-admin@nodeB:~/.ssh/ceph-cluster$ rbd map data_01 --pool data
rbd: sysfs write failed
Updated by Ishmael Tsoaela almost 8 years ago
Hi,
I disabled the "exclusive-lock, object-map, fast-diff,
deep-flatten" features on the image.
I can map image now. you can close the ticket
Updated by Ilya Dryomov almost 8 years ago
- Category set to rbd
- Status changed from Need More Info to Closed
- Assignee set to Ilya Dryomov
Kernels starting with 4.6 output an error to dmesg.
Newer rbd tool also prints a helpful message:
$ sudo rbd map foo rbd: sysfs write failed RBD image feature set mismatch. You can disable features unsupported by the kernel with "rbd feature disable". In some cases useful info is found in syslog - try "dmesg | tail" or so. rbd: map failed: (6) No such device or address