zpool fragmentation

Kent Kuriyama kent.kuriyama at gmail.com
Tue Jan 2 20:17:00 UTC 2018


This article explains the meaning of that column.

https://utcc.utoronto.ca/~cks/space/blog/solaris/ZFSZpoolFragmentationMeaning

On Tue, Jan 2, 2018 at 9:52 AM, Adam Vande More <amvandemore at gmail.com>
wrote:

> 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
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> unsubscribe at freebsd.org"
>



-- 
Kent, kent.kuriyama at gmail.com


More information about the freebsd-questions mailing list