Skip to content

Filesystem requirements

jack edited this page Dec 9, 2023 · 2 revisions

Filesystem requirements

To be processed by duperemove, the filesystem must support the FIDEDUPERANGE and the FS_IOC_FIEMAP ioctls.

The later is used to figure out how the file is layed on disk, while the former instruct the kernel which portions of files should be deduplicated.

The following filesystems are known to work:

  • XFS, if the filesystem was created with the reflink option. This is the default since mid-2019. Use xfs_info to check.
  • btrfs, since forever.