zpool fragmentation
Adam Vande More
amvandemore at gmail.com
Tue Jan 2 19:52:56 UTC 2018
On Tue, Jan 2, 2018 at 12:40 PM, pete wright <nomadlogic at gmail.com> wrote:
> Hi there,
> I was wondering how others here on the list deal with zpool
> fragmentation. My general purpose laptop uses zroot, and I've noticed
> over time fragmentation of my pool has grown to %42:
>
> $ zpool list
> NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
> zroot 230G 87.3G 143G - 42% 37% 1.00x ONLINE -
> $
>
> I guess I have two questions:
> 1) is fragmentation generally bad, or just a fact of life for a system
> with lots of churn?
>
Yes but impact also depends on pool config.
> 2) if it is bad, are there any coping mechanisms people use to reduce
> fragmentation?
>
Keep lots of free space.
--
Adam
More information about the freebsd-questions
mailing list