Re: Resize

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

 



Re-cc'ing the list.

On 02/21/2013 05:08 PM, Jun Jun8 Liu wrote:
Thank you very much.

I miss a symbolic link libcls_rbd.so .

How did that link become missing?

    Another question,  where is the log of librbd, how to contrl the
level of librbd?

when I use rbd command, how to get the log print by rbd process?

some command  like  " ceph osd tell 0 injectargs '--debug-osd 15' "

all the non-daemon programs (ceph, rados, rbd, etc.) are identified as
"client.admin" by default, so will go to the log file configured for that entity, by default /var/log/ceph/$cluster-$name.log, or (probably)
/var/log/ceph/ceph-client.admin.log

librbd log level is set by "debug librbd" in the conf file (or --debug-librbd=
on the command line)

-----Original Message-----
From: ceph-users-bounces@xxxxxxxxxxxxxx [mailto:ceph-users-bounces@xxxxxxxxxxxxxx] On Behalf Of Dan Mick
Sent: Friday, February 22, 2013 3:16 AM
To: ceph-users@xxxxxxxxxxxxxx
Subject: Re:  Resize



On 02/20/2013 12:32 AM, Jun Jun8 Liu wrote:
Hi all,

     We have just deployed out cluster. I create a rbd image b-61-2 in
default pool rbd .

     After resize to 512, the rbd doesn't work.

    " rbd info b-61-2 "

    " rbd: error opening image b-61-2: (95) Operation not supported

     2013-02-20 16:27:55.502875 7f8996d2d760 -1 librbd: Error listing
snapshots: (95) Operation not supported "

That looks like you've got a missing class module or mismatched versions.  What do

for i in $(ceph osd ls); do ceph tell osd.$i version; done

and

ls /usr/lib/rados-classes

show?

But I could use this image. this command "rbd map b-61-2" is OK,

    Another question,  where is the log of librbd, how to contrl the
level of librbd?



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

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

_______________________________________________
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