Page 1 of 1
ZFS fragmentaion
Posted: 27 Dec 2015 13:45
by sb00nk
Hi all, i used to think there isn't a way to defrag my ZFS pool but today i notice this
Cattura.PNG
the frag field means the percentage of fragmentation on the pool? it can be defragged? if yes, how?

Re: ZFS fragmentaion
Posted: 27 Dec 2015 15:58
by slaycock
What evidence do you have that 'fragmentation' is causing you problems?
Re: ZFS fragmentaion
Posted: 27 Dec 2015 16:50
by JoseMR
I haven't noticed any issue so far on my NAS fortunately, but my ZFS pools Frag looks worse than yours.
ZFS_FRAG.PNG
The sad part is that I recently redone my "storage" pool(shared storage) and restored from backups, and after adding data this past few months, frag reached 32%.
Even worse, the pool "system" was created few days ago(system data partition), and frag reached 5% in just few days, with only 2% of data.

Re: ZFS fragmentaion
Posted: 28 Dec 2015 14:51
by dnar
Always going to happen on a copy on write fs. Does it cause issues on zfs? Not unless your capacity is near 80%.
Re: ZFS fragmentaion
Posted: 28 Dec 2015 15:58
by raulfg3
Re: ZFS fragmentaion
Posted: 05 Jan 2016 22:43
by sb00nk
thanks to you all for your replies but i'm not experiencing any problem. My primary question was "there is a way to defrag my pool?"