Skip to content

Commit

Permalink
added note about bc and root
Browse files Browse the repository at this point in the history
  • Loading branch information
markusressel authored Jan 6, 2021
1 parent 7e44bd4 commit a20e73a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!**
Expand All @@ -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
```

Expand Down

0 comments on commit a20e73a

Please sign in to comment.