Re: "Compacting" btrfs file storage

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

 



On Thu, Apr 23, 2015 at 1:25 AM, Burkhard Linke
<Burkhard.Linke@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Hi,
>
> I've noticed that the btrfs file storage is performing some
> cleanup/compacting operations during OSD startup.
>
> Before OSD start:
> /dev/sdc1              2.8T  2.4T  390G  87% /var/lib/ceph/osd/ceph-58
>
> After OSD start:
> /dev/sdc1              2.8T  2.2T  629G  78% /var/lib/ceph/osd/ceph-58
>
> OSDs are configured with firefly default settings.
>
> This "compacting" of the underlying storage happens during the PG loading
> phase of the OSD start.
>
> Is it possible to trigger this compacting without restarting the OSD?

This looks to me less like btrfs and more like the OSD
"compact_on_mount" style options. Those default to false right now,
but maybe it's set to true in your version — you should explore the
archives for threads about that. I'm not sure if there's a way to do
it online, but at a quick grep it looks to me like there isn't.
-Greg
_______________________________________________
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