Re: why we show removed snaps in ceph osd dump pool info?

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

 




Thanks for response.maybe we can show these removed snaps in the cmd ceph osd map dump detail?




在 2018-03-26 16:34:06,"Chris Blum" <chris.n.blum@xxxxxxxxx> 写道:
There was a discussion about this (partly) a few months back:
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2017-September/020514.html

AFAIK the devs are aware that having this list in the OSDMap can cause issues for larger lists (your list isn't that large yet) and it might be removed eventually. Currently the OSDs need to keep this list *somewhere* and the OSDMap is a convenient place.

On Fri, Mar 23, 2018 at 5:40 PM, David Turner <drakonstein@xxxxxxxxx> wrote:
The removed snaps is also in the osd map.  It does truncate the list over time to show ranges and such and it is definitely annoying, but it is needed for some of the internals of Ceph.  I don't remember what they are, but that was the gist of the answer I got back when we were working on some bugs with the Ceph support team previously.

On Wed, Mar 14, 2018 at 5:38 AM linghucongsong <linghucongsong@xxxxxxx> wrote:
what is the purpose for we to show the removed snaps? look like the removed snaps no use to the user. we use rbd export and import backup images from one ceph cluster to another ceph cluster. the increment image backup depand on the snap.and we wiil remove the snap after the backup.so it will show a lot of snaps removed like below!

'volumes' replicated size 2 min_size 1 crush_rule 1 object_hash rjenkins pg_num 128 pgp_num 128 last_change 5554 flags hashpspool stripe_width 0 application rbd
        removed_snaps [1~4,6~5f,66~149,1b0~660,811~1,813~1,815~1,817~1,819~1,81b~1,81d~1,81f~1,821~1,823~1,825~1,827~1,829~1,82b~1,82d~1,82f~1,831~1,833~1,835~1,837~1,839~1,83b~1,83d~1,83f~1,841~1,843~1,845~1,847~1,849~1,84b~1,84d~1,84f~1,851~1,853~1,855~1,857~1,859~1,85b~1,85d~1,85f~1,861~1,863~1,865~1,867~1,869~1,86b~1,86d~1,86f~1,871~1,873~1,875~1,877~1,879~1,87b~1,87d~1,87f~1,881~1,883~1,885~1,887~1,889~1,88b~1,88d~1,88f~1,891~1,893~1,895~1,897~1,899~1,89b~1,89d~1,89f~1,8a1~1,8a3~1,8a5~1,8a7~1,8a9~1,8ab~1,8ad~1,8af~1,8b1~1,8b3~1,8b5~1,8b7~1,8b9~1,8bb~1,8bd~1,8bf~1,8c1~1,8c3~1,8c5~1,8c7~1,8c9~1,8cb~1,8cd~1,8cf~1,8d1~1,8d3~1,8d5~1,8d7~1,8d9~1,8db~1,8dd~1,8df~1,8e1~1,8e3~1,8e5~1,8e7~1,8e9~1,8eb~1,8ed~1,8ef~1,8f1~1,8f3~1,8f5~1,8f7~1,8f9~1,8fb~1,8fd~1,8ff~1,901~1,903~1,905~1,907~1,909~1,90b~1,90d~1,90f~1,911~1,913~1,915~1,917~1,919~1,91b~1,91d~1,91f~1,921~1]


 

_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux