On Thu, Jul 7, 2016 at 1:07 AM, 秀才 <hualingson@xxxxxxxxxxx> wrote: > Hi,All:) > > i have made a cache-tier, > but i do not know message 'removed_snaps > [1~1,3~6,b~6,13~c,21~4,26~1,28~1a,4e~4,53~5,5c~5,63~1,65~4,6b~4]'. > i have not snapped any thing yet. When you take snapshots, it generally creates a lot of tracking data throughout the cluster that needs to get deleted. When you remove a snapshot, that is propagated by the OSDMap via removed_snaps. removed_snaps is an "interval set", not a simple list/array/vector (to keep the size down), consisting of an offset and the number of deleted IDs following. A cache tier's removed_snaps has to match that of its backing pool, for a whole bunch of consistency reasons. And you'll note that here it does. ;) -Greg > > > ceph> osd pool ls detail > pool 0 'rbd' replicated size 3 min_size 1 crush_ruleset 0 object_hash > rjenkins pg_num 64 pgp_num 64 last_change 1 flags hashpspool stripe_width 0 > pool 1 'volumes' replicated size 3 min_size 1 crush_ruleset 0 object_hash > rjenkins pg_num 512 pgp_num 512 last_change 11365 lfor 11365 flags > hashpspool tiers 3 read_tier 3 write_tier 3 stripe_width 0 > removed_snaps > [1~1,3~6,b~6,13~c,21~4,26~1,28~1a,4e~4,53~5,5c~5,63~1,65~4,6b~4] > pool 2 'test' replicated size 3 min_size 1 crush_ruleset 0 object_hash > rjenkins pg_num 100 pgp_num 100 last_change 2779 flags hashpspool > stripe_width 0 > pool 3 'fast' replicated size 2 min_size 1 crush_ruleset 1 object_hash > rjenkins pg_num 128 pgp_num 128 last_change 11376 flags > hashpspool,incomplete_clones tier_of 1 cache_mode writeback target_bytes > 150000000000 hit_set bloom{false_positive_probability: 0.05, target_size: 0, > seed: 0} 3600s x1 min_read_recency_for_promote 1 stripe_width 0 > removed_snaps > [1~1,3~6,b~6,13~c,21~4,26~1,28~1a,4e~4,53~5,5c~5,63~1,65~4,6b~4] > > Regards, > XiuCai. > > _______________________________________________ > 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