zfs-inplace-rebalancing
zfs-inplace-rebalancing copied to clipboard
not working on xigmanas (FreeBsd)
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 calc the percentage.
just replace line 72: progress_percent=$(perl -e "printf('%0.2f', ${current_index}*100/${file_count})") with progress_percent=$((${current_index}*100/${file_count}))