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

Both sides previous revision Previous revision
Next revision
Previous revision
computing:storage:zfs_defrag [2017/05/06 13:07]
gcooper
computing:storage:zfs_defrag [2017/05/06 13:10] (current)
gcooper
Line 3: Line 3:
 ZFS does not have a huge problem with fragmentation.  However, over time and especially when the ZFS filesystem gets over 70% full, fragmentation occurs. 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.+:!: The ''FRAG'' column of a ''zpool list'' command shows how fragmented the **free space** is.
  
-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.+  * 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/ https://pthree.org/2012/12/20/zfs-administration-part-xiii-sending-and-receiving-filesystems/
computing/storage/zfs_defrag.1494097661.txt.gz · Last modified: 2017/05/06 13:07 by gcooper