Hi Ishmael
Once try to create image with image-feature as layering only.
#rbd create --image pool-name/image-name --size 15G --mage-feature layering
# rbd map --image pool-name/image-name
Thanks
Rakesh Parkiti
On Jun 23, 2016 19:46, Ishmael Tsoaela <ishmaelt3@xxxxxxxxx> wrote:
Hi All,I have created an image but cannot map the image, anybody know what could be the problem:
sudo rbd map data/data_01rbd: sysfs write failedRBD 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
cluster_master@nodeC:~$ dmesg |tail[89572.831725] libceph: client4227 fsid 70cc6b75-9f83-4c67-a1c4-4fe846b4849e[89572.832413] libceph: mon0 155.232.195.4:6789 session established[89573.042375] libceph: client4229 fsid 70cc6b75-9f83-4c67-a1c4-4fe846b4849e[89573.043046] libceph: mon0 155.232.195.4:6789 session establishedcommand to create image:rbd create data_01 --size 102400 --pool datacluster_master@nodeC:~$ rbd ls datadata_01cluster_master@nodeC:~$ rbd --image data_01 -p data inforbd image 'data_01':size 102400 MB in 25600 objectsorder 22 (4096 kB objects)block_name_prefix: rbd_data.105f2ae8944aformat: 2features: layering, exclusive-lock, object-map, fast-diff, deep-flattenflags:cluster_master@nodeC:~$ ceph statuscluster 70cc6b75-9f83-4c67-a1c4-4fe846b4849ehealth HEALTH_OKmonmap e1: 1 mons at {nodeB=155.232.195.4:6789/0}election epoch 3, quorum 0 nodeBosdmap e17: 2 osds: 2 up, 2 inflags sortbitwisepgmap v160: 192 pgs, 2 pools, 6454 bytes data, 5 objects10311 MB used, 1851 GB / 1861 GB avail192 active+clean
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com