Hacker News new | ask | show | jobs
by dsr_ 1181 days ago
There's no point in defragging an SSD unless the low-level controller is doing it; the controller is always presenting a false picture of the mapping between data addresses and physical location of pages.

There's no good ZFS defragging tool, although the initial send to a new pool will accomplish that. This is just a thing for COW-style filesystems.

1 comments

> This is just a thing for COW-style filesystems.

It doesn't have to be.

ZFS in particular has an architecture that's very hostile to ever moving things.

BTRFS has a design that's amenable to defragmentation, but the builtin option doesn't work with snapshots and the external programs I've tried are partial and finnicky.