Re: how to trigger offline filestore merge

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

 



Hi again,

Thanks to a hint from another user I seem to have gotten past this.

The trick was to restart the osds with a positive merge threshold (10)
then cycle through rados bench several hundred times, e.g.

   while true ; do rados bench -p default.rgw.buckets.index 10 write
-b 4096 -t 128; sleep 5 ; done

After running that for awhile the PG filestore structure has merged
down and now listing the pool and backfilling are back to normal.

Thanks!

Dan


On Tue, Apr 9, 2019 at 7:05 PM Dan van der Ster <dan@xxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> We have a slight issue while trying to migrate a pool from filestore
> to bluestore.
>
> This pool used to have 20 million objects in filestore -- it now has
> 50,000. During its life, the filestore pgs were internally split
> several times, but never merged. Now the pg _head dirs have mostly
> empty directories.
> This creates some problems:
>
>   1. rados ls -p <pool> hangs a long time, eventually triggering slow
> requests while the filestore_op threads time out. (They time out while
> listing the collections).
>   2. backfilling from these PGs is impossible, similarly because
> listing the objects to backfill eventually leads to the osd flapping.
>
> So I want to merge the filestore pgs.
>
> I tried ceph-objectstore-tool --op apply-layout-settings, but it seems
> that this only splits, not merges?
>
> Does someone have a better idea?
>
> Thanks!
>
> Dan
_______________________________________________
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