Re: Clearing Incomplete Clones State

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

 



Hi,

Additional information. It seem that snapshot state is wrong. Any idea on my case? How to manually edit pool flags for removing "incomplete_clones" flag?

[root@management-b ~]# rados -p rbd ls
rbd_directory
[root@management-b ~]# rados -p rbd_cache ls
rbd_directory
[root@management-b ~]# rados -p rbd lssnap
0 snaps
[root@management-b ~]# rados -p rbd_cache lssnap
0 snaps

Best regards,

On Tue, Jun 14, 2016 at 4:55 AM, Lazuardi Nasution <mrxlazuardin@xxxxxxxxx> wrote:
Hi,

I have removed cache tiering due to "missing hit_sets" warning. After removing, I want to try to add tiering again with the same cache pool and storage pool, but I can't even the cache pool is empty or forced to clear. Following is some output. How can I deal with this? Is it possible to clear "incomplete_clones" and "snapshot state"? How to avoid "missing hit_sets" warning to appear again?

[root@management-b ~]# ceph osd tier add rbd rbd_cache
Error ENOTEMPTY: tier pool 'rbd_cache' is not empty; --force-nonempty to force
[root@management-b ~]# ceph osd tier add rbd rbd_cache --force-nonempty
Error ENOTEMPTY: tier pool 'rbd_cache' has snapshot state; it cannot be added as a tier without breaking the pool
[root@management-b ~]# rados -p rbd_cache ls
rbd_directory
[root@management-b ~]# rados -p rbd lssnap
0 snaps
[root@management-b ~]# ceph osd dump | grep rbd_cache
pool 6 'rbd_cache' replicated size 3 min_size 1 crush_ruleset 1 object_hash rjenkins pg_num 128 pgp_num 128 last_change 8090 flags hashpspool,incomplete_clones stripe_width 0
[root@management-b ~]# ceph -v
ceph version 9.2.1 (752b6a3020c3de74e07d2a8b4c5e48dab5a6b6fd)
[root@management-b ~]#

Best regards,

_______________________________________________
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