From a20e73ad1c6b3efbd72e9208aed13550a1de04a8 Mon Sep 17 00:00:00 2001 From: Markus Ressel Date: Wed, 6 Jan 2021 21:11:25 +0100 Subject: [PATCH] added note about bc and root --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 59720f9..c7f9c50 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,9 @@ curl -O https://raw.githubusercontent.com/markusressel/zfs-inplace-rebalancing/m chmod +x ./zfs-inplace-rebalancing.sh ``` +Dependencies: +* `pacman -S bc` - used for percentage calculation + ## Usage **ALWAYS HAVE A BACKUP OF YOUR DATA!** @@ -92,7 +95,11 @@ You can print a help message by running the script without any parameters: ### Example +Make sure to run this script with a user that has rw permission to all of the files in the target directory. +The easiest way to achieve this is by **running the script as root**. + ``` +sudo su ./zfs-inplace-rebalancing.sh --checksum true --passes 1 /pool/path/to/rebalance ```