User Tools

Site Tools


computing:storage:zfs_defrag

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
computing:storage:zfs_defrag [2017/05/05 09:06]
gcooper created
computing:storage:zfs_defrag [2017/05/06 13:10] (current)
gcooper
Line 1: Line 1:
 ====== ZFS Filesystem Fragmentation ====== ====== ZFS Filesystem Fragmentation ======
  
-ZFS does not have a huge problem with fragmentation.  However, over time and especially +ZFS does not have a huge problem with fragmentation.  However, over time and especially when the ZFS filesystem gets over 70% full, fragmentation occurs. 
 + 
 +:!: The ''FRAG'' column of a ''zpool list'' command shows how fragmented the **free space** is. 
 + 
 +  * https://utcc.utoronto.ca/~cks/space/blog/solaris/ZFSZpoolFragmentationMeaning 
 + 
 +:!: There is no 'defragging tool' for ZFS. 
 + 
 +The easiest and most sure way to defragment a ZFS pool is to use ''zfs send'' and ''zfs recv'' to copy the data out of the fragmented pool and into a new, unfragmented pool.  This is not unlike other filesystems. 
 + 
 +https://pthree.org/2012/12/20/zfs-administration-part-xiii-sending-and-receiving-filesystems/ 
 + 
 +http://docs.oracle.com/cd/E19253-01/819-5461/gbchx/index.html 
 + 
 +http://docs.oracle.com/cd/E19253-01/819-5461/gbinw/
computing/storage/zfs_defrag.1493996779.txt.gz · Last modified: 2017/05/05 09:06 by gcooper