[ceph-users] Why is file extents size observed by "rbd diff" much larger than observed by "du" the object file on the OSD's machie?

2016-12-29 Thread xxhdx1985126
Hi, everyone. Recently, I've got a need to check the real size of an rbd image. I followed the instructions in "http://ceph.com/planet/rbd-image-real-size/;. the result is shown as follows: [xuxuehan@localhost ~]$ rbd diff xxh_pool/clone_test_img2 OffsetLength Type 0 4194304 data

[ceph-users] What is replay_version used for?

2016-12-26 Thread xxhdx1985126
Hi, everyone. What is Objecter::Op::replay_version used for? Thanks:-)___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[ceph-users] What is replay_version used for?

2016-12-26 Thread xxhdx1985126
Hi, everyone. What is Objecter::Op::replay_version used for? Thanks:-) ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[ceph-users] How to know the address of ceph clients from OSD?

2016-12-21 Thread xxhdx1985126
Hi, everyone. Sometimes, I've got a need to know the ip address of the ceph client at the time, is there any way to list those ip address in ceph cluster? I'm using ceph rbd with kvm servers. Thank you:-) ___ ceph-users mailing list

[ceph-users] How to know the ceph client's ip address?

2016-12-21 Thread xxhdx1985126
Hi, everyone. Sometimes, I've got a need to know the ip address of the ceph client at the time, is there any way to list those ip address in ceph cluster? Thank you:-)___ ceph-users mailing list ceph-users@lists.ceph.com

[ceph-users] Assertion "needs_recovery" fails when balance_read reaches a replica OSD where the target object is not recovered yet.

2016-11-25 Thread xxhdx1985126
Hi, everyone. In our online system, some OSDs always fail due to the following error: 2016-10-25 19:00:00.626567 7f9a63bff700 -1 error_msg osd/ReplicatedPG.cc: In function 'void ReplicatedPG::wait_for_unreadable_object(const hobject_t&, OpRequestRef)' thread 7f9a63bff700 time 2016-10-25

[ceph-users] Question about last_backfill

2016-11-06 Thread xxhdx1985126
Hi, everyone. In the PGLog::merge_log method, pg log entries in "olog" are inserted into current PGLog's "missing" structure only when they have "version" larger than current PGLog's head and its target object has "soid" less than current pg info's last_backfill. What does "last_backfill" in

[ceph-users] Question about PG class

2016-11-02 Thread xxhdx1985126
Hi, everyone. What are the meanings of the fields actingbackfill, want_acting and backfill_targets of the PG class? Thank you:-)___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[ceph-users] Question about writing a program that transfer snapshot diffs between ceph clusters

2016-10-31 Thread xxhdx1985126
Hi, everyone. I'm trying to write a program based on the librbd API that transfers snapshot diffs between ceph clusters without the need for a temporary storage which is required if I use the "rbd export-diff" and "rbd import-diff" pair. I found that the configuration object "g_conf" and ceph

[ceph-users] log file owner not right

2016-10-30 Thread xxhdx1985126
Hi, everyone. Recently, I deployed a ceph cluster manually. And I found that, after I start the ceph osd through "/etc/init.d/ceph -a start osd", the size of the log file "ceph-osd.log" is 0, and its owner isnot "ceph" which I configured in /etc/ceph/ceph.conf but the user who actually run

Re: [ceph-users] Question about OSDSuperblock

2016-10-22 Thread xxhdx1985126
superblock.current_epoch is read from the disk by OSD::read_superblock and has't been updated by a monitor at boot time, which means it is not the real curent epoch but an old one. How can OSD get the current map using an old epoch? On xxhdx1985126 <xxhdx1985...@163.com>, Oct 23, 2016 3:13 AM wrote:

Re: [ceph-users] Question about OSDSuperblock

2016-10-22 Thread xxhdx1985126
wrote: The osd needs to know where it thought data was, in particular so it knows what it has. Then it gets the current map so it knows who to talk to so it can catch back up. Sent from my iPhone On Oct 22, 2016, at 7:12 AM, xxhdx1985126 <xxhdx1985...@163.com> wrote:

[ceph-users] Question about OSDSuperblock

2016-10-22 Thread xxhdx1985126
Hi, everyone. I'm trying to read the source code that boots an OSD instance, and I find something really overwhelms me. In the OSD::init() method, it read the OSDSuperblock by calling OSD::read_superblock(), and the it tried to get the "current" map : "osdmap =

[ceph-users] Does marking OSD "down" trigger "AdvMap" event in other OSD?

2016-10-16 Thread xxhdx1985126
Hi, everyone. If one OSD's state transforms from up to down, by "kill -i" for example, will an "AdvMap" event be triggered on other related OSDs?___ ceph-users mailing list ceph-users@lists.ceph.com

[ceph-users] Fw:PG go "incomplete" after setting min_size

2016-10-09 Thread xxhdx1985126
Sorry, I forgot to tell that those pgs assigned to the kill osd are still writable after I raise min_size from 1 to 2 but before I restarted the killed osd. Forwarding messages From: "xxhdx1985126" <xxhdx1985...@163.com> Date: 2016-10-09 18:08:45 To: &quo

[ceph-users] PG go "incomplete" after setting min_size

2016-10-09 Thread xxhdx1985126
Hi, everyone. I'm a newbie about ceph and trying to do some test to understand the behavior of ceph. The following situation really overwhelmed me: I first killed a osd, which made the size of the acting set of some pg became 1. Then I set min_size from 1 to 2, after which I started the

[ceph-users] Is it possible to recover the data of which all replicas are lost?

2016-09-27 Thread xxhdx1985126
Hi, everyone. I've got a problem, here. Due to some miss operations, I deleted all three replicas of my data, is there any way to recover it? This is a very urgent problem. Please help me, Thanks.___ ceph-users mailing list ceph-users@lists.ceph.com

[ceph-users] Does the journal of a single OSD roll itself automatically?

2016-09-27 Thread xxhdx1985126
Hi, everyone. After the file system synchronization, does OSD delete those journals that corresponds to operations before the synchronization point?___ ceph-users mailing list ceph-users@lists.ceph.com

[ceph-users] How is RBD image implemented?

2016-09-19 Thread xxhdx1985126
Hi, everyone. On the "Block Storage" page, I found this: "Ceph RBD interfaces with the same Ceph object storage system that provides the librados interface and the Ceph FS file system, and it stores block device images as objects.". Does it mean literally that a RBD image is implemented as an

Re: [ceph-users] What file system does ceph use for an individual OSD, is it still EBOFS?

2016-09-18 Thread xxhdx1985126
there are strong advocates for each of the others I listed initially. Caveat emptor. Ian On Sunday, September 18, 2016, xxhdx1985126 <xxhdx1985...@163.com> wrote: Hi, everyone. I'm newbie for Ceph. According to Sage A. Weil's paper, Ceph was using EBOFS as the file system for its O

[ceph-users] What file system does ceph use for an individual OSD, is it still EBOFS?

2016-09-18 Thread xxhdx1985126
Hi, everyone. I'm newbie for Ceph. According to Sage A. Weil's paper, Ceph was using EBOFS as the file system for its OSDs. However, I looked into the source code of Ceph and could hardly find any code of EBOFS. Is Ceph still using EBOFS or has opted to use other types of file system for a