Open
Description
Describe the feature would like to see added to OpenZFS
I'd really love a tool to locate any narrow stripes and rewrite them at the new stripe width after expansion has completed.
How will this feature improve OpenZFS?
RAIDZ expansion works by reordering the data on the drives; where existing data retains its original stripe width.
After expansion is complete, it may be desirable to reclaim disk space by rewriting old stripes at the new full stripe width.
There is no user-driven process to identify data written with the old stripe width and atomically rewrite the data with the new strip width. Work-arounds require copying data around the filesystem, they're not atomic, they also affect the file metadata/timestamps, etc.