mirror of
https://github.com/markusressel/zfs-inplace-rebalancing
synced 2026-02-04 21:14:09 +00:00
Update README with note about "zfs rewrite" command
Added important notes about ZFS 2.3.3 and the `zfs rewrite` command.
This commit is contained in:
parent
b788358600
commit
d472f48845
@ -1,6 +1,12 @@
|
||||
# zfs-inplace-rebalancing
|
||||
Simple bash script to rebalance pool data between all mirrors when adding vdevs to a pool.
|
||||
|
||||
> [!IMPORTANT]
|
||||
> ZFS 2.3.3 introduced the `zfs rewrite` command, which is meant to address this very issue as well, but avoids most of the caveats the script in this repository has. Definitely check it out first before trying to make this script work for you.
|
||||
>
|
||||
> PR: https://github.com/openzfs/zfs/pull/17246
|
||||
> Docs: https://openzfs.github.io/openzfs-docs/man/master/8/zfs-rewrite.8.html
|
||||
|
||||
[](https://asciinema.org/a/350222)
|
||||
|
||||
## How it works
|
||||
@ -93,7 +99,8 @@ Dependencies:
|
||||
|
||||
## Usage
|
||||
|
||||
**ALWAYS HAVE A BACKUP OF YOUR DATA!**
|
||||
> [!CAUTION]
|
||||
> **ALWAYS HAVE A BACKUP OF YOUR DATA!**
|
||||
|
||||
You can print a help message by running the script without any parameters:
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user