Re: librbd::image::CreateRequest: 0x55e4fc8bf620 handle_create_id_object: error creating RBD id object

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

 




On 2018/11/5 下午7:08, Mykola Golub wrote:
On Mon, Nov 05, 2018 at 06:14:09PM +0800, Dengke Du wrote:

-1 osd.0 20 class rbd open got (2) No such file or directory
So rbd cls was not loaded. Look at the directory, returned by this
command:

   ceph-conf --name osd.0 -D | grep osd_class_dir

Yes it have .

root@node1:~# ceph-conf --name osd.0 -D | grep osd_class_dir
osd_class_dir = /usr/lib64/rados-classes

root@node1:~# ls /usr/lib64/rados-classes/libcls_rbd*
/usr/lib64/rados-classes/libcls_rbd.so.1 /usr/lib64/rados-classes/libcls_rbd.so.1.0.0



if it contains libcls_rbd.so. And if the list returned by this
command:

   ceph-conf --name osd.0 -D | grep osd_class_load_list

contains rbd.

Yes it also have it.

root@node1:~# ceph-conf --name osd.0 -D | grep osd_class_load_list

osd_class_load_list = cephfs hello journal lock log numops otp rbd refcount replica_log rgw statelog timeindex user version

I reconfigure the osd service from start, the journal was:

------------------------------------------------------------------------------------------------------------------------------------------

-- Unit ceph-osd@0.service has finished starting up.
--
-- The start-up result is RESULT.
Nov 05 18:02:36 node1 ceph-osd[4487]: 2018-11-05 18:02:36.915 7f6a27204e80 -1 Public network was set, but cluster network was not set Nov 05 18:02:36 node1 ceph-osd[4487]: 2018-11-05 18:02:36.915 7f6a27204e80 -1     Using public network also for cluster network Nov 05 18:02:36 node1 ceph-osd[4487]: starting osd.0 at - osd_data /var/lib/ceph/osd/ceph-0 /var/lib/ceph/osd/ceph-0/journal Nov 05 18:02:37 node1 ceph-osd[4487]: 2018-11-05 18:02:37.365 7f6a27204e80 -1 journal FileJournal::_open: disabling aio for non-block journal.  Use journal_force_aio to force use of a> Nov 05 18:02:37 node1 ceph-osd[4487]: 2018-11-05 18:02:37.414 7f6a27204e80 -1 journal do_read_entry(6930432): bad header magic Nov 05 18:02:37 node1 ceph-osd[4487]: 2018-11-05 18:02:37.729 7f6a27204e80 -1 osd.0 21 log_to_monitors {default=true} Nov 05 18:02:47 node1 nagios[3584]: Warning: Return code of 13 for check of host 'localhost' was out of bounds.

------------------------------------------------------------------------------------------------------------------------------------------

but hang at the command: "rbd create libvirt-pool/dimage --size 10240 "


_______________________________________________
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