zfs-inplace-rebalancing
zfs-inplace-rebalancing copied to clipboard
Simple bash script to rebalance pool data between all mirrors when adding vdevs to a pool.
TL;DR: What I need is to be able to tell the script to rebalance a directory, but stop after X number of files or, better yet, stop after Y number...
If I try to execute this script in a standard GUI root shell, it fails with the following erorr: `/root/zfs-inplace-rebalancing.sh: 28: Syntax error: "(" unexpected` Is this expected? What can...
lsattr and perl is not installed on xigmanas platfform. lsattr can be installed on xigmanas (login via ssh) by: pkg install e2fsprogs perl is only used in teh script to...
## Preface Rebalancing is a lengthy process and thus ensuring it can be resumed is rather important. Currently, the code implements a simple database-like textual file. When script is interrupted...
Perl is an unnecessary dependency, the same can be achieved using bash built-in.
Start rebalancing Mon Jul 1 01:48:22 PM MDT 2024: Copying 'blah' to 'blah.balance'... Comparing copy against original... MD5 FAILED: ---------------------- -rw-rwxr--+ user media 5f7973ff9e4152827994d4149d8af39d != ---------------------- -rw-rwxr--+ user user 5f7973ff9e4152827994d4149d8af39d...
Hi all, I would like to discuss, and expand my knowledge, about potentially enhancing the script to handle hardlinks, rather than simply ignoring them. In #22 [johnpyp](https://github.com/johnpyp) mentions _"(data) can't...
Hi just wondering if I made a little pull request that made the script run on freebsd (maybe also a bit in the read me about the dependencies for freebsd)...