Skip to content

Rewrite narrow stripes after RAIDZ expansion #15679

Open
@TurkeyMan

Description

@TurkeyMan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: FeatureFeature request or new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions